joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41aff0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x198], ecx
mov ecx, dword [ebp - 0x198]
call fcn.00425ab1
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x41b02e
mov eax, 1
jmp 0x41b098
movzx ecx, word [ebp - 0x194]
cmp ecx, 2
je 0x41b047
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
jmp 0x41b098
mov ecx, dword [ebp - 0x198]
call fcn.0041d810
push 1
mov edx, dword [ebp - 0x198]
mov eax, dword [edx + 0xcc]
push eax
mov ecx, dword [ebp - 0x198]
call fcn.004072f0
push 1
mov ecx, dword [ebp - 0x198]
mov edx, dword [ecx + 0xcc]
push edx
mov ecx, dword [ebp - 0x198]
call fcn.004072f0
push 0
mov ecx, dword [ebp - 0x198]
call fcn.0042a9b8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret
Function at 0x41b150
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x418], eax
cmp dword [ebp - 0x418], 0
je 0x41b189
cmp dword [ebp - 0x418], 1
je 0x41b19e
cmp dword [ebp - 0x418], 2
je 0x41b1b3
jmp 0x41b1c6
push 0x49d55c
push 5
lea ecx, [ebp - 0xc]
push ecx
call fcn.0043e130
add esp, 0xc
jmp 0x41b1c6
push str.HEAD
push 5
lea edx, [ebp - 0xc]
push edx
call fcn.0043e130
add esp, 0xc
jmp 0x41b1c6
push str.POST
push 5
lea eax, [ebp - 0xc]
push eax
call fcn.0043e130
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x41b1d3
mov dword [ebp + 0x10], 0x49d570
cmp dword [ebp + 0x1c], 0
jne 0x41b22d
cmp dword [ebp + 0x18], 0
jne 0x41b206
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push str._s___s_HTTP_1.1_r_nHost:__s_r_nConnection:_close_r_nUser_Agent:_tcping.exe__www.elifulkerson.com__r_n_r_n
push 0x400
lea ecx, [ebp - 0x40c]
push ecx
call fcn.0043e2c7
add esp, 0x18
jmp 0x41b22b
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0xc]
push ecx
push str._s_http:___s__s_HTTP_1.1_r_nConnection:_close_r_nUser_Agent:_tcping.exe__www.elifulkerson.com__r_n_r_n
push 0x400
lea edx, [ebp - 0x40c]
push edx
call fcn.0043e2c7
add esp, 0x18
jmp 0x41b287
cmp dword [ebp + 0x18], 0
jne 0x41b25e
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push str._s___s_HTTP_1.1_r_nHost:__s_r_nConnection:_close_r_nUser_Agent:_tcping.exe__www.elifulkerson.com__r_nProxy_Authorization:_Basic__s_r_n_r_n
push 0x400
lea ecx, [ebp - 0x40c]
push ecx
call fcn.0043e2c7
add esp, 0x1c
jmp 0x41b287
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xc]
push edx
push str._s_http:___s__s_HTTP_1.1_r_nConnection:_close_r_nUser_Agent:_tcping.exe__www.elifulkerson.com__r_nProxy_Authorization:_Basic__s_r_n_r_n
push 0x400
lea eax, [ebp - 0x40c]
push eax
call fcn.0043e2c7
add esp, 0x1c
lea ecx, [ebp - 0x40c]
mov dword [ebp - 0x414], ecx
mov edx, dword [ebp - 0x414]
add edx, 1
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x414]
mov cl, byte [eax]
mov byte [ebp - 0x40d], cl
add dword [ebp - 0x414], 1
cmp byte [ebp - 0x40d], 0
jne 0x41b2a2
mov edx, dword [ebp - 0x414]
sub edx, dword [ebp - 0x41c]
mov dword [ebp - 0x420], edx
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x424], eax
push 0
mov ecx, dword [ebp - 0x424]
push ecx
lea edx, [ebp - 0x40c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x41b303
mov al, 1
jmp 0x41b305
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret
Function at 0x41b530
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x808], 0
mov dword [ebp - 0x80c], 0
mov eax, 1
test eax, eax
je 0x41b5f1
cmp dword [ebp - 0x808], 0x400
jge 0x41b59e
push 0
mov ecx, 0x400
sub ecx, dword [ebp - 0x808]
push ecx
mov edx, dword [ebp - 0x808]
lea eax, [ebp + edx - 0x404]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x80c], eax
jmp 0x41b5bc
push 0
push 0x400
lea edx, [ebp - 0x804]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x80c], eax
cmp dword [ebp - 0x80c], 0xffffffff
jne 0x41b5cf
or eax, 0xffffffff
jmp 0x41b658
cmp dword [ebp - 0x80c], 0
jne 0x41b5da
jmp 0x41b5f1
mov ecx, dword [ebp - 0x808]
add ecx, dword [ebp - 0x80c]
mov dword [ebp - 0x808], ecx
jmp 0x41b557
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x808]
mov dword [edx], eax
push 0x20
lea ecx, [ebp - 0x404]
push ecx
call fcn.0041ee40
add esp, 8
mov dword [ebp - 0x810], eax
mov edx, dword [ebp - 0x810]
add edx, 1
mov dword [ebp - 0x810], edx
push 0x20
mov eax, dword [ebp - 0x810]
push eax
call fcn.0041ee40
add esp, 8
mov dword [ebp - 0x814], eax
mov ecx, dword [ebp - 0x814]
mov byte [ecx], 0
mov edx, dword [ebp - 0x810]
push edx
call fcn.0043d1ac
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret
Function at 0x41d6f0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x41d735
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0xffffffff
je 0x41d75f
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x41d75f
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x41d770
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], 0x2e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 2
je 0x41d79e
cmp dword [ebp - 0x38], 0x17
je 0x41d7c5
jmp 0x41d7e8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x2e
lea eax, [ebp - 0x34]
push eax
call fcn.0043e2c7
add esp, 0xc
jmp 0x41d7e8
push 2
push 0
push 0
push 0x2e
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.WS2_32.dll_getnameinfo]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.00411810
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret
Function at 0x420800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489658
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x40], 0
je 0x420840
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x42084c
mov al, 1
jmp 0x4209ef
mov dword [ebp - 0x54], 8
call fcn.0041efa0
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x30]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x40], eax
call fcn.0041efa0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.0041efb0
add esp, 8
movzx eax, al
test eax, eax
je 0x42088f
xor al, al
jmp 0x4209ef
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.004203e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x28]
call fcn.00411880
mov ecx, eax
call fcn.00411cd0
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00402ae0
add esi, eax
push esi
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x28]
call fcn.00411880
mov ecx, eax
call fcn.00411cd0
push eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x48
push ecx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 0x40]
call fcn.00420fa0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x42090a
cmp dword [ebp - 0x3c], 1
je 0x420911
cmp dword [ebp - 0x3c], 3
je 0x4209ab
jmp 0x4209c3
mov eax, dword [ebp - 0x30]
mov byte [eax + 0x45], 0
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00411880
mov ecx, eax
call fcn.00411cd0
mov edx, dword [ebp - 0x2c]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x420974
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x50]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x28]
call fcn.00411880
mov ecx, eax
call fcn.00411cd0
push eax
call fcn.0043f39f
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x420974
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a80
mov al, byte [ebp - 0x34]
jmp 0x4209ef
mov ecx, dword [ebp - 0x30]
movzx edx, byte [ecx + 0x45]
test edx, edx
jne 0x420997
mov byte [ebp - 0x31], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a80
mov al, byte [ebp - 0x31]
jmp 0x4209ef
cmp dword [ebp - 0x38], 0
jne 0x4209a9
push 0
push 8
lea ecx, [ebp - 0x28]
call fcn.00402ba0
jmp 0x4209db
mov byte [ebp - 0x33], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a80
mov al, byte [ebp - 0x33]
jmp 0x4209ef
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a80
mov al, byte [ebp - 0x32]
jmp 0x4209ef
jmp 0x4208a2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret
Function at 0x422240
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
push 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_shutdown]
cmp eax, 0xffffffff
jne 0x422275
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x422307
mov edx, 1
test edx, edx
je 0x4222f2
push 0
push 0x400
lea eax, [ebp - 0x404]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0xffffffff
jne 0x4222b5
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
xor al, al
jmp 0x422307
cmp dword [ebp - 0x408], 0
je 0x4222ee
push str._bytes_read_
mov eax, dword [ebp - 0x408]
push eax
push 0x49e268
push 0x4b53d0
call fcn.0041e420
add esp, 8
mov ecx, eax
call fcn.00422380
push eax
call fcn.0041e420
add esp, 8
jmp 0x4222f0
jmp 0x4222f2
jmp 0x422275
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x422305
xor al, al
jmp 0x422307
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret

Function at 0x4282f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x428337
call fcn.0042dc4b
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x428337
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x428353
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00424cda
mov ebx, eax
test edi, edi
je 0x428351
test esi, esi
je 0x428351
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42de2b
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0042ded6
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42de73
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004261b9
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00416c90
jmp 0x42de7e
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004345e7
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x42df1a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 0x48], esi
call fcn.0042ded6
cmp dword [edi], 0
mov ebx, eax
mov dword [edi + 0xc], 1
je 0x42df8b
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00441e5c
add esp, 0x10
cmp eax, 1
je 0x42dfd9
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.0043107f
mov ecx, edi
call fcn.0042de84
jmp 0x42dfd9
call fcn.00440385
mov edi, dword [eax]
call fcn.00440385
and dword [eax], 0
lea eax, [ebp + 0x18]
push eax
push esi
push 0x3f
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.0043d293
add esp, 0x14
call fcn.00440385
cmp dword [eax], 0
je 0x42dfc8
call fcn.00440385
push dword [eax]
call fcn.004272f0
pop ecx
jmp 0x42dfcf
call fcn.00440385
mov dword [eax], edi
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.004345e7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c12e
mov esp, ebp
pop ebp
ret
Function at 0x42faf0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489ed5
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.00441ff0
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1028], ebx
cmp dword [ecx + 0x58], ebx
je 0x42fc24
push ebx
push eax
call fcn.0042fc73
mov ebx, eax
test ebx, ebx
jne 0x42fb58
push esi
jmp 0x42fc4c
call fcn.0042d08e
push eax
lea ecx, [ebp - 0x1014]
call fcn.00407560
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1024], eax
test eax, eax
jne 0x42fbe3
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.00406b60
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x1024], eax
call fcn.00416c90
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1024], 0
jne 0x42fc11
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.00406ee0
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00407600
jmp 0x42fc53
push esi
mov ecx, edi
call fcn.004065b0
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x42fc0a
test esi, esi
jne 0x42fc2d
mov esi, 0x49ece4
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.004065b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043c12e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4345e7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x4ae6e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x434679
test esi, esi
je 0x434679
push esi
call fcn.0043fa60
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.0043f9d0
mov eax, 0x100
add esp, 0x10
cmp ebx, eax
ja 0x43465e
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x43465e
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x434666
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c12e
mov esp, ebp
pop ebp
ret 8
call fcn.0042d73d
int3
Function at 0x43874b
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x48a767
call fcn.0043fe3b
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x230], ebx
call fcn.0042dc4b
push ebx
mov ecx, dword [eax + 4]
call fcn.0042f896
mov esi, eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
push 0x2001f
lea ecx, [ebp - 0x22c]
push dword [eax]
push esi
call fcn.004384fa
mov ecx, dword [ebp - 0x21c]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ecx - 0x10]
call fcn.00407600
inc bl
je 0x4388f9
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov esi, ebx
mov byte [ebp - 0x114], bl
call fcn.0043f9d0
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
jmp 0x4388b5
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc esi
mov byte [ebp - 0x218], 0
call fcn.0043f9d0
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004386e9
test eax, eax
jne 0x4388a0
lea eax, [ebp - 0x114]
push eax
lea ecx, [edi + 4]
call fcn.004376ba
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.00406d90
mov dword [ebp - 0x230], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x22c]
call ebx
test eax, eax
je 0x438823
lea ecx, [ebp - 0x22c]
call fcn.0042f87c
mov eax, dword [edi]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [ebp - 0x23c]
push dword [eax]
call fcn.00437ce9
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00407600
lea ecx, [ebp - 0x22c]
call fcn.0042f87c
lea ecx, [ebp - 0x23c]
call fcn.0042f87c
mov eax, dword [ebp - 0x230]
call fcn.0043fdea
ret
Function at 0x43a0ab
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x48a999
call fcn.0043fe3b
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x158], esi
test eax, eax
jne 0x43a0d9
call fcn.0042d73d
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x43a0d4
lea eax, [ebp - 0x154]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x43a121
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.004404bf
push eax
call fcn.004162b0
add esp, 0x14
push ebx
push edi
call fcn.0043a07e
xor eax, eax
jmp 0x43a242
cmp eax, 0x104
jb 0x43a13e
test edi, edi
je 0x43a11a
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00406d90
jmp 0x43a11a
call fcn.0042d08e
push eax
lea ecx, [ebp - 0x15c]
call fcn.00407560
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.00439a74
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x43a237
xor ecx, ecx
lea eax, [ebp - 0x160]
push ecx
push ecx
push eax
lea eax, [ebp - 0x164]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x43a1a9
push ebx
push edi
call fcn.0043a07e
lea ecx, [esi - 0x10]
call fcn.00407600
jmp 0x43a11a
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x43a1c5
push dword [ebp - 0x158]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x43a237
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x43a237
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x43a195
cmp eax, dword [ebp - 0x158]
jbe 0x43a195
lea eax, [ebp - 0x124]
push eax
call fcn.0043fa60
mov edx, dword [ebp - 0x154]
sub edx, dword [ebp - 0x158]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x43a24a
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x154]
call fcn.0043e130
push eax
call fcn.004162b0
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00407600
xor eax, eax
inc eax
call fcn.0043fdea
ret 0xc
test edi, edi
je 0x43a19c
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00406d90
jmp 0x43a19c