joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f9b0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x622330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 0x18]
mov esi, ecx
mov dword [ebp - 0x218], eax
test edi, edi
je 0x43fad2
lea eax, [ebp - 0x210]
push eax
push 0x5f0a2c
push 1
push 0
push 0x5f0d1c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43fad2
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5f0d7c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x43fac6
mov eax, dword [ebp - 0x210]
mov ecx, dword [eax]
test esi, esi
jne 0x43fa3d
push dword [0x62ec1c]
jmp 0x43fa3e
push esi
push eax
call dword [ecx + 0x50]
mov edx, dword [ebp - 0x218]
test edx, edx
je 0x43fa59
mov eax, dword [ebp - 0x210]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x210]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [ebp - 0x21c]
test edx, edx
je 0x43fa80
mov eax, dword [ebp - 0x210]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
test ebx, ebx
je 0x43fa9f
push ebx
push edi
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.0056ec28
add esp, 0x10
jmp 0x43fb2b
push 0x5c
test esi, esi
je 0x43faa8
push esi
jmp 0x43faae
push dword [0x62ec1c]
call fcn.0056e9b4
add esp, 8
test eax, eax
jne 0x43fae5
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056bc55
mov esp, ebp
pop ebp
ret
push eax
push edi
lea eax, [ebp - 0x20c]
push 0x5f8524
push eax
call fcn.0056ec28
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43fb04
sub ecx, edx
mov eax, 0x6b
sar ecx, 1
mov dword [ebp + ecx*2 - 0x212], 0x6e006c
mov word [ebp + ecx*2 - 0x20e], ax
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov ecx, dword [ebp - 0x214]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
xor eax, eax
test esi, esi
pop edi
setns al
xor ecx, ebp
pop esi
pop ebx
call fcn.0056bc55
mov esp, ebp
pop ebp
ret
Function at 0x43fe90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x622330]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
mov esi, ecx
mov dword [esp + 8], 0
xor ecx, ecx
jmp 0x43fec0
movzx eax, word [ecx + 0x5f853c]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x26], ax
test ax, ax
jne 0x43fec0
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x43ff1b
push 0
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push 0x5f69f2
mov byte [esi], 0
call fcn.00404b60
mov eax, esi
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.0056bc55
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x10]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x43ff44
xor ecx, ecx
movzx eax, word [ecx + 0x5f8540]
lea ecx, [ecx + 2]
mov word [esp + ecx + 0x26], ax
test ax, ax
jne 0x43ff30
push dword [esp + 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x10]
call fcn.004208f0
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00404450
cmp dword [esp + 0x24], 0x10
jb 0x43ff7a
push dword [esp + 0x10]
call fcn.004462c1
add esp, 4
mov ecx, dword [esp + 0x234]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0056bc55
mov esp, ebp
pop ebp
ret

Function at 0x440950
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x61], 0
jne 0x440965
cmp byte [ecx + 0x60], 0
je 0x440965
mov byte [ecx + 0x60], 0
jmp fcn.00440970
ret
Function at 0x441630
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa229
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x622330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], 0
call fcn.0040b040
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [esi + 0x4e], al
push 4
setne al
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 1
push 6
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_setsockopt]
push 0
push 0x5f6a1a
lea ecx, [edi + 4]
mov byte [edi], 1
call fcn.00404b60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056bc55
mov esp, ebp
pop ebp
ret 4
Function at 0x445c50
Capabilities:
Receive data
Receive data on socket

Disassembly:
cmp byte [ecx + 0x2d], 0
jne 0x445c65
cmp byte [ecx + 0x2c], 0
je 0x445c65
mov byte [ecx + 0x2c], 0
jmp fcn.00445c70
ret
Function at 0x445c70
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5abd66
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x622330]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x622330]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x2d], 0
jne 0x445eb5
cmp byte [esi + 0x2c], 0
jne 0x445eb5
lea eax, [esi + 0x34]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov dword [esp + 0x4c], 0x10
mov word [esp + 0x52], ax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x54]
push eax
push 0
push dword [esi + 0x7c]
push dword [esi + 0x80]
push dword [esi + 0x28]
call dword [sym.imp.WS2_32.dll_recvfrom]
push dword [esp + 0x54]
mov edi, eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [esp + 0x52]
mov ebx, eax
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
mov dword [esp + 0x14], eax
test edi, edi
js 0x445d3b
push eax
mov eax, dword [esi + 4]
push ebx
push edi
push dword [esi + 0x80]
push esi
call eax
add esp, 0x14
jmp 0x445eab
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2746
jne 0x445def
lea ecx, [esp + 0x60]
call fcn.00405ea0
mov dword [esp + 0xb8], 0
lea ecx, [esp + 0x34]
mov edx, edi
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], edi
mov byte [esp + 0x68], 0
call fcn.00405740
push eax
mov edx, 0x5f8c20
mov byte [esp + 0xbc], 1
lea ecx, [esp + 0x20]
call fcn.004059d0
add esp, 4
lea ecx, [esp + 0x6c]
push eax
call fcn.004097a0
lea ecx, [esp + 0x1c]
call fcn.004044c0
lea ecx, [esp + 0x34]
mov byte [esp + 0xb8], 0
call fcn.004044c0
cmp byte [esi + 0x2d], 0
jne 0x445de6
cmp dword [esi + 8], 0
je 0x445de6
push dword [esp + 0x14]
lea eax, [esp + 0x64]
push ebx
sub esp, 0x24
mov ecx, esp
push eax
call fcn.00406640
mov eax, dword [esi + 8]
push esi
call eax
add esp, 0x30
lea ecx, [esp + 0x60]
jmp 0x445ea6
cmp edi, 0x2733
je 0x445eab
lea ecx, [esp + 0x84]
call fcn.00405ea0
mov dword [esp + 0xb8], 2
lea ecx, [esp + 0x1c]
mov edx, edi
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], edi
mov byte [esp + 0x8c], 1
call fcn.00405740
push eax
mov edx, str.recvfrom_error:
mov byte [esp + 0xbc], 3
lea ecx, [esp + 0x38]
call fcn.004059d0
add esp, 4
lea ecx, [esp + 0x90]
push eax
call fcn.004097a0
lea ecx, [esp + 0x34]
call fcn.004044c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 2
call fcn.004044c0
cmp byte [esi + 0x2d], 0
jne 0x445e9f
cmp dword [esi + 0xc], 0
je 0x445e9f
sub esp, 0x24
lea eax, [esp + 0xa8]
mov ecx, esp
push eax
call fcn.00406640
mov eax, dword [esi + 0xc]
push esi
call eax
add esp, 0x28
lea ecx, [esp + 0x84]
call fcn.00406610
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0056bc55
mov esp, ebp
pop ebp
ret
Function at 0x445ee0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abdb0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x622330]
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 edi, ecx
cmp byte [edi + 0x2d], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
jne 0x4460d3
lea eax, [edi + 0x4c]
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x14]
mov eax, 2
mov word [ebp - 0x44], ax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp + 0x10]
mov word [ebp - 0x42], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x10
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x4460ca
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x445fc2
xor esi, esi
jmp 0x445f80
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x10
lea eax, [ebp - 0x44]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x48]
push dword [edi + 0x28]
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jns 0x4460ca
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2733
jne 0x445fc2
inc esi
cmp esi, 0xa
jl 0x445f80
jmp 0x4460ca
push 0
push 0x5f42e5
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404b60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x7c]
mov edx, ebx
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x2c], 1
call fcn.00405740
push eax
mov edx, str.sendto_error:
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004059d0
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x44605e
cmp dword [ebp - 0x14], 0x10
jb 0x446043
push dword [ebp - 0x28]
call fcn.004462c1
add esp, 4
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00404510
cmp dword [ebp - 0x50], 0x10
jb 0x44606f
push dword [ebp - 0x64]
call fcn.004462c1
add esp, 4
mov byte [ebp - 4], 0
cmp dword [ebp - 0x68], 0x10
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
jb 0x446096
push dword [ebp - 0x7c]
call fcn.004462c1
add esp, 4
cmp byte [edi + 0x2d], 0
jne 0x4460b9
cmp dword [edi + 0xc], 0
je 0x4460b9
sub esp, 0x24
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.00406640
mov eax, dword [edi + 0xc]
push edi
call eax
add esp, 0x28
cmp dword [ebp - 0x14], 0x10
jb 0x4460ca
push dword [ebp - 0x28]
call fcn.004462c1
add esp, 4
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.0056bc55
mov esp, ebp
pop ebp
ret 0x10
Function at 0x44b018
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 0x44b05d
call fcn.00446882
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44b05d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x44b079
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00452b35
mov ebx, eax
test edi, edi
je 0x44b077
test esi, esi
je 0x44b077
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 0x4510f7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00446882
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45112e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0045114f
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x465bf9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00452164
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x465c35
call fcn.00465e18
mov dword [esi + 0xc], 1
jmp 0x465c3a
call fcn.00465e18
cmp dword [esi], 0
je 0x465c83
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x465c5d
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0044b0d0
jmp 0x465c6e
push 0xff
mov ecx, esi
call fcn.0043a870
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00448fc8
jmp 0x465ca7
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x465ca7
push dword [esi]
push dword [ebp - 4]
call fcn.00457fa8
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x465d6d
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.00465e18
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x465db5
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0044b0d0
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00448fc8
jmp 0x465dc0
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00457fa8
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x471353
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00484676
call fcn.004468d6
cmp dword [eax + 0x14], 0
jne 0x47136e
mov ecx, esi
pop esi
jmp fcn.00470731
pop esi
ret

Function at 0x47ef00
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00405730
call fcn.004468d6
cmp dword [eax + 0x14], 0
jne 0x47ef1b
mov ecx, esi
pop esi
jmp fcn.0047e7e9
pop esi
ret
Function at 0x583608
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x622330]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005763cc
mov dword [ebp - 0x14], eax
cmp dword [0x62fb4c], esi
jne 0x5836fb
push 0x800
push esi
push 0x5ecb60
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x583688
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5837db
push esi
push esi
push 0x5ecb60
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5837db
push 0x5ecb78
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5837db
push eax
call ebx
push 0x5ecb84
push edi
mov dword [0x62fb4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5ecb94
push edi
mov dword [0x62fb50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5ecba8
push edi
mov dword [0x62fb54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x62fb5c], eax
test eax, eax
je 0x5836f8
push 0x5ecbc4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x62fb58], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x583720
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x583713
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x583735
push 4
pop eax
jmp 0x5837dd
cmp dword [ebp - 0x14], esi
je 0x583735
push dword [0x62fb4c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x58371a
mov eax, dword [0x62fb58]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x583793
cmp dword [0x62fb5c], edi
je 0x583793
push eax
call ebx
push dword [0x62fb5c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x583793
test eax, eax
je 0x583793
call ecx
test eax, eax
je 0x583788
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x583788
test byte [ebp - 8], 1
jne 0x583793
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5837c3
mov eax, dword [0x62fb50]
cmp eax, edi
je 0x5837c0
push eax
call ebx
test eax, eax
je 0x5837c0
call eax
mov esi, eax
test esi, esi
je 0x5837c0
mov eax, dword [0x62fb54]
cmp eax, edi
je 0x5837c0
push eax
call ebx
test eax, eax
je 0x5837c0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x62fb4c]
call ebx
test eax, eax
je 0x5837db
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5837dd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056bc55
mov esp, ebp
pop ebp
ret
Function at 0x592bb9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x473c3c
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x50000
call fcn.00441ef0
push ebx
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20004]
push eax
push 0x7fff
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x473cf2
lea eax, [ebp - 0x20004]
push eax
lea eax, [ebp - 0x10004]
push 0x4c6e40
push eax
call fcn.0041faa3
lea eax, [ebp - 0x10004]
push eax
call fcn.004248f3
mov ebx, eax
add esp, 0x10
cmp word [ebp + ebx*2 - 0x10006], 0x5c
jne 0x473cb5
cmp word [ebp + ebx*2 - 0x10008], 0x3a
je 0x473cb5
xor eax, eax
mov word [ebp + ebx*2 - 0x10006], ax
xor edi, edi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x473cca
cmp byte [ebp + 0x10], al
je 0x473cf2
push edi
push 0x2200000
push 3
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x473cfa
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
pop edi
pop ebx
leave
ret 0xc
push 0x2fffa
lea eax, [ebp - 0x50000]
push 0
push eax
call fcn.004222d0
lea eax, [ebx + ebx]
mov dword [ebp - 0x50000], 0xa0000003
mov word [ebp - 0x4fff6], ax
add eax, 2
mov word [ebp - 0x4fff4], ax
lea eax, [ebp - 0x10004]
push 0x7fff
push eax
lea eax, [ebp - 0x4fff0]
push eax
call fcn.0042d27b
mov eax, dword [ebp - 0x4fff6]
lea ecx, [ebp + 8]
add esp, 0x18
xor edx, edx
add eax, 0xc
mov word [ebp - 0x4fffc], ax
movzx eax, ax
push edx
push ecx
push edx
push edx
add eax, 8
push eax
lea eax, [ebp - 0x50000]
push eax
push 0x900a4
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
test eax, eax
jne 0x473d89
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x473ce9
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x473cf4

Function at 0x478590
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4785f3
mov eax, dword [ebx + 0x3c]
xor esi, esi
mov edi, dword [ebx + eax + 0x78]
add edi, ebx
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x20]
add eax, ebx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
je 0x4785f1
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ecx + esi*4]
add eax, ebx
mov dword [esp], eax
call fcn.0047856c
test al, al
je 0x4785ee
lea edx, [esi + esi]
add edx, ebx
add edx, dword [edi + 0x24]
movzx eax, word [edx]
lea eax, [ebx + eax*4]
add eax, dword [edi + 0x1c]
add ebx, dword [eax]
jmp 0x4785f3
inc esi
jmp 0x4785b9
xor ebx, ebx
add esp, 0x2c
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x478665
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov esi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov ebx, dword [eax + 0xc]
mov edi, dword [ebp + 0xc]
add ebx, 0xc
mov ebx, dword [ebx]
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x478680
test edi, edi
je 0x47868f
mov dword [edi], eax
test esi, esi
je 0x4786a2
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.00478634
cmp eax, esi
jne 0x478680
mov eax, dword [ebx + 0x18]
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4786ad
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x20]
push ebx
sub esp, 0x2c
mov dword [ebp - 0x20], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.00478665
mov dword [esp + 4], 0
mov edi, eax
mov eax, dword [0x4cc200]
mov dword [esp], eax
call fcn.00478665
mov esi, dword [0x4cc1e8]
mov ebx, eax
cmp dword [esi], 0
je 0x478722
mov ecx, dword [ebp - 0x20]
mov dword [esp], ecx
call fcn.00478558
cmp byte [esi], al
je 0x47870c
cmp byte [esi + 1], al
jne 0x478819
mov dword [esp], ecx
call fcn.0047861a
cmp dword [esi + 4], eax
je 0x478722
cmp dword [esi + 8], eax
jne 0x478819
mov eax, dword [0x4cc1e4]
mov dword [ebp - 0x1c], 0
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x1000
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor edx, edx
sub esp, 0x10
mov ecx, dword [0x4cc214]
cmp ecx, edx
jbe 0x478774
mov ecx, dword [str.VirtualProtect]
mov ecx, dword [ecx + edx]
mov dword [eax + edx], ecx
mov ecx, dword [0x4cc1ec]
add edx, ecx
jmp 0x478754
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00478590
mov esi, eax
test eax, eax
je 0x478819
mov ebx, dword [0x4cc1f8]
lea ecx, [ebp - 0x1c]
mov edx, dword [0x4cc214]
mov dword [esp + 0xc], ecx
mov eax, dword [0x4cc1e0]
mov dword [esp], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
call esi
mov eax, dword [0x4cc210]
mov edx, 8
sub esp, 0x10
add edi, eax
mov ecx, dword [edi + 4]
mov eax, dword [0x4cc1e0]
cmp eax, edx
jbe 0x4787db
mov eax, dword [edi + edx]
add eax, ecx
mov dword [ebx + edx], eax
mov eax, dword [0x4cc1ec]
add edx, eax
jmp 0x4787c1
mov eax, dword [0x4cc218]
lea edi, [ebp - 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [ebx + 8], eax
mov eax, dword [0x4cc1e0]
mov dword [esp + 8], edx
mov dword [esp], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
call esi
mov eax, dword [0x4cc204]
mov edx, dword [0x4cc204]
sub esp, 0x10
add eax, dword [ebx + 0xc]
add eax, ebx
add ebx, edx
mov dword [esp], ebx
call eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]