joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40dde0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x66890
call fcn.004220a0
mov eax, dword [0x44ac68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push 0x38
xor ebx, ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.00420a60
add esp, 0xc
lea ecx, [ebp - 0x66880]
push ecx
lea edx, [ebp - 0x6687c]
push edx
mov dword [ebp - 0x66880], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40deed
mov eax, dword [ebp - 0x66880]
push edi
push eax
lea ecx, [ebp - 0x66890]
mov dword [ebp - 0x66890], ebx
mov dword [ebp - 0x6688c], ebx
mov dword [ebp - 0x66888], ebx
call fcn.00407250
mov edi, dword [ebp - 0x66890]
lea ecx, [ebp - 0x66880]
push ecx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x40dedf
mov eax, edi
cmp edi, ebx
je 0x40deec
mov ecx, dword [ebp + 0xc]
lea edx, [ebx + 6]
cmp ecx, dword [eax + 0x19c]
je 0x40de84
cmp ecx, 0xffffffff
jne 0x40de94
cmp dword [eax + 0x190], edx
jne 0x40de94
cmp dword [eax + 0x1a0], edx
je 0x40de9c
mov eax, dword [eax]
cmp eax, ebx
jne 0x40de77
jmp 0x40dedf
movzx edx, byte [eax + 0x199]
movzx ecx, byte [eax + 0x198]
push edx
movzx edx, byte [eax + 0x197]
push ecx
movzx ecx, byte [eax + 0x196]
push edx
movzx edx, byte [eax + 0x195]
movzx eax, byte [eax + 0x194]
push ecx
push edx
push eax
push 0x43d804
lea ecx, [ebp - 0x3c]
push 0x1a
push ecx
call fcn.00422846
add esp, 0x24
cmp edi, ebx
je 0x40deec
push edi
call fcn.00420084
add esp, 4
pop edi
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
lea eax, [ebp - 0x3c]
mov word [esi], dx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40df02
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x3c]
push eax
mov ecx, esi
call fcn.004070a0
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042008f
mov esp, ebp
pop ebp
ret 8
Function at 0x4112e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x2c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
jne 0x411320
cmp dword [ebp + 0x24], 8
jb 0x411315
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00420084
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
movzx edx, word [ebp + 8]
push edi
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x411350
cmp dword [ebp + 0x24], 8
jb 0x411315
mov eax, dword [ebp + 0x10]
push eax
call fcn.00420084
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x411303
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x411389
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp + 0x10]
call fcn.00406950
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
xor ecx, ecx
mov esi, eax
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041fdfc
push esi
mov edi, eax
push 0
push edi
call fcn.00420a60
push esi
push ebx
push edi
call fcn.00420520
push 0x7a120
mov dword [ebp - 0xc], 0x7a120
call fcn.0041fdfc
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push ebx
call fcn.00420a60
push esi
push edi
lea ecx, [ebp - 0xc]
push ecx
push ebx
call fcn.00435e80
mov edx, dword [ebp - 8]
add esp, 0x3c
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call fcn.00420881
mov eax, dword [ebp + 0x10]
add esp, 4
cmp dword [ebp + 0x24], 8
jae 0x411409
lea eax, [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
push ecx
sub esp, 0x1c
mov ecx, esp
push eax
call fcn.004073a0
mov ecx, dword [ebp - 0x14]
push ebx
call fcn.00410bb0
push ebx
mov byte [ebp - 1], al
call fcn.00420881
add esp, 4
lea ecx, [ebp + 0x10]
call fcn.00406950
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
Function at 0x41a7a0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, ecx
lea ecx, [eax + 0x80]
mov dword [eax + 0xc0], ecx
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
ret

Function at 0x41a7e0
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
ret

Function at 0x41a9d0
Capabilities:
Check for outputdebugstring error
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
mov esi, eax
lea eax, [ebp + 0xc]
push eax
push ecx
push 0xfff
push 0x44c2c8
call fcn.0042436e
add esp, 0x10
push 0x44c2c8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop ebp
ret

Function at 0x41aa10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x80114
call fcn.004220a0
mov eax, dword [0x44ac68]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x80000
lea eax, [ebp - 0x80007]
push 0
push eax
mov dword [ebp - 0x80114], edi
mov byte [ebp - 0x80008], 0
call fcn.00420a60
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
add esp, 0xc
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
test esi, esi
je 0x41ab74
push ebx
lea ecx, [ebp - 0x80040]
push ecx
push esi
call fcn.00423c96
add esp, 8
test eax, eax
je 0x41aa8a
or ebx, 0xffffffff
mov dword [ebp - 0x80110], ebx
jmp 0x41aa9c
mov edx, dword [ebp - 0x80028]
mov ebx, dword [ebp - 0x80024]
mov dword [ebp - 0x80110], edx
push 0x43db90
push esi
call fcn.00422acb
add esp, 8
mov dword [ebp - 0x80108], eax
test eax, eax
je 0x41ab73
lea ecx, [ebp - 0x80104]
call fcn.0041a7a0
xor edi, edi
xor esi, esi
test ebx, ebx
jb 0x41ab3c
ja 0x41aae0
cmp dword [ebp - 0x80110], esi
jbe 0x41ab3c
jmp 0x41aae0
mov eax, dword [ebp - 0x80108]
push eax
push 0x80000
lea ecx, [ebp - 0x80008]
push 1
push ecx
call fcn.00421025
add esp, 0x10
test eax, eax
je 0x41ab2d
push eax
lea edx, [ebp - 0x80008]
push edx
lea ecx, [ebp - 0x80104]
call fcn.0041a590
add edi, 0x80000
adc esi, 0
cmp esi, ebx
jb 0x41aae0
ja 0x41ab3c
cmp edi, dword [ebp - 0x80110]
jb 0x41aae0
jmp 0x41ab3c
mov eax, dword [ebp - 0x80108]
push eax
call fcn.00420c61
add esp, 4
mov ecx, dword [ebp - 0x80108]
push ecx
call fcn.00420c61
add esp, 4
lea ecx, [ebp - 0x80104]
call fcn.0041a650
mov edx, dword [ebp - 0x80114]
push edx
lea ecx, [ebp - 0x80104]
call fcn.0041a760
lea ecx, [ebp - 0x80104]
call fcn.0041a7e0
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042008f
mov esp, ebp
pop ebp
ret
Function at 0x41ac10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x41ac1e
mov eax, dword [eax]
push str.a_ccsUTF_8
push eax
lea eax, [ebp + 8]
push eax
call fcn.00422ae2
add esp, 0xc
test eax, eax
je 0x41ac38
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x41ac46
mov eax, dword [eax]
mov edx, dword [ebp + 8]
push edx
push ecx
push 2
push eax
call fcn.004212d1
mov eax, dword [ebp + 8]
push eax
call fcn.00420c61
add esp, 0x14
mov eax, 1
pop ebp
ret

Function at 0x41acf0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x44ac68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x40]
mov ebx, 8
push edi
cmp dword [ebp + 0x54], ebx
jae 0x41ad16
lea esi, [ebp + 0x40]
mov edx, dword [ebp + 0x5c]
cmp dword [ebp + 0x70], ebx
jae 0x41ad21
lea edx, [ebp + 0x5c]
mov ecx, dword [ebp + 0x24]
cmp dword [ebp + 0x38], ebx
jae 0x41ad2c
lea ecx, [ebp + 0x24]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jae 0x41ad37
lea eax, [ebp + 8]
push esi
push pe_nt_image_headers32
lea esi, [ebp - 0x204]
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x41add7
cmp dword [ebp + 0x1c], ebx
jb 0x41ad66
mov eax, dword [ebp + 8]
push eax
call fcn.00420084
add esp, 4
xor esi, esi
xor ecx, ecx
mov edi, 7
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], esi
mov word [ebp + 8], cx
cmp dword [ebp + 0x38], ebx
jb 0x41ad8a
mov edx, dword [ebp + 0x24]
push edx
call fcn.00420084
add esp, 4
xor eax, eax
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x34], esi
mov word [ebp + 0x24], ax
cmp dword [ebp + 0x54], ebx
jb 0x41ada7
mov ecx, dword [ebp + 0x40]
push ecx
call fcn.00420084
add esp, 4
xor edx, edx
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x50], esi
mov word [ebp + 0x40], dx
cmp dword [ebp + 0x70], ebx
jb 0x41adc4
mov eax, dword [ebp + 0x5c]
push eax
call fcn.00420084
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042008f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x204]
push ecx
call fcn.00423a0b
add esp, 4
mov dword [ebp - 0x208], eax
cmp dword [ebp + 0x1c], ebx
jb 0x41adfd
mov edx, dword [ebp + 8]
push edx
call fcn.00420084
add esp, 4
xor esi, esi
xor eax, eax
mov edi, 7
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], esi
mov word [ebp + 8], ax
cmp dword [ebp + 0x38], ebx
jb 0x41ae21
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.00420084
add esp, 4
xor edx, edx
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x34], esi
mov word [ebp + 0x24], dx
cmp dword [ebp + 0x54], ebx
jb 0x41ae3e
mov eax, dword [ebp + 0x40]
push eax
call fcn.00420084
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x50], esi
mov word [ebp + 0x40], cx
cmp dword [ebp + 0x70], ebx
jb 0x41ae5b
mov edx, dword [ebp + 0x5c]
push edx
call fcn.00420084
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x208]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042008f
mov esp, ebp
pop ebp
ret
Function at 0x41b1b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x44ac68]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, 8
push edi
mov edi, dword [ebp + 0x44]
cmp dword [ebp + 0x58], eax
jae 0x41b1d9
lea edi, [ebp + 0x44]
mov edx, dword [ebp + 0x60]
cmp dword [ebp + 0x74], eax
jae 0x41b1e4
lea edx, [ebp + 0x60]
mov ecx, dword [ebp + 0x28]
cmp dword [ebp + 0x3c], eax
jae 0x41b1ef
lea ecx, [ebp + 0x28]
cmp dword [ebp + 0x20], eax
mov eax, dword [ebp + 0xc]
jae 0x41b1fa
lea eax, [ebp + 0xc]
push edi
push pe_nt_image_headers32
lea edi, [ebp - 0x204]
push edi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edi, edi
mov ebx, 7
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
test eax, eax
jne 0x41b22c
push edi
mov word [esi], ax
push 0x43d8cc
jmp 0x41b257
xor edx, edx
lea eax, [ebp - 0x204]
mov word [esi], dx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41b240
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x204]
push eax
mov ecx, esi
call fcn.004070a0
cmp dword [ebp + 0x20], 8
jb 0x41b270
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00420084
add esp, 4
xor edx, edx
cmp dword [ebp + 0x3c], 8
mov word [ebp + 0xc], dx
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], ebx
jb 0x41b28e
mov eax, dword [ebp + 0x28]
push eax
call fcn.00420084
add esp, 4
xor ecx, ecx
cmp dword [ebp + 0x58], 8
mov word [ebp + 0x28], cx
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x3c], ebx
jb 0x41b2ac
mov edx, dword [ebp + 0x44]
push edx
call fcn.00420084
add esp, 4
xor eax, eax
cmp dword [ebp + 0x74], 8
mov word [ebp + 0x44], ax
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x58], ebx
jb 0x41b2ca
mov ecx, dword [ebp + 0x60]
push ecx
call fcn.00420084
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042008f
mov esp, ebp
pop ebp
ret
Function at 0x41c830
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, 0x34567890
mov dword [ecx], 0x12345678
mov dword [ecx + 4], 0x23456789
mov dword [ecx + 8], edi
mov dl, byte [eax]
test dl, dl
je 0x41c8a0
push esi
mov esi, dword [ecx + 4]
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
and edx, 0xff
mov edx, dword [ebx + edx*4]
shr eax, 8
xor edx, eax
movzx eax, dl
add esi, eax
mov eax, dword [ebp + 8]
imul esi, esi, 0x8088405
mov dword [ecx], edx
inc esi
mov edx, esi
shr edx, 0x18
xor edx, edi
and edx, 0xff
shr edi, 8
mov dword [ecx + 4], esi
xor edi, dword [ebx + edx*4]
inc eax
mov dword [ecx + 8], edi
mov dl, byte [eax]
mov dword [ebp + 8], eax
test dl, dl
jne 0x41c856
pop esi
pop edi
pop ebp
ret
Function at 0x41e0c0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
cmp dword [esi + 0x100ac], ebx
je 0x41e180
cmp dword [esi + 0x7c], ebx
jbe 0x41e180
mov eax, 0xffffff5c
sub eax, esi
lea edi, [esi + 0xa4]
mov dword [ebp - 4], eax
jmp 0x41e100
movzx ecx, byte [edi]
mov eax, dword [esi + 0x100d0]
mov ebx, dword [esi + 0x100dc]
xor ecx, eax
mov edx, dword [esi + 0x100d8]
shr eax, 8
and ecx, 0xff
mov ecx, dword [ebx + ecx*4]
xor ecx, eax
movzx eax, cl
add eax, dword [esi + 0x100d4]
mov dword [esi + 0x100d0], ecx
mov ecx, dword [esi + 0x100d8]
imul eax, eax, 0x8088405
inc eax
mov dword [esi + 0x100d4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [ebx + eax*4]
and edx, 0xfffd
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
mov dword [esi + 0x100d8], ecx
mov ecx, dword [ebp - 4]
shr eax, 8
xor byte [edi], al
inc edi
add ecx, edi
cmp ecx, dword [esi + 0x7c]
jb 0x41e100
xor ebx, ebx
mov edi, dword [esi + 0x7c]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x1c]
push edi
lea eax, [esi + 0xa4]
push eax
mov eax, dword [esi + 8]
push ecx
push edx
call eax
add esp, 0x10
cmp eax, edi
je 0x41e1a4
or eax, 0xffffffff
jmp 0x41e1a7
mov eax, dword [ebp - 8]
add dword [esi + 0x100c0], edi
mov ecx, dword [esi + 0x48]
pop edi
adc dword [esi + 0x100c4], ebx
add dword [esi + 0x100c8], ecx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x7c], ebx
adc dword [esi + 0x100cc], ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41fc4f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x44d304], 0
push esi
push edi
jne 0x41fbc5
call fcn.0041fb31
test eax, eax
je 0x41fc0a
mov eax, dword [0x44d304]
cmp eax, 1
jne 0x41fbe6
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41fc0a
jmp 0x41fc4c
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x41fc4c
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41fc0e
xor eax, eax
jmp 0x41fc4c
mov eax, dword [esi]
push dword [0x44d304]
call edi
mov edi, eax
test edi, edi
je 0x41fc30
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x41fc4c
lea edi, [esi + 0xff0]
push esi
push dword [0x44d304]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x41fc36
mov eax, esi
pop edi
pop esi
ret
jmp 0x41fbb1

Function at 0x42008f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44ac68]
jne 0x420099
repz ret
jmp fcn.00425dea
Function at 0x4209bd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4209e4
call fcn.00426f10
mov dword [eax], esi
call fcn.00426efd
push 0x16
pop esi
mov dword [eax], esi
call fcn.00427107
mov eax, esi
jmp 0x420a39
test dword [ebp + 0xc], 0xfffffff9
jne 0x4209ca
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x420a11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00426f23
pop ecx
call fcn.00426efd
mov eax, dword [eax]
jmp 0x420a39
test al, 0x10
jne 0x420a37
test al, 1
je 0x420a37
test byte [ebp + 0xc], 2
je 0x420a37
call fcn.00426f10
mov dword [eax], 5
call fcn.00426efd
mov dword [eax], 0xd
jmp 0x420a08
xor eax, eax
pop esi
pop ebp
ret

Function at 0x43161c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44ac68]
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.004256c3
and dword [ebp - 0x14], 0
cmp dword [0x44e18c], 0
mov dword [ebp - 0x18], eax
jne 0x4316cf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x431777
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x431777
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x440144
push ebx
mov dword [0x44e18c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x44e190], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44e194], eax
call edi
push eax
call esi
mov dword [0x44e19c], eax
test eax, eax
je 0x4316cf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x44e198], eax
mov eax, dword [0x44e198]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x431728
cmp dword [0x44e19c], ecx
je 0x431728
push eax
call esi
push dword [0x44e19c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x431728
test ebx, ebx
je 0x431728
call edi
test eax, eax
je 0x43171f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43171f
test byte [ebp - 8], 1
jne 0x431728
or dword [ebp + 0x10], 0x200000
jmp 0x43175b
mov eax, dword [0x44e190]
cmp eax, dword [ebp - 0x18]
je 0x43175b
push eax
call esi
test eax, eax
je 0x43175b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x43175b
mov eax, dword [0x44e194]
cmp eax, dword [ebp - 0x18]
je 0x43175b
push eax
call esi
test eax, eax
je 0x43175b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44e18c]
call esi
test eax, eax
je 0x431777
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x431779
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042008f
leave
ret
Function at 0x437d70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov eax, dword [ebp + 0x2c]
push esi
push edi
mov dword [esp + 0x14], eax
jmp 0x437d85
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x74]
mov ebx, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x6c]
sub ebx, edx
mov edx, dword [ebp + 0x2c]
lea edx, [eax + edx - 0x106]
sub ebx, ecx
cmp ecx, edx
jb 0x437e0f
mov edi, dword [ebp + 0x38]
mov ecx, eax
mov edx, ecx
shr ecx, 2
lea esi, [edi + eax]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x70]
mov edx, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x5c]
sub esi, eax
sub edx, eax
sub ecx, eax
mov dword [ebp + 0x70], esi
mov esi, dword [ebp + 0x4c]
mov dword [ebp + 0x5c], ecx
mov ecx, dword [ebp + 0x44]
mov dword [ebp + 0x6c], edx
lea edx, [ecx + esi*2]
movzx ecx, word [edx - 2]
sub edx, 2
cmp ecx, eax
jb 0x437de6
sub ecx, eax
jmp 0x437de8
xor ecx, ecx
dec esi
mov word [edx], cx
jne 0x437dd7
mov edx, dword [ebp + 0x40]
mov esi, eax
lea edx, [edx + eax*2]
movzx ecx, word [edx - 2]
sub edx, 2
cmp ecx, eax
jb 0x437e05
sub ecx, eax
jmp 0x437e07
xor ecx, ecx
dec esi
mov word [edx], cx
jne 0x437df6
add ebx, eax
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x437efd
mov ecx, dword [ebp + 0x74]
mov edx, dword [ebp + 0x6c]
mov edi, dword [ebp + 0x38]
add ecx, edx
add ecx, edi
push ecx
mov ecx, ebx
mov ebx, eax
call fcn.00437af0
mov ecx, dword [ebp + 0x74]
add ecx, eax
mov esi, ecx
add esp, 4
cmp esi, 3
mov dword [ebp + 0x74], ecx
jb 0x437e65
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x58]
add edx, eax
movzx eax, byte [edx]
mov dword [ebp + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [ebp + 0x54]
mov dword [ebp + 0x48], eax
cmp esi, 0x106
jae 0x437e7b
mov edx, dword [ebp]
mov eax, dword [edx + 4]
test eax, eax
jne 0x437d81
mov ebx, dword [ebp + 0x16c0]
mov eax, dword [ebp + 0x3c]
cmp ebx, eax
jae 0x437efd
mov edx, dword [ebp + 0x6c]
add edx, esi
cmp ebx, edx
jae 0x437ec6
sub eax, edx
mov esi, eax
cmp esi, 0x102
jbe 0x437ea2
mov esi, 0x102
mov edi, dword [ebp + 0x38]
mov ecx, esi
mov ebx, ecx
shr ecx, 2
add edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
add esi, edx
pop edi
mov dword [ebp + 0x16c0], esi
pop esi
pop ebp
pop ebx
ret
lea ecx, [edx + 0x102]
cmp ebx, ecx
jae 0x437efd
sub edx, ebx
add edx, 0x102
sub eax, ebx
cmp edx, eax
jbe 0x437ee0
mov edx, eax
mov edi, dword [ebp + 0x38]
mov ecx, edx
mov esi, ecx
shr ecx, 2
xor eax, eax
add edi, ebx
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
add dword [ebp + 0x16c0], edx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4011c0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, eax
test edi, edi
je 0x40121e
test esi, esi
jne 0x4011d4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 8
call fcn.004513ee
add esp, 4
push 0
push 0
push eax
push 0x4012b0
push 0
push 0
mov dword [eax + 4], edi
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x40120e
cmp esi, 0xffffffff
je 0x40121e
push 0x1f4
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, 0xffffffff
je 0x40121e
test esi, esi
je 0x40121e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret

Function at 0x401660
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov ecx, ebx
call fcn.004013b0
lea edi, [esp + 0x94]
mov dword [0x485c44], ebx
call fcn.00417070
push eax
lea esi, [esp + 0x14]
call fcn.0041bed1
mov eax, dword [eax]
push eax
call fcn.00417161
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
add esp, 4
cmp eax, ecx
je 0x4016b5
push eax
call fcn.00451311
add esp, 4
mov eax, dword [esp + 0x94]
lea edx, [esp + 0x98]
cmp eax, edx
je 0x4016d0
push eax
call fcn.00451311
add esp, 4
call fcn.004171af
mov esi, dword [sym.imp.ole32.dll_CoInitialize]
push 0
call esi
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 0x65
push esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
mov eax, esi
call fcn.004011c0
mov edi, ebx
call fcn.00416238
push 0
push str.D6C41B57_D9D0_4c55_A8F7_C40B06CAC2BD
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov esi, eax
push esi
call edi
test eax, eax
je 0x401734
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x500
call fcn.00451743
add esp, 4
test eax, eax
je 0x401751
push eax
call fcn.004014a0
mov esi, eax
test esi, esi
jne 0x40175f
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0
push SysReAllocString
push 0x46df44
push 0
mov eax, esi
call fcn.0041631d
push esi
call fcn.004163eb
mov eax, dword [esi + 4]
push eax
call edi
test eax, eax
je 0x4017a4
mov ecx, dword [esi + 4]
push 1
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00419b9a
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10