joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41424e
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.00412ad4
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41428b
call fcn.00413eb2
mov dword [esi + 0xc], 1
jmp 0x414290
call fcn.00413eb2
cmp dword [esi], 0
je 0x4142d9
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
test eax, eax
jle 0x4142b1
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00404610
jmp 0x4142c3
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401430
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004045c0
jmp 0x4142fd
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x4142fd
push dword [esi]
push dword [ebp + 8]
call fcn.00418b88
pop esi
pop ebp
ret 0xc
Function at 0x453e47
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.004dadec
call fcn.00413860
cmp dword [eax + 0x14], 0
jne 0x453e64
mov ecx, esi
pop esi
jmp fcn.0045394c
pop esi
ret

Function at 0x4573fa
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00425937
call fcn.00413860
cmp dword [eax + 0x14], 0
jne 0x457417
mov ecx, esi
pop esi
jmp fcn.00456dcd
pop esi
ret

Function at 0x4913db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4913f5
call fcn.00413e2f
mov esi, dword [eax + 0xc]
push dword [0x57e27c]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x491413
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x49140b
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x491440
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x49140d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00491309
mov esi, eax
jmp 0x491432

Function at 0x4e4687
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x4e469f
mov edi, dword [esi + 0xc]
jmp 0x4e46df
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4e46b8
call fcn.0041464d
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4e46cd
call fcn.0041464d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4e46df
call fcn.0041464d
call fcn.00413e2f
cmp dword [eax + 0x3c], 0
je 0x4e46f4
push edi
mov ecx, ebx
call fcn.004e34c3
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004e45a1
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x4e4712
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4e471e
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x50358b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x578ad4]
jne 0x503595
repz ret
jmp fcn.0050a954
Function at 0x518989
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x578ad4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0050b845
and dword [ebp - 0x14], 0
cmp dword [0x58080c], 0
mov dword [ebp - 0x18], eax
jne 0x518a3c
push 0x5344f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x518ae4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x518ae4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x555fc0
push ebx
mov dword [0x58080c], eax
call edi
push eax
call esi
push 0x555fac
push ebx
mov dword [0x580810], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x580814], eax
call edi
push eax
call esi
mov dword [0x58081c], eax
test eax, eax
je 0x518a3c
push 0x555f78
push ebx
call edi
push eax
call esi
mov dword [0x580818], eax
mov eax, dword [0x580818]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x518a95
cmp dword [0x58081c], ecx
je 0x518a95
push eax
call esi
push dword [0x58081c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x518a95
test ebx, ebx
je 0x518a95
call edi
test eax, eax
je 0x518a8c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x518a8c
test byte [ebp - 8], 1
jne 0x518a95
or dword [ebp + 0x10], 0x200000
jmp 0x518ac8
mov eax, dword [0x580810]
cmp eax, dword [ebp - 0x18]
je 0x518ac8
push eax
call esi
test eax, eax
je 0x518ac8
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x518ac8
mov eax, dword [0x580814]
cmp eax, dword [ebp - 0x18]
je 0x518ac8
push eax
call esi
test eax, eax
je 0x518ac8
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x58080c]
call esi
test eax, eax
je 0x518ae4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x518ae6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050358b
leave
ret
Function at 0x4044ca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4044d9
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004041eb
js 0x404583
popal
fisttp qword [ebp - 0x17af3fbb]
invalid
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004041fb
push eax
push esi
push dword [ebp + 8]
call fcn.004041b0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004041fb
push eax
push esi
push dword [ebp + 8]
call fcn.004041b0
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004041fb
push eax
push esi
push dword [ebp + 8]
call fcn.004041b0
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004041eb
das
pop ebx
adc byte [ebp - 0x836278], ah
invalid
Function at 0x4063a2
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
or al, 0x8b
jo 0x4063c2
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x4063af
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.004041eb
das
invalid
push esp
pop es
js 0x4063c9
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.004041eb
inc ebp

Function at 0x4063d5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
and byte [ebx], al
fucompi st(0)
pop ss
fdivp st(7)
inc dword [ebp - 0x2a]
salc
salc
jnp 0x4063cc
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4063d8
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x4063d8
call fcn.004041eb
cmp ah, bl
jbe 0x40645f
mov ebx, dword [edx + 0x24]
add ebx, edi
mov cx, word [ebx + ecx*2]
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.004041eb
xor cl, al
pop ebx
cmp edi, 0x75ff0875
add al, 0xff
jne 0x406420
call fcn.004049eb
clc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and word [esi + 0x7fe], 0
test edi, edi
pop edi
jne 0x406445
cmp dword [ebp + 0xc], 1
je 0x406449
cmp dword [ebp + 0xc], 2
je 0x406449
and word [esi], 0
pop esi
leave
ret 0x14
inc eax
add byte [ebx + 0x8c20cc4], al
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
push esi
cmp word [ecx], 0x2d
push 0xa
pop eax
mov dword [ebp - 8], 1
push 0x39
pop ebx
jne 0x40648e
inc ecx
inc ecx
or dword [ebp - 8], 0xffffffff
cmp word [ecx], 0x30
jne 0x4064bb
inc ecx
inc ecx
mov dx, word [ecx]
cmp dx, 0x30
jb 0x4064ab
cmp dx, 0x37
ja 0x4064ab
push 8
pop eax
push 0x37
pop ebx
movzx edx, dx
and edx, 0xffffffdf
cmp edx, 0x58
jne 0x4064bb
push 0x10
inc ecx
pop eax
inc ecx
movzx edx, word [ecx]
inc ecx
inc ecx
cmp edx, 0x30
jl 0x4064d1
movzx esi, bx
cmp edx, esi
jg 0x4064d1
sub edx, 0x30
jmp 0x4064ec
cmp ax, 0x10
jne 0x4064fa
mov esi, edx
and esi, 0xffffffdf
cmp esi, 0x41
jl 0x4064fa
cmp esi, 0x46
jg 0x4064fa
and edx, 7
add edx, 9
movzx esi, ax
imul esi, dword [ebp - 4]
add esi, edx
mov dword [ebp - 4], esi
jmp 0x4064bb
mov eax, dword [ebp - 8]
pop esi
imul eax, dword [ebp - 4]
pop ebx
leave
ret 4
Function at 0x417e10
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
sub esp, 0x24
push ebx
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, 0x190
mov ebx, eax
mov edi, esi
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorer
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x417f1a
push ebp
lea ecx, [esp + 0x2c]
mov ebp, 4
push ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x30], 8
mov dword [esp + 0x34], ebp
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
lea edx, [esp + 0x28]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [esp + 0x24], eax
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.Browse_For_Folder_Width
push eax
call ebx
test eax, eax
jne 0x417eb9
mov edi, dword [esp + 0x1c]
xor esi, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.Browse_For_Folder_Height
push ecx
call ebx
test eax, eax
pop ebp
jne 0x417ef5
or esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x417f0f
mov edx, dword [0x4caaec]
push 0x4ca7dc
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x24
ret

Function at 0x422548
Capabilities:
Encode data using xor

Disassembly:
popal
and cl, dh
and edx, edx
out 0x7f, eax
or ch, bh
adc eax, 0x563da592
cmp al, 0xb1
and esi, esp
pop edi
js 0x42257e
mov al, byte [0x35716531]
shr byte [ecx + 0x7f], 1
add dword [edi], eax
test dword [bx + di + 0x5ccc], 0x6af5b4a8
pop edi
movsb byte es:[edi], byte [esi]
cmp esp, esp
mov eax, dword [0x42eedeab]
imul esi, dword [eax + 0x56], 0xc43d47f2
push 0x349f66ae
outsd dx, dword [esi]
cmp eax, 0x66ae68c4
lahf
xor al, 0x6f
mov ebx, 0x4343132
insd dword es:[edi], dx
call 0x3042c5c4
daa
xor byte [edi], ah
push eax
popal
movsd dword es:[edi], dword [esi]
popal
das
idiv dword fs:[esi]
jns 0x422590
cmc
movsb byte es:[edi], byte [esi]
xor esp, esp
insb byte es:[edi], dx
imul edx, dword [edx + 0x58746758], 0xffffffe2
aad 0x2f
pop ebp
or dh, byte [edx + 0x46]
inc ecx
test dword [eax - 0x52], ebx
int1
aas
imul ebx, dword [0x724b9002], 0x20
dec ebx
jb 0x4225dc
ud2
Function at 0x4bc405
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c73a0
cmp edx, dword [eax]
je 0x4bc427
add eax, 8
inc ecx
cmp eax, 0x4c7430
jl 0x4bc418
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c73a0]
jne 0x4bc555
mov eax, dword [0x4cbd30]
cmp eax, 1
je 0x4bc52f
test eax, eax
jne 0x4bc458
cmp dword [0x4c72cc], 1
je 0x4bc52f
cmp edx, 0xfc
je 0x4bc555
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bc48f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bcdf0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd280
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bc4d2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd280
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c20ec
push edi
call fcn.004bf150
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bcdf0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bce00
lea eax, [ebp - 0xa0]
push 0x4c20cc
push eax
call fcn.004bce00
push dword [esi + 0x4c73a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bce00
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bf0c4
add esp, 0x2c
pop edi
jmp 0x4bc555
lea eax, [ebp + 8]
lea esi, [esi + 0x4c73a4]
push 0
push eax
push dword [esi]
call fcn.004bd280
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401a38
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
xor ecx, ecx
test eax, eax
jle 0x401a53
xor byte [ecx + esi], 0x1b
inc ecx
cmp ecx, eax
jl 0x401a4a
pop esi
ret

Function at 0x401a55
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 9
xor eax, eax
pop edx
mov cl, byte [ebp + eax - 4]
dec eax
cmp cl, byte [ebp + eax - 0xf]
jne 0x401a6f
mov byte [ebp + eax - 0x17], cl
dec edx
jne 0x401a60
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jbe 0x401a87
mov eax, dword [ebp + 8]
add eax, ecx
xor byte [eax], 0x1b
inc ecx
cmp ecx, dword [ebp + 0xc]
jb 0x401a79
leave
ret
Function at 0x404411
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov esi, 0x41d988
push esi
call edi
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [0x41e8ec], eax
jne 0x404445
push esi
call ebx
test eax, eax
mov dword [0x41e8ec], eax
je 0x404555
mov esi, 0x41d9b4
push esi
call edi
xor edi, edi
cmp eax, edi
mov dword [0x41e8f4], eax
jne 0x404468
push esi
call ebx
cmp eax, edi
mov dword [0x41e8f4], eax
je 0x404555
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x41d9e0
push dword [0x41e8ec]
call esi
push 0x41da28
push dword [0x41e8f4]
mov dword [0x41e8e8], eax
call esi
cmp dword [0x41e8e8], edi
mov dword [0x41e8f8], eax
je 0x40453f
cmp eax, edi
je 0x40453f
mov dword [0x41e8e4], edi
mov dword [0x41e8f0], edi
call fcn.00403963
call fcn.00403d7c
call fcn.0040431e
call fcn.00403a3e
push dword [0x41e8ec]
mov esi, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
call esi
push dword [0x41e8f4]
call esi
lea eax, [ebp - 4]
push eax
call fcn.0040347a
mov edi, eax
test edi, edi
pop ecx
je 0x404538
push dword [ebp - 4]
push edi
call fcn.00401a55
push 0x4050ac
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x404530
mov esi, dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
push 1
lea eax, [ebp - 4]
push 4
push eax
call esi
push ebx
push dword [ebp - 4]
push 1
push edi
call esi
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x24
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
call fcn.004033b9
jmp 0x404555
push dword [0x41e8ec]
mov esi, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
call esi
push dword [0x41e8f4]
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40455a
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
push 0x4050ac
push dword [esp + 0x10]
xor edi, edi
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40459c
push esi
push dword [esp + 0x18]
push 1
push dword [esp + 0x1c]
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
cmp eax, dword [esp + 0x14]
jne 0x404592
xor edi, edi
inc edi
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
mov eax, edi
pop edi
pop esi
ret
Function at 0x401840
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00401770
push 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x24], 0x775c3a63
push ecx
lea eax, [esi + 0x10]
mov dword [ebp - 0x15], 0x32336d65
push eax
lea eax, [esi + 4]
mov dword [ebp - 0xf], 0x652e646d
push eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x1a], 0x7379735c
mov dword [ebp - 0x1f], 0x776f646e
mov word [ebp - 0xb], 0x6578
mov word [ebp - 0x11], 0x635c
mov byte [ebp - 0x20], 0x69
mov byte [ebp - 9], 0
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 0x1b], 0x73
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 1
call eax
test eax, eax
jne 0x4018cc
mov dword [ebp - 8], 0x92
jmp 0x4019a4
push 0
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0xc
push eax
lea eax, [esi + 8]
mov dword [ebp - 0x38], 0
push eax
mov eax, dword [edi + 0x2c]
lea ebx, [esi + 0xc]
push ebx
mov dword [ebp - 0x34], 1
call eax
test eax, eax
jne 0x401904
mov dword [ebp - 8], 0x9b
jmp 0x4019a4
lea eax, [ebp - 0x94]
push 0x44
push eax
call fcn.0040302f
xor eax, eax
mov dword [ebp - 0x94], 0x44
mov word [ebp - 0x64], ax
mov eax, dword [ebx]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x4c]
push 0x10
push eax
mov dword [ebp - 0x68], 0x101
call fcn.0040302f
add esp, 0x10
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp + 8]
test eax, eax
push 0
push 0
push 0
push 1
push 0
push 0
cmovne ecx, eax
mov eax, dword [edi + 0x30]
push 0
push ecx
call eax
test eax, eax
jne 0x40197c
mov dword [ebp - 8], 0xb5
jmp 0x4019a4
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x44]
push 8
push edi
mov dword [esi + 0x24], eax
call fcn.004030c0
add esp, 8
test eax, eax
jne 0x4019cd
mov dword [ebp - 8], 0xc3
push 2
lea eax, [ebp - 8]
mov edx, 6
push eax
movzx eax, byte [esi]
mov ecx, edi
push eax
call fcn.00402280
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.00401770
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push eax
mov dword [eax], edi
mov dword [eax + 4], esi
push 0x4015f0
mov dword [esi + 0x14], 1
call fcn.00403120
add esp, 4
push eax
mov eax, dword [edi + 0x20]
push 0
push 0
call eax
mov dword [esi + 0x18], eax
test eax, eax
jne 0x401a02
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401ab0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
push ebx
push esi
push edi
xor edi, edi
mov word [ebp - 0x1f], 0x7365
push edi
push 0x80
push 3
push edi
push 1
mov esi, ecx
mov dword [ebp - 0x2f], 0x73755c3a
push 0x80000000
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], 0x696e69
push eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x2b], 0x5c737265
mov word [ebp - 0x27], 0x7570
mov dword [ebp - 0x18], 0x2e6e6f69
mov dword [ebp - 0x24], 0x5c63696c
mov dword [ebp - 0x1d], 0x70697263
mov byte [ebp - 0x25], 0x62
mov byte [ebp - 0x30], 0x63
mov byte [ebp - 0x20], 0x64
mov byte [ebp - 0x19], 0x74
call eax
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401b58
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0xd4]
push 0x10
push ecx
push ebx
call eax
test eax, eax
je 0x401b4a
cmp dword [ebp - 4], 0x10
mov eax, 1
cmove edi, eax
mov eax, dword [esi + 0x1c]
push ebx
call eax
test edi, edi
jne 0x401be4
mov eax, dword [esi + 0xb8]
lea ebx, [esi + 0xd4]
push ebx
call eax
test eax, eax
je 0x401ba4
xor edi, edi
nop dword [eax]
imul edx, dword [esi + 0x604], 0x343fd
add edx, 0x269ec3
imul ecx, edx, 0x343fd
movsx eax, dl
add ecx, 0x269ec3
mov dword [esi + 0x604], ecx
movsx ecx, cl
imul ecx, eax
mov byte [edi + ebx], cl
inc edi
cmp edi, 0x10
jb 0x401b70
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0x44]
call eax
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
lea eax, [ebp - 0x30]
push eax
mov eax, dword [esi + 0x40]
call eax
mov edi, eax
cmp edi, 0xffffffff
je 0x401be4
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x3c]
push 0x10
push ebx
push edi
call eax
mov eax, dword [esi + 0x1c]
push edi
call eax
lea eax, [ebp - 0x10]
mov word [ebp - 0x10], 0x7962
push eax
mov eax, dword [esi + 0x64]
push 0
push 0
push 0
mov dword [ebp - 0xd], 0x756f4365
mov byte [ebp - 0xe], 0x74
mov word [ebp - 8], 0x74
mov byte [ebp - 9], 0x6e
call eax
mov edi, eax
test edi, edi
je 0x401c26
mov eax, dword [esi + 0x60]
call eax
cmp eax, 0xb7
jne 0x401c2f
mov eax, dword [esi + 0x1c]
push edi
call eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x1c0]
push eax
mov eax, dword [esi + 0x84]
push 0x202
call eax
lea eax, [esi + 0xe4]
mov dword [esi + 0x4f8], eax
mov dword [esi + 0x6c8], eax
mov eax, dword [esi + 0x50]
call eax
imul eax, eax, 0x2c31
lea edi, [esi + 0x500]
mov dword [ebp - 4], 0x1ff
mov dword [esi + 0x604], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [esi + 0x10]
push edi
call eax
test eax, eax
jne 0x401c86
mov word [edi], 0x3f
mov ecx, dword [esi + 0x4c]
push edi
call ecx
lea ecx, [esi + 0x6cc]
mov dword [esi + 0x6e4], 0xffffffff
inc eax
push ecx
mov ecx, dword [esi + 0x54]
mov dword [esi + 0x600], eax
call ecx
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret