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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
jmp 0x10001b8f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x10], ecx
jge 0x10001cab
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
jne 0x10001c1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jle 0x10001c17
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x34]
push eax
push 4
push 0x1000
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001bf0
xor eax, eax
jmp 0x10001cb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.10001930
add esp, 0xc
jmp 0x10001b7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10001b30
add esp, 8
test eax, eax
jne 0x10001c3d
xor eax, eax
jmp 0x10001cb0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x34]
push edx
push 4
push 0x1000
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x10001c74
xor eax, eax
jmp 0x10001cb0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.10001980
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
jmp 0x10001b7d
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x100027b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0x1c400
mov ecx, dword [ebp - 4]
push ecx
push 0x10004070
call fcn.10001000
add esp, 8
mov dword [ebp - 0xc], eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401a30
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41b0af
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
mov eax, dword [0x42241c]
mov dword [esp + 0x20], 1
mov dword [esp + 8], eax
lea ecx, [esp + 4]
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.00401ed0
push 0
push ecx
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x2c], 3
call fcn.00411c63
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x30], 4
call fcn.00411c63
mov ecx, esi
mov byte [esp + 0x2c], 3
call fcn.00401770
test eax, eax
je 0x401aef
push ecx
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.00411c63
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00401d30
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 5
call fcn.00411fdb
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call fcn.00411eee
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [esp + 0x28]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00411c63
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x20], 2
call fcn.00411eee
lea ecx, [esp + 8]
mov byte [esp + 0x20], 1
call fcn.00411eee
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call fcn.00411eee
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 8
Function at 0x401b50
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x41b0f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x810
mov al, byte [0x425ab0]
push ebx
push esi
mov esi, ecx
push edi
mov byte [esp + 0x1c], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x1d]
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x42241c]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 0x830]
mov ebx, 1
cmp eax, 6
mov dword [esp + 0x824], ebx
ja case.0x401bb7.5
jmp dword [eax*4 + 0x401d10]
push 0
lea edx, [esp + 0x20]
push 0x26
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
jmp case.0x401bb7.5
push 0
lea eax, [esp + 0x20]
push 6
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
jmp case.0x401bb7.5
lea ecx, [esp + 0x1c]
push ecx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp case.0x401bb7.5
lea edx, [esp + 0x1c]
push 0x800
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp case.0x401bb7.5
lea eax, [esp + 0x1c]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp case.0x401bb7.5
lea ecx, [esp + 0x1c]
push 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.0041202b
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jae 0x401c6a
mov esi, dword [esp + 0x82c]
push 0x425ab0
mov ecx, esi
call fcn.00411f5c
mov dword [esp + 0x10], ebx
jmp 0x401ce0
mov byte [esp + 0x1f], 0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xc]
push eax
call fcn.0041202b
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4220d0
call fcn.00411f5c
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x834], 2
call fcn.00411c63
mov ecx, esi
mov byte [esp + 0x830], bl
call fcn.004031d0
test eax, eax
jne 0x401cc9
push 0x4220d0
lea ecx, [esp + 0x10]
call fcn.0041227e
mov esi, dword [esp + 0x82c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00411c63
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x824], 0
call fcn.00411eee
mov ecx, dword [esp + 0x81c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x81c
ret 8
Function at 0x401ed0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x108
mov al, byte [0x425ab0]
mov edx, ecx
push edi
mov byte [esp + 8], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
push 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
mov ecx, edx
stosb byte es:[edi], al
call fcn.00401b50
mov eax, dword [eax]
lea edx, [esp + 8]
push edx
push 0
push 0x425ab0
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea ecx, [esp + 4]
call fcn.00411eee
mov eax, dword [esp + 0x114]
pop edi
test eax, eax
jne 0x401f3d
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push esi
mov esi, dword [esp + 0x110]
lea edx, [esp + 8]
mov ecx, esi
push edx
call fcn.00411f5c
mov eax, esi
pop esi
add esp, 0x108
ret 8

Function at 0x401f60
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41b192
push eax
mov eax, 0x4e30
mov dword fs:[0], esp
call fcn.004060e0
push ebx
push esi
xor esi, esi
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x4e54]
mov dword [esp + 8], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov edx, dword [eax - 8]
mov dword [esp + 0x4e40], 3
cmp edx, esi
jne 0x401fc3
add ecx, 4
push ecx
lea ecx, [esp + 0x4e58]
call fcn.00411fdb
mov eax, dword [esp + 0x4e54]
cmp dword [eax - 8], esi
jne 0x401fe9
mov esi, dword [esp + 0x4e48]
push 0x425ab0
mov ecx, esi
call fcn.00411f5c
mov ebx, 1
mov dword [esp + 0xc], ebx
jmp 0x4020c3
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
push ecx
push edx
push esi
push 0x20019
push esi
push esi
push esi
push eax
mov eax, dword [esp + 0x4e78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x402024
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x425ab0
jmp 0x4020ac
mov ecx, dword [esp + 0x4e4c]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
push eax
push esi
push esi
push ecx
push edx
mov dword [esp + 0x28], 0x4e20
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402072
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x4e48]
lea ecx, [esp + 0x4e50]
push ecx
mov ecx, esi
call fcn.00411c63
jmp 0x4020ba
mov edx, dword [esp + 8]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x4020a7
mov esi, dword [esp + 0x4e48]
lea eax, [esp + 0x4e50]
push eax
mov ecx, esi
call fcn.00411c63
jmp 0x4020ba
lea ecx, [esp + 0x18]
push ecx
mov esi, dword [esp + 0x4e4c]
mov ecx, esi
call fcn.00411f5c
mov ebx, 1
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x4e4c]
mov byte [esp + 0x4e40], 2
call fcn.00411eee
lea ecx, [esp + 0x4e50]
mov byte [esp + 0x4e40], bl
call fcn.00411eee
lea ecx, [esp + 0x4e54]
mov byte [esp + 0x4e40], 0
call fcn.00411eee
mov ecx, dword [esp + 0x4e38]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4e3c
ret 0x14
Function at 0x402240
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x41b1d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 2
mov edx, dword [eax - 8]
test edx, edx
jne 0x40227c
add ecx, 4
push ecx
lea ecx, [esp + 0x24]
call fcn.00411fdb
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4022d7
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
push 0
push 0x20006
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4022cc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 8]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x402317
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 1
call fcn.00411eee
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 0
call fcn.00411eee
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00411eee
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 1
call fcn.00411eee
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10], 0
call fcn.00411eee
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0xffffffff
call fcn.00411eee
mov ecx, dword [esp + 8]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x14
ret 0x10

Function at 0x402860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41b2f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0
push 0xffffffffffffffff
push ecx
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x425ab0
mov dword [esp + 0x30], ebx
call fcn.00411f5c
push ecx
mov byte [esp + 0x30], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4220d0
call fcn.00411f5c
push ecx
lea eax, [esp + 0x40]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x38], 3
call fcn.00411c63
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
push ecx
mov ecx, esi
call fcn.004030a0
lea ecx, [esp + 0xc]
call fcn.00411eee
push 0x5c
lea ecx, [esp + 0x34]
call fcn.00411069
cmp eax, 0xffffffff
jne 0x40290b
mov esi, dword [esp + 0x2c]
push 0x425ab0
mov ecx, esi
call fcn.00411f5c
mov dword [esp + 8], ebx
jmp 0x402940
lea edx, [esp + 0xc]
push eax
push edx
lea ecx, [esp + 0x38]
call fcn.00410ff1
mov esi, dword [esp + 0x2c]
push 0x4220d0
push eax
push esi
mov byte [esp + 0x30], 4
call fcn.00412137
lea ecx, [esp + 0xc]
mov dword [esp + 8], ebx
mov byte [esp + 0x24], bl
call fcn.00411eee
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.00411eee
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 8
Function at 0x402df0
Capabilities:
Get mac address on windows

Disassembly:
push 0xffffffffffffffff
push 0x41b3cf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x18]
push edi
xor eax, eax
push ecx
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
call sub.iphlpapi.dll_GetAdaptersInfo
mov edx, dword [esp + 0x1c]
push edx
call fcn.00411c2f
add esp, 4
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
mov eax, dword [0x42241c]
mov dword [esp + 0x18], eax
mov ebx, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x10], eax
lea ecx, [esi + 8]
lea edx, [esp + 0x14]
push ecx
push 0x422124
push edx
mov byte [esp + 0x38], 3
call fcn.00411411
add esp, 0xc
lea eax, [esi + 0x10c]
lea ecx, [esp + 0x10]
push eax
push 0x422124
push ecx
call fcn.00411411
xor edx, edx
add esp, 0xc
mov dl, byte [esi + 0x199]
xor eax, eax
mov al, byte [esi + 0x198]
xor ecx, ecx
mov cl, byte [esi + 0x197]
push edx
push eax
xor edx, edx
mov dl, byte [esi + 0x196]
push ecx
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x195]
mov cl, byte [esi + 0x194]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push str._02X_02X_02X_02X_02X_02X
push edx
call fcn.00411411
mov eax, dword [esp + 0x58]
mov edi, dword [esi]
add esp, 0x20
test eax, eax
je 0x402f5c
test edi, edi
je 0x402f5c
lea eax, [edi + 8]
lea ecx, [esp + 0x14]
push eax
push 0x422124
push ecx
call fcn.00411411
add esp, 0xc
lea edx, [edi + 0x10c]
lea eax, [esp + 0x10]
push edx
push 0x422124
push eax
call fcn.00411411
xor ecx, ecx
add esp, 0xc
mov cl, byte [edi + 0x199]
xor edx, edx
mov dl, byte [edi + 0x198]
xor eax, eax
mov al, byte [edi + 0x197]
push ecx
push edx
xor ecx, ecx
mov cl, byte [edi + 0x196]
push eax
xor edx, edx
xor eax, eax
mov dl, byte [edi + 0x195]
mov al, byte [edi + 0x194]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push str._02X_02X_02X_02X_02X_02X
push ecx
call fcn.00411411
mov edi, dword [edi]
add esp, 0x20
jmp 0x402edd
push esi
call fcn.00411c58
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, ebx
jne 0x402f90
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call fcn.00411c63
mov esi, dword [esp + 0x38]
mov ecx, ebp
push esi
call fcn.004036d0
mov dword [esp + 0x20], ebx
jmp 0x402fc8
cmp eax, 2
jne 0x402fb4
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call fcn.00411c63
mov esi, dword [esp + 0x38]
mov ecx, ebp
push esi
call fcn.004036d0
jmp 0x402fc4
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00411c63
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00411eee
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], bl
call fcn.00411eee
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 0
call fcn.00411eee
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0xc
Function at 0x4039d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x41b5e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x1c], 0
mov edi, 1
mov dword [esp + 0x168], edi
mov eax, dword [0x42241c]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x174]
push 0x4220d0
lea edx, [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x174], 3
call fcn.00412137
lea ecx, [esp + 0x178]
lea edx, [esp + 0x10]
push ecx
push eax
push edx
mov byte [esp + 0x174], 4
call fcn.004120d1
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00411eee
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 3
call fcn.00411eee
cmp esi, 0xffffffff
jne 0x403a93
mov esi, dword [esp + 0x170]
push 0x425ab0
mov ecx, esi
call fcn.00411f5c
mov dword [esp + 0x1c], edi
jmp 0x403bf0
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov eax, dword [esp + 0x17c]
test eax, eax
jne 0x403abf
mov edx, dword [esp + 0x20]
and edx, 0x10
cmp dl, 0x10
jne 0x403b25
lea eax, [esp + 0x20]
push eax
push esi
call ebp
mov edi, eax
jmp 0x403b73
mov ecx, dword [esp + 0x20]
and ecx, 0x10
cmp cl, 0x10
je 0x403ada
lea edx, [esp + 0x20]
push edx
push esi
call ebp
mov edi, eax
jmp 0x403b73
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
call fcn.00411f5c
mov ecx, dword [esp + 0x10]
push 0x422144
push ecx
call fcn.004061ea
add esp, 8
test eax, eax
je 0x403b58
mov edx, dword [esp + 0x10]
push 0x422140
push edx
call fcn.004061ea
add esp, 8
test eax, eax
je 0x403b58
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 3
call fcn.00411eee
mov eax, dword [esp + 0x180]
push 1
push eax
push ecx
lea edx, [esp + 0x58]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00411f5c
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.004038d0
lea ecx, [esp + 0x20]
push ecx
push esi
call ebp
mov edi, eax
jmp 0x403b73
lea edx, [esp + 0x20]
push edx
push esi
call ebp
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x168], 3
call fcn.00411eee
test edi, edi
jne 0x403a99
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x184]
test eax, eax
je 0x403bd5
mov eax, dword [esp + 0x180]
lea edx, [esp + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00411c63
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.00403520
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x16c], 6
call fcn.00411fdb
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 3
call fcn.00411eee
mov esi, dword [esp + 0x170]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00411c63
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 2
call fcn.00411eee
lea ecx, [esp + 0x174]
mov byte [esp + 0x168], 1
call fcn.00411eee
lea ecx, [esp + 0x178]
mov byte [esp + 0x168], 0
call fcn.00411eee
mov ecx, dword [esp + 0x160]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret 0x18
Function at 0x404350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41b747
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esp + 0xc]
push 0
mov ecx, dword [esi + 0xc0]
push eax
mov dword [esp + 0x28], 0
call fcn.00401b50
mov ebx, 1
push 0
push 0x5c
push ebx
push ecx
mov dword [esp + 0x40], ebx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x42226c
call fcn.00411f5c
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
mov byte [esp + 0x48], 2
call fcn.00411c63
mov ecx, dword [esi + 0xc0]
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x48], bl
call fcn.004039d0
push 0x4220d0
push 0
push 0x5c
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 3
call fcn.00411c63
mov ecx, dword [esi + 0xc0]
lea eax, [esp + 0x2c]
push eax
call fcn.00402d00
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov byte [esp + 0x40], 4
call fcn.004120d1
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x3c], 5
call fcn.00412137
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 6
call fcn.00411fdb
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.00411eee
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call fcn.00411eee
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.00411eee
push ebx
push 0
push 0
push ebx
mov ecx, dword [esi + 0xc0]
push 0
call fcn.004038a0
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esi + 0xc0]
call fcn.00403770
mov edi, eax
mov ecx, dword [esi + 0xc0]
push 0
push ebx
push 0
push 7
push 5
mov byte [esp + 0x44], 7
call fcn.004038a0
mov ecx, dword [esi + 0xc0]
lea edx, [esp + 0x20]
push eax
push edx
call fcn.00403770
push eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x3c], 8
call fcn.004120d1
push edi
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x3c], 9
call fcn.004120d1
mov esi, dword [esp + 0x38]
push str..exe
push eax
push esi
mov byte [esp + 0x3c], 0xa
call fcn.00412137
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 9
call fcn.00411eee
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 8
call fcn.00411eee
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 7
call fcn.00411eee
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 3
call fcn.00411eee
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.00411eee
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.00411eee
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 4
Function at 0x404560
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41b77f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x42241c]
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], 1
cmp eax, 6
ja case.default.0x40459e
jmp dword [eax*4 + 0x404630]
push str.6c78787429374529364a29364a6873737174373272697829364a756670736b29364a
jmp 0x4045d4
push str.57534a585b455649293947293947516d67767377736a782939472939475b6d7268737b77293947293947477976766972785a6976776d7372293947293947567972
jmp 0x4045d4
push str.4568736669
jmp 0x4045d4
push str.67636d726d7832746c7429374a74636d682937487374697229363a716567293748
jmp 0x4045d4
push str.67637065777832746c7429374a74636d682937487374697229363a716567293748
jmp 0x4045d4
push str.67637374697232746c74
jmp 0x4045d4
push str.7374697232746c7429374a71293748
lea ecx, [esp + 0xc]
call fcn.0041202b
push 4
push 1
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00411c63
mov esi, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc4]
push esi
call fcn.00401170
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.00411eee
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 8

Function at 0x4107e1
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x410801
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00407787
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x410824
test byte [esp + 8], 2
je 0x410824
call fcn.004077fa
mov dword [eax], 0xd
call fcn.00407803
mov dword [eax], 5
jmp 0x4107fd
xor eax, eax
ret

Function at 0x418540
Capabilities:
Create http request

Disassembly:
mov eax, 0x41b9e8
call fcn.00406ce8
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x418578
call fcn.0041a4ca
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x41859d
push eax
push dword [esi + 4]
call fcn.0041919c
jmp 0x4185a9
push esi
push eax
mov ecx, 0x425d60
call fcn.004185ba
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18