joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4146b0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x430
mov eax, dword [0x45cdfc]
xor eax, esp
mov dword [esp + 0x42c], eax
push esi
mov esi, ecx
test byte [esi + 0x17], 1
je 0x41480b
cmp dword [0x45ece0], 0
je 0x41480b
cmp dword [0x45ece8], 0
je 0x41480b
push ebx
push edi
push 0
push 0x108
push 2
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403170
mov eax, dword [esp + 0x1c]
xor ecx, ecx
push 0x208
push ecx
mov word [eax], cx
lea eax, [esp + 0x238]
push eax
call fcn.004201f0
add esp, 0xc
lea ecx, [esp + 0xc]
push 0
call fcn.004074d0
push 0x446754
lea ecx, [esp + 0x10]
call fcn.004079b0
lea ecx, [esp + 0xc]
call fcn.00407310
push 0
lea eax, [esp + 0x234]
push 0
push eax
call fcn.00403f60
add esp, 4
lea ecx, [esp + 0x14]
push eax
call fcn.00406ea0
push 1
push 0x446dc0
lea ecx, [esp + 0x14]
call fcn.004078e0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [esp + 0x34]
mov edi, 0x104
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
test ebx, ebx
je 0x414800
cmp dword [0x45ece8], 2
mov eax, 0x106
push 0
push 0
push 0
cmove edi, eax
push edi
push ebx
push dword [esi + 0x36c]
push dword [esi + 0x350]
call dword [0x45ece0]
test eax, eax
jne 0x4147f9
mov eax, dword [esi + 0x14]
shr eax, 0x17
test al, 1
je 0x4147f9
cmp byte [0x4e02f8], 0
je 0x4147f9
cmp byte [0x4e0340], 0
je 0x4147f9
push str.Debugger:_MiniDump_Failed_to_write._n
push 0
push 8
push 0x4602a0
call fcn.004166b0
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call fcn.00403200
pop edi
pop ebx
push 1
push dword [esi + 0x350]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x430]
mov dword [esi + 0x350], 0xffffffff
pop esi
xor ecx, esp
call fcn.0041e5aa
add esp, 0x430
ret
Function at 0x414b80
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0x10], edi
cmp ebp, 0xffffffff
jne 0x414ba2
xor ebx, ebx
jmp 0x414bbb
call edx
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ebx, [eax + ebp]
cmp ebx, eax
jae 0x414bbb
mov edi, eax
mov ebx, ebp
neg edi
mov dword [esp + 0x10], edi
mov ecx, dword [0x4e2494]
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x14], eax
nop
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x60]
cmp dword [eax], 0
je 0x414c9e
cmp ebp, 0xffffffff
jne 0x414bee
mov edi, 0x7d0
jmp 0x414c21
call edx
add eax, edi
cmp eax, ebx
jae 0x414c06
mov ecx, ebx
mov edi, 0x1f4
sub ecx, eax
cmp ecx, edi
cmovb edi, ecx
jmp 0x414c21
mov eax, dword [0x45ef0c]
xor edi, edi
push edi
push str.Command_time_out
mov ecx, 0x45ef0c
mov eax, dword [eax + 4]
call eax
test al, al
je 0x414c9e
cmp dword [esi + 0x294], 0xffffffff
je 0x414c9e
mov ecx, esi
call fcn.00413880
test al, al
je 0x414c9e
push edi
push dword [esi + 0x294]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x294]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x414c63
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x264], ecx
test edi, edi
je 0x414c92
cmp edi, 0xffffffff
je 0x414cc4
cmp edi, 0x80
je 0x414cc4
cmp dword [esi + 0x264], 0x103
mov edi, dword [esp + 0x10]
mov edx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esp + 0x14]
je 0x414bd0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 4
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x294]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x414cbd
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x264], eax
mov ecx, esi
call fcn.004106e0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 4

Function at 0x415f10
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov edi, ecx
push 0
lea esi, [edi + 0x80050]
push esi
call fcn.004122f0
add esp, 8
test eax, eax
je 0x415f5a
cmp dword [edi + 0x80010], 0
je 0x415f4f
push 0
push esi
call fcn.004122f0
push eax
push 0x447680
push 0
push 0xffffffffffffffff
push edi
call fcn.004166b0
add esp, 0x1c
jmp 0x415f5a
push str.Messages_missed__likely_during_startup._r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [edi + 0x8003c]
call fcn.0040b370
lea ecx, [edi + 0x80020]
call fcn.00406040
lea ecx, [edi + 0x8000c]
call fcn.00415fb0
lea ecx, [edi + 0x8000c]
call fcn.00403200
mov ecx, edi
pop edi
pop esi
jmp fcn.00403630
Function at 0x418290
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x4182cc
call fcn.00411aa0
push eax
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x2c]
add eax, eax
push eax
call fcn.004033c0
test al, al
je 0x418417
push 0
push 0x8800
lea ecx, [esi + 0x40]
call fcn.00403220
test al, al
je 0x418417
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x14]
add ecx, 0x400
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], eax
lea eax, [ecx + 0x8000]
mov dword [esi + 0x10], 0
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x80], ecx
mov dword [esi + 0x7c], ecx
mov dword [esi + 0xa4], 1
mov dword [esi + 0xc], 1
nop word [eax + eax]
cmp dword [esi + 0x18], 0
je 0x4183a0
mov ecx, esi
call fcn.004188b0
mov edx, dword [esi + 0x14]
mov dword [esi + 0x10], eax
sub edx, dword [esi + 0x1c]
je 0x418394
mov ecx, dword [esi + 8]
push 0x45ef0c
push edx
push dword [esi + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
call eax
test al, al
je 0x41838d
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x14]
shr eax, 0xd
test al, 1
jne 0x41838d
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x1c], eax
jmp 0x418394
mov dword [esi + 0x10], 0xffffffff
cmp dword [esi + 0x10], 0
je 0x418340
nop word [eax + eax]
mov ecx, esi
call fcn.004188b0
mov edx, dword [esi + 0x14]
mov dword [esi + 0x10], eax
sub edx, dword [esi + 0x1c]
je 0x4183f5
mov ecx, dword [esi + 8]
push 0x45ef0c
push edx
push dword [esi + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x94]
call eax
test al, al
je 0x4183ee
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x14]
shr eax, 0xd
test al, 1
jne 0x4183ee
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4183a0
jmp 0x4183f8
mov dword [esi + 0x10], 0xffffffff
mov eax, dword [esi + 0x10]
test eax, eax
je 0x418433
cmp eax, 1
je 0x418433
mov eax, dword [esp + 8]
push dword [esp + 0xc]
push str.Decompression_error_in___s_._File_may_be_corrupted
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
add esp, 0xc
mov eax, dword [esi + 0xac]
lea ecx, [esi + 0xac]
mov dword [esi + 0x10], 0xfffffffc
call dword [eax + 0xc]
xor al, al
pop esi
ret 8
mov eax, dword [esi + 0xac]
lea ecx, [esi + 0xac]
call dword [eax + 0xc]
mov al, 1
pop esi
ret 8
Function at 0x419300
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 0xc]
sub esp, 0x154
push ebp
push esi
mov esi, dword [esp + 0x160]
push edi
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4193c3
push ebx
lea ecx, [esp + 0x10]
xor bl, bl
call fcn.0040cc40
push dword [esp + 0x16c]
lea ecx, [esp + 0x14]
push 0x400
push dword [esp + 0x17c]
call fcn.0040f1a0
test al, al
je 0x4193a6
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [esp + 0x174]
lea ecx, [esp + 0x14]
push dword [esp + 0x170]
push ecx
push esi
push eax
lea ecx, [esp + 0xbc]
call fcn.00416cf0
mov ecx, eax
call fcn.00418290
lea ecx, [esp + 0xa8]
mov bl, al
call fcn.00416d60
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x10]
call fcn.0040d960
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x154
ret
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x154
ret
Function at 0x4193e0
Capabilities:
Delete file

Disassembly:
sub esp, 0x298
mov eax, dword [0x45cdfc]
xor eax, esp
mov dword [esp + 0x294], eax
push ebx
mov ebx, dword [esp + 0x2a4]
lea eax, [esp + 0x88]
push ebp
mov ebp, dword [esp + 0x2a4]
lea ecx, [esp + 0x78]
push esi
push edi
push 0
push 0x108
push 2
push eax
mov dword [esp + 0x24], ebp
call fcn.00403170
mov eax, dword [esp + 0x90]
xor ecx, ecx
push 0x5c
push ebx
mov word [eax], cx
call fcn.0040a890
mov esi, eax
push esi
call fcn.0040a700
add esp, 0xc
lea ecx, [esp + 0x80]
mov edi, eax
push 0xffffffffffffffff
push esi
call fcn.00407aa0
cmp edi, 4
jbe 0x419467
mov ecx, dword [esp + 0x90]
xor eax, eax
mov word [ecx + edi*2 - 8], ax
lea ecx, [esp + 0x18]
mov esi, 0x115d
call fcn.0040d0f0
push ebx
push 0
push 0xa
push 0x2be
push ebp
lea ecx, [esp + 0x2c]
call fcn.0040f590
test al, al
je 0x4194b6
mov eax, dword [esp + 0x70]
mov ecx, 4
cmp eax, ecx
cmova eax, ecx
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x18]
push eax
call fcn.0041fc70
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
cmovne esi, eax
push ebp
push esi
push ebx
call fcn.0041e4a0
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.0040dc10
push 0
push dword [esp + 0x94]
push ebp
call fcn.0041af20
add esp, 0xc
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call ebp
mov edi, 2
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
call fcn.00407aa0
lea ecx, [esp + 0x80]
call fcn.004074c0
mov esi, eax
sub edi, 1
jne 0x419524
push 0x2e
push esi
call fcn.00420a94
add esp, 8
mov esi, eax
test esi, esi
je 0x41954d
push esi
call fcn.0040a730
push eax
lea eax, [esi + 2]
push esi
push eax
call fcn.00406010
add esp, 0x10
mov eax, 0x5f
mov word [esi], ax
push dword [esp + 0x90]
call ebp
test edi, edi
jne 0x4194f5
push ebx
lea ecx, [esp + 0x84]
call fcn.00407bd0
lea ecx, [esp + 0x80]
call fcn.004074c0
push 0x5f
lea ecx, [esp + 0x84]
mov esi, eax
call fcn.00406d00
push edi
push esi
push dword [esp + 0x1c]
call fcn.0041af20
add esp, 0xc
lea ecx, [esp + 0x80]
push 1
push 0x4487b0
call fcn.004078e0
push dword [esp + 0x90]
call ebp
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
call fcn.00407aa0
push 1
push str.snap
lea ecx, [esp + 0x88]
call fcn.004078e0
push dword [esp + 0x90]
call ebp
lea ecx, [esp + 0x80]
call fcn.00403200
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041e5aa
add esp, 0x298
ret
Function at 0x41d9c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x244
mov eax, dword [0x45cdfc]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
mov ebp, dword [esp + 0x254]
push esi
push edi
mov edi, dword [esp + 0x258]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x41db34
push 1
lea ecx, [esp + 0x1c]
call fcn.00403140
push 0
push esi
lea ecx, [esp + 0x20]
call fcn.00403220
test al, al
je 0x41dae2
push dword [esp + 0x28]
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41dac6
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
push str.StringFileInfo040904B0FileDescription
push dword [esp + 0x34]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41daa0
cmp dword [esp + 0x10], 0
je 0x41da7a
push dword [esp + 0x14]
mov ecx, ebp
call fcn.0040b8b0
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00403200
jmp 0x41db4c
mov eax, dword [0x45ef0c]
mov ecx, 0x45ef0c
push 0
push str.Could_not_retrieve_File_Description
mov eax, dword [eax + 4]
call eax
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00403200
jmp 0x41db4c
mov eax, dword [0x45ef0c]
mov ecx, 0x45ef0c
push 0
push str.File_Description_could_not_be_found_in_the_Version_resource
mov eax, dword [eax + 4]
call eax
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00403200
jmp 0x41db4c
push str.Could_not_retrieve_Version_information_for_the_running_binary
mov ecx, 0x45ef0c
call fcn.00404b00
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00403200
jmp 0x41db4c
lea ecx, [esp + 0x18]
call fcn.00403200
push 0
push 0x108
push 2
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00403170
mov eax, dword [esp + 0x3c]
xor ecx, ecx
push 0xffffffffffffffff
push edi
mov word [eax], cx
lea ecx, [esp + 0x34]
call fcn.00407aa0
test al, al
je 0x41db54
lea ecx, [esp + 0x2c]
call fcn.004074c0
push eax
mov ecx, ebp
call fcn.0040b8b0
test al, al
je 0x41db54
mov bl, 1
jmp 0x41db56
mov eax, dword [0x45ef0c]
mov ecx, 0x45ef0c
push 0
push str.Version_resource_is_not_present_in_the_running_binary
mov eax, dword [eax + 4]
call eax
mov bl, al
test bl, bl
je 0x41daeb
mov al, 1
jmp 0x41db61
xor bl, bl
lea ecx, [esp + 0x2c]
call fcn.00403200
mov al, bl
mov ecx, dword [esp + 0x250]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041e5aa
add esp, 0x244
ret
Function at 0x41db80
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0xc], ecx
push eax
push 0x44b564
push 1
push 0
push 0x44aed8
mov dword [esp + 0x2c], vtable.SmartCOMPointer_struct_INetFwMgr_.0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], vtable.SmartCOMPointer_struct_INetFwPolicy_.0
mov dword [esp + 0x28], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebp, dword [esp + 0x2c]
mov esi, eax
test esi, esi
jns 0x41dc2c
push str.Windows_Firewall_Manager
push str.Failed_to_instantiate_COM_object
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x442970
push str._s__Message:___s_
push eax
mov dword [esp + 0x34], 0
call fcn.0040b9e0
add esp, 0x10
test al, al
je 0x41dc19
push 0
lea ecx, [esp + 0x24]
call fcn.0040baf0
push eax
push esi
mov ecx, ebp
call fcn.00404f00
test al, al
je 0x41dc19
mov bl, 1
jmp 0x41dc1b
xor bl, bl
lea ecx, [esp + 0x20]
call fcn.0040b370
test bl, bl
je 0x41dd3d
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test ecx, ecx
je 0x41dc3e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x14]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jns 0x41dcb6
push str.Windows_Firewall_Local_Policy
push str.COM_error_occurred
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x442970
push str._s__Message:___s_
push eax
mov dword [esp + 0x34], 0
call fcn.0040b9e0
add esp, 0x10
test al, al
je 0x41dca3
push 0
lea ecx, [esp + 0x24]
call fcn.0040baf0
push eax
push esi
mov ecx, ebp
call fcn.00404f00
test al, al
je 0x41dca3
mov bl, 1
jmp 0x41dca5
xor bl, bl
lea ecx, [esp + 0x20]
call fcn.0040b370
test bl, bl
je 0x41dd3d
mov esi, dword [esp + 0xc]
add esi, 4
push edi
mov edi, dword [esp + 0x18]
mov ecx, dword [esi]
test ecx, ecx
je 0x41dcce
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0x1c]
mov esi, eax
pop edi
test esi, esi
jns 0x41dd41
push str.Windows_Firewall_Profile
push str.COM_error_occurred
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x442970
push str._s__Message:___s_
push eax
mov dword [esp + 0x34], 0
call fcn.0040b9e0
add esp, 0x10
test al, al
je 0x41dd2e
push 0
lea ecx, [esp + 0x24]
call fcn.0040baf0
push eax
push esi
mov ecx, ebp
call fcn.00404f00
test al, al
je 0x41dd2e
mov bl, 1
jmp 0x41dd30
xor bl, bl
lea ecx, [esp + 0x20]
call fcn.0040b370
test bl, bl
jne 0x41dd41
xor bl, bl
jmp 0x41dd43
mov bl, 1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], vtable.SmartCOMPointer_struct_INetFwPolicy_.0
test ecx, ecx
je 0x41dd59
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.SmartCOMPointer_struct_INetFwMgr_.0
test eax, eax
je 0x41dd6f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x1c
ret 4
Function at 0x421f39
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x44bad4
push str.FlsAlloc
push 0
call fcn.00421eb2
mov esi, eax
add esp, 0x10
test esi, esi
je 0x421f6b
push dword [ebp + 8]
mov ecx, esi
call fcn.0041f8ef
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x421fad
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x44baf8
push str.FlsGetValue
push 2
call fcn.00421eb2
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x421fde
mov ecx, esi
call fcn.0041f8ef
call esi
jmp 0x421fe4
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x421fe7
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x44bb0c
push str.FlsSetValue
push 3
call fcn.00421eb2
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x42201b
mov ecx, esi
call fcn.0041f8ef
call esi
jmp 0x422021
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x435d43
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00435a03
Function at 0x4010f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, 0x3360
mov esi, 0xb39
test eax, eax
je 0x4011d6
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4011d6
cmp eax, ecx
jae 0x4011d6
inc ebx
mov eax, 0x66666667
imul ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
mov eax, ebx
sub eax, ecx
jne 0x40113e
inc ebx
cmp ebx, 0x70ad
jl 0x401120
mov ebx, dword [ebp + 8]
sub dword [ebp + 0xc], ebx
mov ecx, 0x4dcd
mov eax, 0x964fda6d
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x401151
mov ecx, 0x798b
mov edx, 0xca
mov eax, 0x64
cmp eax, 0xca
cmovg eax, edx
dec ecx
jne 0x401175
mov eax, 0x434
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
jne 0x401185
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4011b0
lea esp, [esp]
mov cl, byte [eax + ebx + 1]
add cl, 0x5e
xor byte [eax + ebx], cl
inc eax
cmp eax, edx
jb 0x4011a0
nop
mov eax, 0x2aaaaaab
imul edi
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4011b0
mov eax, 0x22b63cbf
imul esi
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x4011c3
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402460
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
lea ebx, [edi + 0x74]
inc edi
mov eax, 0x92492493
imul edi
add edx, edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, edi
sub eax, ecx
jne 0x402494
inc edi
cmp edi, 0x7f48
jl 0x402470
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4025d8
cmp dword [ebp + 0x10], esi
jne 0x4024b5
cmp dword [ebp + 0x18], esi
je 0x4025d8
mov ecx, 0x7f2c
mov edx, 0x11
mov eax, 0x8e
cmp eax, 0x11
cmovl eax, edx
dec ecx
jne 0x4024c4
mov ecx, 0x850
mov eax, 0xf6603d99
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4024d2
inc esi
mov eax, esi
and eax, 0x80000001
jns 0x4024f6
dec eax
or eax, 0xfffffffe
inc eax
jne 0x4024f9
inc esi
cmp esi, 0x6415
jl 0x4024e7
mov edx, dword [edi + 0x3c]
mov eax, 0x5a4d
add edx, edi
cmp word [edi], ax
jne 0x4025d8
cmp dword [edx], 0x4550
jne 0x4025d8
mov esi, dword [edx + 0x7c]
mov dword [ebp - 0x10], esi
mov ecx, 0x3b8c
mov edi, 0x68
mov eax, 0x6b
cmp eax, 0x68
cmovl eax, edi
dec ecx
jne 0x402535
test esi, esi
je 0x4025d8
mov eax, 0x524c
jmp 0x402550
dec eax
jne 0x402550
mov ecx, dword [ebp + 0xc]
mov edi, dword [edx + 0x78]
add edi, ecx
mov eax, dword [edi + 0x20]
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x24]
add eax, ecx
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x1c]
add eax, ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
shr eax, 0x10
test eax, eax
je 0x4025d8
mov esi, 0x4b66
mov eax, 0xb21642c9
imul esi
add edx, esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402582
cmp dword [edi + 0x18], esi
jbe 0x4025c1
lea esp, [esp]
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4]
add eax, ecx
push eax
push dword [ebp + 0x10]
call fcn.00402e90
add esp, 8
test eax, eax
jne 0x4025e1
mov ecx, dword [ebp + 0xc]
inc esi
cmp esi, dword [edi + 0x18]
jb 0x4025a0
mov eax, 0x7e5
mov ecx, 0xa5
jmp 0x4025d0
cmp ebx, ecx
cmovg ebx, ecx
dec eax
jne 0x4025d0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
cmp ecx, edi
jbe 0x4025fe
mov eax, dword [ebp - 0x10]
add eax, edi
cmp ecx, eax
jb 0x4025d8
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402cf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
inc byte [esi + 0x11e]
movzx eax, byte [esi + 0x11e]
lea ecx, [esi + 9]
add eax, ecx
mov dword [ebp - 4], eax
movzx edx, byte [eax]
movzx eax, byte [esi + 0x131]
add eax, edx
mov dword [ebp - 8], ecx
mov ebx, 0xdec
mov edi, 0x204a
mov dword [ebp + 8], eax
mov byte [esi + 0x131], al
mov ecx, 0x2e07
jmp 0x402d40
mov eax, 0x44d72045
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402d40
mov eax, dword [ebp + 8]
movzx edx, al
mov al, byte [edx + esi + 9]
add edx, esi
mov esi, dword [ebp - 4]
mov cl, byte [esi]
mov byte [esi], al
mov byte [ebp + 0xb], cl
mov byte [edx + 9], cl
xor ecx, ecx
mov esi, 0x3c5c
mov eax, 0x86d90545
imul esi
add edx, esi
sar edx, 7
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402d73
mov eax, dword [ebp - 4]
mov al, byte [eax]
add byte [ebp + 0xb], al
mov eax, 0x4325c53f
imul ebx
sar edx, 5
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x402d90
mov eax, 0x828cbfbf
imul edi
add edx, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x402da3
pop edi
pop esi
pop ebx
jmp 0x402dc0
inc ecx
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
lea eax, [eax + eax*4]
sub edx, eax
jne 0x402ddb
inc ecx
cmp ecx, 0x99
jl 0x402dc0
movzx eax, byte [ebp + 0xb]
mov ecx, dword [ebp - 8]
mov al, byte [eax + ecx]
movzx ecx, byte [ebp + 0xc]
movzx eax, al
xor eax, ecx
mov esp, ebp
pop ebp
ret
Function at 0x4987ff
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
not eax
test esi, esi
je 0x49856d
lea esp, [esp]
test cl, 3
je 0x49856d
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x9b3408]
inc ecx
dec esi
jne 0x49854f
push ebx
push edi
cmp esi, 0x20
jb 0x498783
mov edi, esi
shr edi, 5
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x49880d
xor eax, eax
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
pop ebp
jmp 0x49853f
Function at 0x62cf2f
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x5b436a6e
enter 0xffffffffffffdf18, 0x27
sti
invalid