joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4014d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406e90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov edx, dword [ebp + 0x10]
push ebx
push esi
xor esi, esi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
push edi
mov dword [ebp - 0x24], ecx
mov si, word [eax + 0x14]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
lea esi, [esi + eax + 0x18]
mov dword [ebp - 0x18], esi
mov eax, dword [edx]
xor edx, edx
mov dx, word [eax + 6]
mov eax, dword [ebp - 0x14]
cmp eax, edx
jge 0x4015e5
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x401565
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jle 0x4015cd
mov edx, dword [esi + 0xc]
push 4
push 0x1000
add edx, ecx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, ebx
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4015cd
push 4
push 0x1000
push eax
mov eax, dword [esi + 0xc]
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea ecx, [ebp - 0x20]
push 0x4075f0
push ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x20], 0x55
call fcn.00402506
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov eax, dword [ebp + 8]
mov edx, ecx
add esi, eax
mov eax, 0x4015bd
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
ret
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0x10]
inc ecx
add esi, 0x28
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], esi
jmp 0x401510
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401a90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
mov al, 0x6c
push esi
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
xor al, al
push edi
mov byte [esp + 0x1e], al
mov byte [esp + 0x11], al
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x1c], 0x55
mov byte [esp + 0x1d], 0x53
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x52
mov byte [esp + 0x20], 0x33
mov byte [esp + 0x21], 0x32
mov byte [esp + 0x22], 0x2e
mov byte [esp + 0x23], 0x64
mov byte [esp + 0x10], 0x77
mov byte [esp + 0x11], 0x73
mov byte [esp + 0x12], 0x70
mov byte [esp + 0x13], 0x72
mov byte [esp + 0x14], 0x69
mov byte [esp + 0x15], 0x6e
mov byte [esp + 0x16], 0x74
mov byte [esp + 0x17], 0x66
mov byte [esp + 0x18], 0x41
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x474
mov edi, eax
call fcn.00402540
mov esi, eax
push str.v_hqMRRAgqUDtj:Al_AYYSABo7xf_9
push esi
call edi
lea edx, [esi + 0x130]
push str.5biO_bjP_p__
push edx
call edi
lea eax, [esi + 0x182]
push str.Flqabvozs
push eax
call edi
lea ecx, [esi + 0x1e6]
push str.Eksg_v_Vdomudpvb_cgw_UjlalsrV_b
push ecx
call edi
lea edx, [esi + 0x266]
push str.Lk_pjpkgvQ__GlpfaqP_lkg_clv_Ummaguw_Z__
push edx
call edi
lea eax, [esi + 0x366]
push str.325dfc33fb7ec_l_9_20ag61747_lg7
push eax
call edi
lea ecx, [esi + 0x162]
push str.S_52V3mdqe__
push ecx
call edi
mov edx, dword [0x431194]
add esp, 0x3c
mov dword [esi + 0x12c], edx
mov eax, dword [0x4314d0]
mov dword [esi + 0x468], eax
mov ecx, dword [0x4314d4]
mov dword [esi + 0x46c], ecx
mov edx, dword [0x4314d8]
mov dword [esi + 0x470], edx
mov eax, esi
pop edi
pop esi
add esp, 0x18
ret

Function at 0x401c90
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebx
push esi
push edi
push 0xed8
push 0x28fff
push 0x408040
call fcn.00401bc0
push 0x408040
call fcn.00401300
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x401cd5
mov eax, dword [esp + 0x10]
push eax
push ebx
call fcn.00401260
add esp, 8
test eax, eax
jne 0x401cd9
push ebx
call fcn.004011c0
add esp, 4
pop edi
pop esi
pop ebx
ret
sub esp, 0x474
mov ecx, 0x11d
mov esi, str.v_hqMRRAgqUDtj:Al_AYYSABo7xf_9
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call eax
push ebx
call fcn.004011c0
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1cf00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x1cf1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1cf21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1cf10
mov eax, 1
add ebx, ebx
jne 0x1cf33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1cf44
jne 0x1cf63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1cf63
dec eax
add ebx, ebx
jne 0x1cf50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1cf28
add ebx, ebx
jne 0x1cf5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1cfb5
xor ecx, ecx
sub eax, 3
jb 0x1cf7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1cfea
sar eax, 1
mov ebp, eax
jmp 0x1cf86
add ebx, ebx
jne 0x1cf86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1cf54
inc ecx
add ebx, ebx
jne 0x1cf94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1cf54
add ebx, ebx
jne 0x1cfa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1cf96
jne 0x1cfb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1cf96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1cfd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1cfc6
jmp 0x1cf16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1cfd4
add edi, ecx
jmp 0x1cf16
pop esi
mov edi, esi
mov ecx, 0x136
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1cff2
cmp byte [edi], 0
jne 0x1cff2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x1cff7
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x1d066
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd5c0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd648]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1d024
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd650]
or eax, eax
je 0x1d060
mov dword [ebx], eax
add ebx, 4
jmp 0x1d041
call dword [esi + 0xd64c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1d097
cmp al, 0xef
ja 0x1d08a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1d06c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1d079
mov ebp, dword [esi + 0xd654]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1d0cb
sub esp, 0xffffff80
jmp 0x13a90
Function at 0x1003c8d0
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x44
mov eax, dword [0x100b4368]
push esi
push 0x20
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
push eax
push 0xe
push 0x400
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
fld dword [esp + 0x54]
fmul dword [0x100a994c]
mov esi, dword [esp + 0x4c]
push 0xffffffffffffffff
push esi
call fcn.1003ee90
push eax
call fcn.10083930
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003c915
sub eax, edx
cmp eax, 2
jge 0x1003c959
push 0x100a9948
lea ecx, [esp + 8]
push 0xffffffffffffffff
push ecx
call fcn.100839e0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x14]
push 0xffffffffffffffff
push eax
call fcn.10083990
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push esi
call fcn.10084540
add esp, 0x28
jmp 0x1003c96b
lea edx, [esp + 0x24]
push edx
push 0
dec eax
push eax
push esi
call fcn.10084540
add esp, 0x10
mov eax, esi
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003c971
mov ecx, dword [esp + 0x40]
sub eax, edx
call fcn.1009d15f
add esp, 0x44
ret

Function at 0x1003ee90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1003ee9f
pop dword [ebp - 0x38]
mov eax, 0x1003ee9f
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x3e2a1
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0xd570b9d9
add ecx, 0x2a8f9dc4
mov edx, eax
mov ebx, 0x6be3d38a
sub ebx, 0x5bd5a38a
add ebx, dword [ebp - 0x38]
mov edi, 0x9dbfcbee
add edi, 0x2f5eaef3
xor dword [ebp - 0x2c], 0x71ef9aff
mov esi, dword [ebx]
sub dword [ebp - 0x24], ebx
sub esi, edi
add dword [ebp - 0x20], eax
mov dword [edx], esi
add dword [ebp - 0x34], ecx
add edx, 4
add ebx, 4
loop 0x1003eef4
add eax, 0x15147
mov ebx, eax
add eax, 5
mov ecx, 0xd50c69ad
sub ecx, 0xc50c69ad
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x10040780
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
je 0x100407c9
xor ecx, ecx
test esi, esi
mov byte [esp + 7], 0x11
jle 0x100407c9
mov edx, dword [esp + 0xc]
lea esp, [esp]
mov al, byte [ecx + edx]
mov byte [esp + 0x10], al
mov ah, byte [esp + 7]
mov al, byte [esp + 0x10]
xor al, ah
push ax
pop ax
mov byte [esp + 0x10], al
mov al, byte [esp + 0x10]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
mov byte [esp + 7], al
jl 0x100407a0
pop esi
pop ecx
ret
Function at 0x4011f1
Capabilities:
Get local ipv4 addresses
Get socket information
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e4
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 4], 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_BeginPaint]
mov ebx, eax
lea eax, [ebp - 0x1e4]
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
sub eax, 0x2726
je 0x40123f
sub eax, 0x45
je 0x401238
dec eax
jne 0x40124c
push str.The_version_of_Windows_Sockets_support_requested_is_not_provided_by_this_particular_Windows_Sockets_implementation.
jmp 0x401244
push str.The_underlying_network_subsystem_is_not_ready_for_network_communication.
jmp 0x401244
push str.The_Windows_Sockets_version_specified_by_the_application_is_not_supported_by_this_DLL.
push ebx
call fcn.00401196
pop ecx
pop ecx
push esi
push 0x4e8
push 5
push 6
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x401276
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.socket_returned__d
push ebx
call fcn.00401196
add esp, 0xc
push dword [ebp - 4]
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00401440
add esp, 0xc
lea eax, [ebp - 0x14]
mov word [ebp - 0x14], 6
push dword [ebp - 4]
push eax
push esi
call sub.WS2_32.dll_bind
cmp eax, 0xffffffff
jne 0x4012b3
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.bind_returned__d
push ebx
call fcn.00401196
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
jne 0x4012dc
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.getsockname_returned__d
push ebx
call fcn.00401196
add esp, 0xc
jmp 0x4012f4
lea eax, [ebp - 0x14]
push eax
call fcn.004010d6
push eax
push str.This_computers_IPX_network_address_is__s
push ebx
call fcn.00401196
add esp, 0x10
push esi
call sub.WS2_32.dll_closesocket
cmp eax, 0xffffffff
pop esi
jne 0x401314
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.closesocket_returned__d
push ebx
call fcn.00401196
add esp, 0xc
call sub.WS2_32.dll_WSACleanup
cmp eax, 0xffffffff
jne 0x401332
call sub.WS2_32.dll_WSAGetLastError
push eax
push str.WSACleanup_returned__d
push ebx
call fcn.00401196
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_EndPaint]
pop ebx
leave
ret
Function at 0x4029fd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x406308
cmp edx, dword [eax]
je 0x402a1f
add eax, 8
inc ecx
cmp eax, 0x406398
jl 0x402a10
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x406308]
jne 0x402b4d
mov eax, dword [0x406b18]
cmp eax, 1
je 0x402b27
test eax, eax
jne 0x402a50
cmp dword [0x406254], 1
je 0x402b27
cmp edx, 0xfc
je 0x402b4d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x402a87
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004034f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402ec0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402aca
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402ec0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40546c
push edi
call fcn.00404270
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004034f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403500
lea eax, [ebp - 0xa0]
push 0x40544c
push eax
call fcn.00403500
push dword [esi + 0x40630c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403500
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004041de
add esp, 0x2c
pop edi
jmp 0x402b4d
lea eax, [ebp + 8]
lea esi, [esi + 0x40630c]
push 0
push eax
push dword [esi]
call fcn.00402ec0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1001cfc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1001cfcf
pop dword [ebp - 0x14]
mov eax, 0xba97090e
add eax, 0x556ac6c1
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x93e9dfbc
add dword [ebp - 0x24], 0xba68658f
mov dword [ebp - 0x20], 0x430ac721
sub dword [ebp - 0x20], 0x10d77adc
mov dword [ebp - 0x1c], 0xd9cf7354
sub dword [ebp - 0x1c], 0x8d832f26
mov dword [ebp - 0x18], 0x1454d3f8
sub dword [ebp - 0x18], 0x1454d3f8
lea eax, [ebp - 0x24]
push eax
mov eax, 0x3b2aecac
add eax, 0xd4d93388
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x253ea410
sub dword [ebp - 0x24], 0xb0cc3aba
mov dword [ebp - 0x20], 0x433718c2
add dword [ebp - 0x20], 0xfe3548b3
mov dword [ebp - 0x1c], 0xa06d8306
sub dword [ebp - 0x1c], 0x3cfe169a
mov dword [ebp - 0x18], 0xd0f194f2
sub dword [ebp - 0x18], 0xd0f194f2
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xc964a5bd
sub eax, 0xb9608571
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x4ac53
push 0
call eax
mov ecx, 0x7dd651ea
sub ecx, 0x7dd5fe0e
mov esi, eax
mov edx, 0x83d3f495
add edx, 0x8c31896b
add edx, dword [ebp - 0x14]
mov ebx, 0x168b7847
xor dword [ebp - 0x10], 0xcfe9381b
mov edi, dword [edx]
xor dword [ebp - 8], edi
sub edi, ebx
add dword [ebp - 0xc], edx
mov dword [esi], edi
add esi, 4
add edx, 0x8a67c6cc
add edx, 0x75983938
loop 0x1001d0eb
add eax, 0x14243
mov ebx, eax
add eax, 0xf6d9103d
add eax, 0x926efc8
mov ecx, 0x69ac035c
add ecx, 0xa653fca4
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x40ce48
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004078db
mov dword [ebp - 0x14], eax
cmp dword [0x813f38], esi
jne 0x40cf3b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40cec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d01b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d01b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d01b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x813f38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x813f3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x813f40], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813f48], eax
test eax, eax
je 0x40cf38
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x813f44], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40cf60
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40cf53
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40cf75
push 4
pop eax
jmp 0x40d01d
cmp dword [ebp - 0x14], esi
je 0x40cf75
push dword [0x813f38]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40cf5a
mov eax, dword [0x813f44]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40cfd3
cmp dword [0x813f48], edi
je 0x40cfd3
push eax
call ebx
push dword [0x813f48]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40cfd3
test eax, eax
je 0x40cfd3
call ecx
test eax, eax
je 0x40cfc8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40cfc8
test byte [ebp - 8], 1
jne 0x40cfd3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d003
mov eax, dword [0x813f3c]
cmp eax, edi
je 0x40d000
push eax
call ebx
test eax, eax
je 0x40d000
call eax
mov esi, eax
test esi, esi
je 0x40d000
mov eax, dword [0x813f40]
cmp eax, edi
je 0x40d000
push eax
call ebx
test eax, eax
je 0x40d000
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x813f38]
call ebx
test eax, eax
je 0x40d01b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d01d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004041ee
mov esp, ebp
pop ebp
ret
Function at 0x4184e8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x418515
call fcn.0040609e
mov dword [eax], esi
call fcn.0040608b
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0040b9a4
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x418533
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004060b1
pop ecx
jmp 0x418510
test byte [esp + 0xc], 0x80
je 0x41853f
and eax, 0xfffffffe
jmp 0x418542
or eax, 1
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x418524
xor eax, eax
pop esi
ret

Function at 0x510024
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add al, byte [eax]
add byte [eax], al
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
cld
invalid
stc
jb 0x51002e
pop ds
xor esi, dword [ecx - 0x49]
jno 0x50ffe2
cwde
leave
jmp 0x51008f
pushal
jmp 0x510034
call 0x51003f
dec ecx
stc
mov dl, 0xed
pop ecx
pop ebx
jb 0x510049
jne 0x50ffd9
jge 0x510029
sbb dword [edx - 0x383c7edc], 0xffffffff
invalid
add ebx, 0xffffffc7
jmp 0x510058
cmp dword [ebx], 0
stc
jmp 0x510067
je 0x5100ed
jmp 0x510076
mov ecx, ebx
jmp 0x510081
add ebx, 4
jmp 0x510089
mov edx, dword [ebx]
jmp 0x510097
and eax, 0x8ced9cec
in eax, dx
cmp ebp, dword [ebx + 3]
sar ecx, cl
add edx, ebx
stc
jb 0x5100a3
mov ah, 0xb1
mov ebx, 0xc91a740d
mov eax, dword [ebx + 4]
jmp 0x5100ac
sub dword [edx], 0x3c62176a
jmp 0x5100b6
add edx, 4
jmp 0x5100bf
sub eax, 1
jmp 0x5100c6
jne 0x5100a6
jmp 0x5100d0
add ebx, 8
jmp 0x5100d7
sub dword [ecx], 1
stc
jb 0x5100de
and ecx, dword [edi]
test dword [eax + 0x72ffffff], esp
add dh, byte [ecx + 0xee83b]
add byte [eax], al
jne 0x510084
jb 0x5100e8
mov cl, 0x3b
call 0x5100fb
jmp 0x5100f1
popal
jmp 0x5100f6
jmp 0x50ed00
Function at 0x4016e6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
and dword [esi + 0x30], 0
push edi
call fcn.004015ad
mov eax, dword [eax + 0x30]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov ebx, dword [edi]
jmp 0x40172c
push 0xa
push 0xa
push 0xca6204
push 0x3114b604
call fcn.00401dd2
add esp, 0xc
push eax
push dword [ebx + 0x30]
call fcn.0040161c
add esp, 0xc
test eax, eax
je 0x401735
mov ebx, dword [ebx]
cmp ebx, edi
jne 0x401704
jmp 0x4017c7
mov ebx, dword [ebx + 0x18]
test ebx, ebx
je 0x4017c7
mov eax, dword [ebx + 0x3c]
mov edi, dword [eax + ebx + 0x78]
and dword [esp + 0xc], 0
add edi, ebx
mov eax, dword [edi + 0x1c]
add eax, ebx
push ebp
mov ebp, dword [edi + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x24]
add eax, ebx
add ebp, ebx
cmp dword [edi + 0x18], 0
mov dword [esp + 0x18], eax
jbe 0x4017c3
mov eax, dword [esp + 0x10]
mov eax, dword [ebp + eax*4]
push 0x16
add eax, ebx
push 0xca61ec
push 0x40704011
mov dword [esp + 0x20], eax
call fcn.00401d84
push eax
push dword [esp + 0x24]
call fcn.00401648
add esp, 0x14
test eax, eax
je 0x4017ab
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x18]
jb 0x40176c
jmp 0x4017c3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + eax*4]
add eax, ebx
mov dword [esi + 4], eax
mov dword [esi + 0x30], ebx
pop ebp
cmp dword [esi + 0x30], 0
je 0x40192e
push 0xa
push 0xca61e0
push 0x29a1a909
call fcn.00401d84
add esp, 0xc
push eax
push esi
mov ecx, esi
call fcn.004016be
push 0xc
push 0xca61d0
push 0x13cbcee9
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 8]
push eax
mov ecx, esi
call fcn.004016be
push 0x18
push 0xca61b4
push 0x17ce53be
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0xc]
push eax
mov ecx, esi
call fcn.004016be
push 0xf
push 0xca61a4
push 0x26b30b69
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.004016be
push 0x12
push 0xca6190
push 0x3d924530
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x14]
push eax
mov ecx, esi
call fcn.004016be
push 7
push 0xca6188
push 0x2236409a
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x18]
push eax
mov ecx, esi
call fcn.004016be
push 0x14
push 0xca6170
push 0x149ccd04
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x1c]
push eax
mov ecx, esi
call fcn.004016be
push 0x11
push 0xca615c
push 0x673ebfe9
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x20]
push eax
mov ecx, esi
call fcn.004016be
push 0x11
push 0xca6148
push 0x68d29b96
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x24]
push eax
mov ecx, esi
call fcn.004016be
push 0x16
push 0xca6130
push 0x7db65c79
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x28]
push eax
mov ecx, esi
call fcn.004016be
push 0x13
push 0xca611c
push 0x65fa79df
call fcn.00401d84
add esp, 0xc
push eax
lea eax, [esi + 0x2c]
push eax
mov ecx, esi
call fcn.004016be
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret