joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459d73
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x40b]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 8], esi
mov byte [ebp - 0x40c], bl
call fcn.0043cdc0
add esp, 0xc
push ebx
push 0x80
push 2
push ebx
push 1
mov edi, 0x40000000
push edi
add esi, 0x130
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
call esi
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x459e0d
lea eax, [ebp - 0x40c]
push str._tserver_tlocal_tfileset_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
lea eax, [ebp - 0x40c]
pop ecx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x459de5
sub eax, ecx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
push ebx
push 0x80
push 2
push ebx
push 1
push edi
add eax, 0x2c
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x40c]
push str.file_thash_r_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
lea eax, [ebp - 0x40c]
pop ecx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x459e41
push ebx
lea ecx, [ebp - 0xc]
push ecx
sub eax, esi
push eax
lea eax, [ebp - 0x40c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45a1c6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push 0x479d2c
push dword [ebp + 8]
call fcn.0043a181
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x45a1e6
and dword [ebx], eax
or eax, 0xffffffff
jmp 0x45a236
push esi
push 2
push 0
push edi
call fcn.0043a78e
push edi
call fcn.0043a69f
push 0
push 0
push edi
mov esi, eax
call fcn.0043a78e
lea eax, [esi + 1]
push eax
call fcn.004381ac
push edi
push esi
push 1
push eax
mov dword [ebx], eax
call fcn.0043a3e2
add esp, 0x30
cmp esi, eax
je 0x45a22c
push dword [ebx]
call fcn.00437e81
pop ecx
push 0xfffffffffffffffe
pop eax
jmp 0x45a235
push edi
call fcn.0043a877
pop ecx
mov eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x45a24a
Capabilities:
Create directory
Get file attributes

Disassembly:
cmp byte [edi], 0
je 0x45a272
push esi
mov esi, edi
mov al, byte [esi]
cmp al, 0x5c
je 0x45a25c
cmp al, 0x2f
jne 0x45a26b
push 0
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
inc esi
cmp byte [esi], 0
jne 0x45a252
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x45a280
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
push ebx
push dword [esi + 0x20]
call edi
test eax, eax
jne 0x45a30c
mov ecx, dword [esi + 0x2a4]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x18]
xor edi, edi
mov ecx, dword [esi + 0x2a4]
call fcn.004181f0
cmp al, 1
jne 0x45a2cb
push 0x64
add ebx, 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x64
jl 0x45a2ab
push 0x103
lea eax, [ebp - 0x103]
push 0
push eax
mov byte [ebp - 0x104], 0
call fcn.0043cdc0
push ebx
lea eax, [ebp - 0x104]
push str.Slept_for__d_milliseconds_while_waiting_for_mupthread_to_shutdown_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
jmp 0x45a369
fld dword [ebp + 8]
call fcn.0043b866
cmp eax, dword [0x49a8b8]
jbe 0x45a344
push dword [esi + 0x294]
fld dword [ebp + 8]
fmul qword [0x47b510]
push dword [esi + 0x254]
push 1
push 0x3e8
call fcn.0043b866
push eax
call dword [esi + 0x250]
push 0xffffffffffffffff
push dword [0x49a8c0]
call edi
test eax, eax
jne 0x45a367
mov eax, dword [ebp + 0xc]
push dword [0x49a8c0]
add dword [0x49a284], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov al, 1
pop edi
pop ebx
leave
ret 8

Function at 0x45a507
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push edi
push 0x104
call fcn.00438be5
push dword [ebp + 8]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push dword [ebp + 0xc]
mov ebx, eax
push str._s_s.info
push ebx
call edi
push ebx
call fcn.0046d412
add esp, 0x18
test eax, eax
je 0x45a5d8
push ebx
push 0
push str.files
push 0x4796dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebp + 8]
mov dword [ebp - 4], eax
push dword [ebp + 0xc]
push str._s_s.cab
push ebx
call edi
xor edi, edi
add esp, 0x10
mov byte [ebp + 0xb], 1
cmp dword [esi + 0x2bc], edi
jbe 0x45a5ad
lea eax, [esi + 0x2a8]
mov dword [ebp + 0xc], eax
cmp byte [ebp + 0xb], 0
je 0x45a5d8
mov eax, dword [ebp + 0xc]
push ebx
push dword [eax]
call fcn.0043ab1a
pop ecx
pop ecx
test eax, eax
jne 0x45a59a
mov byte [ebp + 0xb], al
add dword [ebp + 0xc], 4
inc edi
cmp edi, dword [esi + 0x2bc]
jb 0x45a580
cmp byte [ebp + 0xb], 0
je 0x45a5d8
mov edi, dword [ebp - 4]
test edi, edi
je 0x45a5d8
push ebx
call fcn.0046d412
pop ecx
test eax, eax
je 0x45a5d8
mov eax, dword [esi + 0x2bc]
mov dword [esi + eax*4 + 0x2a8], ebx
inc dword [esi + 0x2bc]
add dword [esi + 0x2b4], edi
cmp dword [ebp - 4], 0
pop edi
setne al
pop ebx
leave
ret 8
Function at 0x45a5e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
mov esi, str.systemcomponents2_
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, str.cache_
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 8]
mov ebx, eax
mov eax, dword [edi + 0x264]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x45a620
sub eax, ecx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call fcn.00439556
add esp, 0xc
test eax, eax
jne 0x45a644
mov eax, dword [edi + 0x290]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45a64a
sub eax, esi
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.00439556
add esp, 0xc
test eax, eax
jne 0x45a676
lea eax, [ebp - 0x28]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45a66b
sub eax, edx
add ebx, eax
xor esi, esi
push 0x103
lea eax, [ebp - 0x12b]
push esi
push eax
mov dword [ebp - 8], esi
mov byte [ebp - 0x12c], 0
call fcn.0043cdc0
push ebx
push dword [ebp - 4]
lea eax, [ebp - 0x12c]
push 0x478114
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
push esi
push 0x80
push 2
push esi
push 1
mov ebx, 0x40000000
push ebx
lea eax, [ebp - 0x12c]
mov dword [ebp - 0xc], esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call esi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x45a705
lea edi, [ebp - 0x12c]
call fcn.0045caea
test eax, eax
je 0x45a72c
push 0
push 0x80
push 2
push 0
push 1
push ebx
mov eax, edi
push eax
call esi
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x45a72c
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], 1
jmp 0x45a72f
mov edi, dword [ebp + 8]
inc dword [edi + 0x2b8]
mov eax, dword [edi + 0x2b8]
push 0
push dword [edi + 0x254]
push 1
push dword [edi + 0x2b4]
push eax
call dword [edi + 0x250]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45a75c
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push esi
mov esi, eax
mov eax, dword [esi + 0x14]
test eax, eax
js 0x45a821
cmp eax, 0x22
jle 0x45a781
cmp eax, 0x27
jne 0x45a821
mov eax, dword [esi]
push edi
test eax, eax
je 0x45a7b4
mov edi, dword [eax + 8]
test edi, edi
jle 0x45a7c3
push 0
push 0x64
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0043cfe0
mov ecx, eax
mov dword [ebp - 4], edx
mov eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
push eax
push ecx
call fcn.00441de0
jmp 0x45a7c0
mov ecx, esi
call fcn.00427390
call fcn.0043b830
mov dword [ebp - 4], eax
push 0x3ff
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.0043cdc0
mov eax, dword [esi + 0x1c]
add esp, 0xc
pop edi
test eax, eax
jne 0x45a7ed
mov eax, 0x476484
mov esi, dword [esi + 0x14]
push eax
push dword [ebp - 4]
push esi
call fcn.00418b90
pop ecx
push eax
push esi
lea eax, [ebp - 0x404]
push str.__i:_s____3i_____s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x45a838
push eax
push str.Unhandled_Muppet_status_code:__i_n
call fcn.00439f10
add eax, 0x40
push eax
call fcn.0043a3ff
add esp, 0xc
pop esi
leave
ret
Function at 0x45b777
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventA]
push edi
xor edi, edi
push edi
push edi
push edi
push edi
call ebx
push edi
push edi
push edi
push edi
mov dword [ebp - 4], eax
call ebx
push edi
push edi
push 1
push edi
mov dword [esi + 0x1c], eax
call ebx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x20], eax
mov dword [esi + 0x25c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x268], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x254], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x234], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x270], eax
mov al, byte [ebp + 0x24]
push edi
mov dword [esi + 0x258], ecx
mov dword [esi + 0x250], 0x45f1b8
mov byte [esi + 0x274], al
call fcn.00437ff5
mov eax, dword [ebp + 0x10]
pop ecx
cmp eax, edi
jne 0x45b7f9
xor eax, eax
jmp 0x45b7fe
call fcn.00403708
mov dword [esi + 0x238], eax
mov al, byte [ebp + 0x28]
mov byte [esi + 0x275], al
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x278], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x27c], eax
mov eax, dword [ebp + 0x34]
mov dword [esi + 0x280], eax
mov eax, dword [ebp + 0x38]
push edi
mov dword [esi + 0x284], eax
call fcn.00437ff5
mov eax, dword [ebp + 0x3c]
pop ecx
cmp eax, edi
jne 0x45b843
xor eax, eax
jmp 0x45b848
call fcn.00403708
mov dword [esi + 0x290], eax
mov eax, dword [ebp + 0x40]
mov dword [esi + 0x298], eax
mov eax, dword [ebp + 0x44]
mov ebx, 0x1000
push ebx
mov dword [esi + 0x29c], eax
call fcn.00438be5
push ebx
push edi
push eax
mov dword [ebp + 0x24], eax
call fcn.0043cdc0
mov eax, dword [ebp + 0x24]
add esp, 0x10
mov dword [esi + 0x294], eax
cmp dword [ebp + 0x14], edi
je 0x45b89c
push edi
call fcn.00437ff5
mov eax, dword [ebp + 0x14]
pop ecx
call fcn.00403708
mov dword [esi + 0x23c], eax
push dword [ebp + 0x18]
lea eax, [esi + 0x244]
push 0x477764
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push edi
call fcn.00437ff5
mov eax, dword [ebp + 0x1c]
add esp, 0x10
cmp eax, edi
jne 0x45b8c5
xor eax, eax
jmp 0x45b8ca
call fcn.00403708
mov dword [esi + 0x260], eax
lea eax, [esi + 8]
push eax
push edi
push esi
push 0x45b2c4
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push dword [ebp - 4]
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x1c]
pop edi
pop ebx
leave
ret 0x40
Function at 0x45bc13
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [ecx]
push 3
push dword [esi + 0x264]
call dword [eax + 0x3c]
and dword [ebp - 4], 0
add esi, 0x2c
push esi
lea ebx, [ebp - 4]
call fcn.0045a1c6
pop ecx
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push dword [ebp - 4]
push str.C75A7F71_797A_11d2_8255_00A02455A490
call fcn.004053d6
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 4]
call fcn.0045a239
pop ecx
pop esi
pop ebx
leave
ret

Function at 0x45c37e
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.0043cdc0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x108]
call fcn.0045c277
push 8
call fcn.004378e5
mov ebx, eax
xor eax, eax
mov edi, ebx
stosd dword es:[edi], eax
add esp, 0x10
stosd dword es:[edi], eax
xor edi, edi
mov esi, 0x49ac40
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0043ab1a
pop ecx
pop ecx
test eax, eax
je 0x45c41a
add esi, 0x108
inc edi
cmp esi, 0x49b168
jl 0x45c3cb
xor eax, eax
push eax
push eax
push 3
push eax
push 1
push SysReAllocStringLen
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x45c433
push ebx
call fcn.004378da
pop ecx
xor eax, eax
jmp 0x45c488
imul edi, edi, 0x108
mov ecx, dword [edi + 0x49ad44]
mov dword [ebx], ecx
mov eax, dword [edi + 0x49ad44]
inc dword [eax + 8]
jmp 0x45c486
push 0xc
call fcn.004378e5
and dword [ebp - 4], 0
pop ecx
push 0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [esi + 4], eax
call fcn.004378e5
pop ecx
push 0
lea ecx, [ebp - 4]
push ecx
push dword [esi + 4]
mov dword [esi], eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push esi
mov dword [ebx], esi
push eax
mov dword [esi + 8], 1
call fcn.0045c22f
pop ecx
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45c7ee
Capabilities:
Delete directory
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x564
push ebx
push esi
push edi
mov edi, 0x103
push edi
xor esi, esi
lea eax, [esp + 0x365]
push esi
push eax
mov byte [esp + 0x36c], 0
call fcn.0043cdc0
push edi
lea eax, [esp + 0x161]
push esi
push eax
mov byte [esp + 0x168], 0
call fcn.0043cdc0
push edi
lea eax, [esp + 0x275]
push esi
push eax
mov byte [esp + 0x27c], 0
call fcn.0043cdc0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpynA]
add esp, 0x24
lea esi, [edi + 1]
push esi
push dword [ebp + 8]
lea eax, [esp + 0x260]
push eax
call ebx
push esi
push dword [ebp + 8]
lea eax, [esp + 0x368]
push eax
call ebx
push esi
push dword [ebp + 0xc]
lea eax, [esp + 0x158]
push eax
call ebx
xor ebx, ebx
push 0x13c
lea eax, [esp + 0x18]
push ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.0043cdc0
add esp, 0xc
push 0x476944
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x45c907
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x46d]
push ebx
push eax
mov byte [esp + 0x474], bl
call fcn.0043cdc0
add esp, 0xc
push ebx
push esi
lea eax, [esp + 0x470]
push eax
push ebx
push dword [esp + 0x1c]
push ebx
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
jmp 0x45c980
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, 0x476568
cmp byte [esp + 0x3c], 0x2e
je 0x45c95a
lea eax, [esp + 0x3c]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x368]
push edi
push eax
call esi
lea eax, [esp + 0x4c]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x168]
push edi
push eax
call esi
add esp, 0x20
push 1
lea eax, [esp + 0x154]
push eax
lea eax, [esp + 0x368]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x45c912
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45caea
Capabilities:
Create directory
Get file attributes

Disassembly:
cmp byte [edi], 0
je 0x45cb0d
push esi
mov esi, edi
cmp byte [esi], 0x5c
jne 0x45cb06
push 0
push edi
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [esi], 0x5c
inc esi
cmp byte [esi], 0
jne 0x45caf2
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
neg eax
sbb eax, eax
neg eax
ret
Function at 0x45cbd2
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
push esi
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
jne 0x45cc11
mov eax, 0x49b998
jmp 0x45cc9f
push edi
push esi
call fcn.004378e5
pop ecx
mov edi, eax
push edi
push esi
push dword [ebp - 0x10]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueA]
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push str.VarFileInfoTranslation
push edi
call esi
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push 0x4777b0
push ecx
push eax
lea eax, [ebp - 0x514]
push str.StringFileInfo_04x_04x_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x514]
push eax
push edi
call esi
mov eax, dword [ebp - 0xc]
mov esi, 0x49b998
mov ecx, esi
sub ecx, eax
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x45cc8b
push edi
call fcn.004378da
pop ecx
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x45cca2
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x344
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00439a7c
mov edi, 0x103
xor ebx, ebx
push edi
lea eax, [esp + 0x251]
push ebx
push eax
mov byte [esp + 0x258], bl
call fcn.0043cdc0
add esp, 0x10
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x124
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.0043cdc0
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x20], 0x128
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
lea esi, [edi + 1]
push edi
lea eax, [esp + 0x145]
push ebx
push eax
mov byte [esp + 0x14c], bl
call fcn.0043cdc0
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x150]
push esi
push eax
call fcn.00438084
lea eax, [esp + 0x158]
push eax
call fcn.00439a7c
lea eax, [esp + 0x15c]
push eax
push dword [ebp + 8]
call fcn.00438bf0
add esp, 0x24
test eax, eax
je 0x45cdad
push dword [esp + 0x20]
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push esi
lea ecx, [esp + 0x24c]
push ecx
push ebx
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x45cdad
lea eax, [esp + 0x248]
push eax
call fcn.00439a7c
push dword [ebp + 8]
lea eax, [esp + 0x250]
push eax
call fcn.00438bf0
add esp, 0xc
test eax, eax
jne 0x45cdc6
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x45cd17
jmp 0x45cdd7
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [esp + 0x14], 1
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ce39
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push esi
lea edx, [ebp - 0x108]
push edi
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x45ce4c
xor edi, edi
cmp byte [ebp - 0x108], 0
je 0x45ce90
lea esi, [ebp + edi - 0x108]
cmp byte [esi], 0x5c
jne 0x45ce85
cmp edi, 2
jle 0x45ce85
lea eax, [ebp - 0x108]
push eax
mov byte [esi], 0
call fcn.0046e306
pop ecx
mov byte [esi], 0x5c
inc edi
cmp byte [ebp + edi - 0x108], 0
jne 0x45ce61
lea eax, [ebp - 0x108]
push eax
call fcn.0046e306
pop ecx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
neg eax
sbb eax, eax
pop edi
neg eax
pop esi
leave
ret
Function at 0x45cfad
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1870
call fcn.0043cfb0
push ebx
push esi
push edi
push 0x2e
pop eax
push eax
mov dword [ebp - 0xc], eax
call fcn.004378e5
pop ecx
push dword [ebp - 0xc]
xor ebx, ebx
push ebx
push eax
mov dword [ebp - 8], eax
call fcn.0043cdc0
add esp, 0xc
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x46b]
push ebx
push eax
mov byte [ebp - 0x46c], bl
call fcn.0043cdc0
add esp, 0xc
push esi
lea eax, [ebp - 0xc6b]
push ebx
push eax
mov byte [ebp - 0xc6c], bl
call fcn.0043cdc0
add esp, 0xc
push esi
lea eax, [ebp - 0x146b]
push ebx
push eax
mov byte [ebp - 0x146c], bl
call fcn.0043cdc0
add esp, 0xc
push esi
lea eax, [ebp - 0x86b]
push ebx
push eax
mov byte [ebp - 0x86c], bl
call fcn.0043cdc0
add esp, 0xc
push esi
lea eax, [ebp - 0x106b]
push ebx
push eax
mov byte [ebp - 0x106c], bl
call fcn.0043cdc0
add esp, 0xc
push esi
lea eax, [ebp - 0x186b]
push ebx
push eax
mov byte [ebp - 0x186c], bl
call fcn.0043cdc0
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0xc6c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x146c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x86c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x106c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x186c]
mov dword [ebp - 0x30], eax
lea eax, [esi + 1]
add esp, 0xc
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x45d0c3
lea ecx, [ebp - 0x4c]
push ecx
push ebx
sub eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov esi, dword [ebp - 0x3c]
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
mov eax, dword [0x49b994]
push 2
pop edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x60], 6
cmp eax, ebx
jne 0x45d119
call fcn.004041eb
mov dword [0x49b994], eax
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push ebx
push esi
call eax
mov esi, eax
push esi
call dword [sym.imp.WSOCK32.dll_WSASetLastError]
cmp esi, ebx
jne 0x45d18e
mov esi, dword [ebp - 0x10]
jmp 0x45d18a
mov eax, dword [esi + 4]
sub eax, ebx
je 0x45d182
sub eax, edi
je 0x45d165
sub eax, 0x15
jne 0x45d187
mov eax, dword [esi + 0x18]
lea ecx, [ebp - 0xc]
push ecx
push dword [ebp - 8]
mov dword [ebp - 0xc], 0x2e
push ebx
push dword [esi + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_WSAAddressToStringA]
jmp 0x45d187
mov eax, dword [esi + 0x18]
push dword [eax + 4]
call dword [sym.imp.WSOCK32.dll_inet_ntoa]
mov edx, dword [ebp - 8]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x45d176
jmp 0x45d187
mov eax, dword [ebp - 8]
mov byte [eax], bl
mov esi, dword [esi + 0x1c]
cmp esi, ebx
jne 0x45d137
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret