joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fbc0
Capabilities:
Get file size
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b375
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4c0008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
cmp dword [0x4c2118], 1
jle 0x40fc0a
xor esi, esi
jmp 0x40fda8
sub esp, 0x18
mov ecx, esp
push 0x4c2378
call fcn.0040e210
lea eax, [ebp - 0x54]
push eax
call fcn.00417d90
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 1
push eax
call fcn.0041cd70
cmp dword [eax + 0x14], 8
jb 0x40fc38
mov eax, dword [eax]
push eax
call fcn.0041d6c0
mov ecx, dword [ebp - 0x28]
mov edi, eax
cmp ecx, 8
jb 0x40fc7a
mov edx, dword [ebp - 0x3c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40fc70
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe02
push ecx
push edx
call fcn.0041dd21
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], al
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
cmp ecx, 0x10
jb 0x40fcc5
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fcbb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe02
push ecx
push edx
call fcn.0041dd21
add esp, 8
push 0x54fcc943
push edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
call fcn.0041d590
push 0x4b8df4
mov dword [ebp - 0x20], eax
call fcn.0041d6c0
push 0x6b372c05
push eax
call fcn.0041d590
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
push 0
cmovae ecx, dword [ebp + 0xc]
push 0x80
push 3
push 0
push 0
push connect
push ecx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40fd68
test edi, edi
je 0x40fd68
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40fd9d
lea ecx, [ebx + 1]
push ecx
call fcn.0041dd52
add esp, 4
mov esi, eax
lea eax, [ebp - 0x18]
push 0
push eax
push ebx
push esi
push edi
call dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
push edi
mov dword [ecx], eax
mov byte [esi + ebx], 0
call dword [ebp - 0x1c]
jmp 0x40fda8
sub esp, 0x18
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.0040e210
call fcn.0040ffe0
inc dword [0x4c2118]
lea eax, [ebp + 0xc]
sub esp, 0x18
mov dword [esi], 0
mov ecx, esp
push eax
call fcn.0040e210
push esi
mov ecx, ebx
call fcn.0040fbc0
mov dword [esi], 0
mov esi, 0x4b7db0
mov ecx, dword [ebp + 0x20]
mov dword [0x4c2118], 0
cmp ecx, 0x10
jb 0x40fde2
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40fdd8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fe07
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d890
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0047a537
call fcn.0047a537
int3
Function at 0x40ffe0
Capabilities:
Create restart manager session
Enumerate processes that use resource
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b3ad
mov eax, dword fs:[0]
push eax
mov eax, 0x1a94
call fcn.00499d90
mov eax, dword [0x4c0008]
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
push 0x42
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00473960
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push 0
lea eax, [ebp - 0x1a78]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
test eax, eax
jne 0x41014e
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x1a98]
push eax
call fcn.0041cd70
cmp dword [ebp - 0x1a84], 8
lea eax, [ebp - 0x1a98]
push 0
cmovae eax, dword [ebp - 0x1a98]
push 0
push 0
push 0
mov dword [ebp - 0x1a9c], eax
lea eax, [ebp - 0x1a9c]
push eax
push 1
push dword [ebp - 0x1a78]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
test eax, eax
jne 0x410106
lea eax, [ebp - 0x1a7c]
mov dword [ebp - 0x1a74], 0xa
push eax
lea eax, [ebp - 0x1a70]
push eax
lea eax, [ebp - 0x1a74]
push eax
lea eax, [ebp - 0x1a80]
push eax
push dword [ebp - 0x1a78]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
test eax, eax
jne 0x410106
xor esi, esi
cmp dword [ebp - 0x1a74], esi
jbe 0x410106
lea ebx, [ebp - 0x1a70]
push dword [ebx]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4100f7
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
add ebx, 0x29c
cmp esi, dword [ebp - 0x1a74]
jb 0x4100d5
push dword [ebp - 0x1a78]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
mov ecx, dword [ebp - 0x1a84]
cmp ecx, 8
jb 0x41014e
mov edx, dword [ebp - 0x1a98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x410144
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41019e
push ecx
push edx
call fcn.0041dd21
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x41017e
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410174
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4101a3
push ecx
push edx
call fcn.0041dd21
add esp, 8
xor eax, eax
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.0041d890
mov esp, ebp
pop ebp
ret 0x18
call fcn.0047a537
call fcn.0047a537
int3
Function at 0x411b90
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
lea edx, [ebp + 0x14]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x411bb8
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x411bc0
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
test ecx, ecx
jle 0x411bd9
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x411be1
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
test ecx, ecx
jle 0x411bfa
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x411c02
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
test ecx, ecx
jle 0x411c1b
dec ecx
add edx, 8
mov dword [ebp + 0x10], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x411c23
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call fcn.00411c64
Function at 0x41d590
Capabilities:
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [ebp - 0xc], eax
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
add ecx, ebx
mov eax, dword [eax + 0x18]
add edx, ebx
mov dword [ebp - 0x18], ecx
xor ecx, ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], ecx
sub eax, 1
je 0x41d691
mov edx, dword [edx + ecx*4]
xorps xmm0, xmm0
add edx, ebx
mov dword [ebp - 0x20], 0
mov eax, edx
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d5f2
sub eax, esi
lea ecx, [ebp - 0x30]
push eax
push edx
call fcn.0040e870
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x30]
mov ebx, dword [ebp - 0x30]
cmp eax, 0x10
mov edi, dword [ebp - 0x20]
mov esi, 0x811c9dc5
cmovae edx, ebx
xor ecx, ecx
test edi, edi
je 0x41d636
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x41d622
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x41d662
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x41d658
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d6ab
push ecx
push ebx
call fcn.0041dd21
add esp, 8
mov ebx, dword [ebp - 8]
cmp esi, dword [ebp + 0xc]
je 0x41d684
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
inc ecx
mov dword [ebp - 4], ecx
mov eax, dword [eax + 0x18]
dec eax
cmp ecx, eax
jae 0x41d691
mov edx, dword [ebp - 0x14]
jmp 0x41d5d3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
mov eax, dword [eax + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.0047a537
int3
Function at 0x41d6c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x4c0008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x30]
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [ebp - 0x424], esi
push edi
mov dword [ebp - 0x42c], eax
mov ebx, dword [eax]
mov dword [ebp - 0x41c], ebx
cmp ebx, eax
je 0x41d85f
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00473960
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00473960
push dword [ebx + 0x20]
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0047a954
push esi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0047a954
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0047ab31
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0047ab31
add esp, 0x40
lea ebx, [ebp - 0x414]
xor ecx, ecx
lea edx, [ebx + 2]
mov dword [ebp - 0x418], ecx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x41d783
sub ebx, edx
sar ebx, 1
mov dword [ebp - 0x428], ebx
je 0x41d845
mov ax, word [ebp - 0x20c]
lea edi, [ebp - 0x414]
mov dword [ebp - 0x420], edi
cmp word [edi], ax
jne 0x41d818
lea eax, [ebp - 0x20c]
xor esi, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d7c1
sub eax, edx
mov edx, esi
sar eax, 1
je 0x41d807
xor ebx, ebx
nop word [eax + eax]
mov cx, word [ebp + esi*2 - 0x20c]
lea edx, [ebx + 1]
cmp word [edi], cx
lea edi, [edi + 2]
cmovne edx, ebx
inc esi
mov ebx, edx
cmp esi, eax
jb 0x41d7e0
mov ebx, dword [ebp - 0x428]
mov edi, dword [ebp - 0x420]
cmp edx, eax
je 0x41d82e
mov ecx, dword [ebp - 0x418]
mov ax, word [ebp - 0x20c]
inc ecx
add edi, 2
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x420], edi
cmp ecx, ebx
jb 0x41d7b1
jmp 0x41d83f
mov eax, dword [ebp - 0x418]
lea eax, [ebp + eax*2 - 0x414]
test eax, eax
jne 0x41d874
mov esi, dword [ebp - 0x424]
mov ebx, dword [ebp - 0x41c]
mov ebx, dword [ebx]
mov dword [ebp - 0x41c], ebx
cmp ebx, dword [ebp - 0x42c]
jne 0x41d701
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d890
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, dword [eax + 0x10]
xor ecx, ebp
pop ebx
call fcn.0041d890
mov esp, ebp
pop ebp
ret 4

Function at 0x41e503
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41e542
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41e542
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41e542
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41e542
cmp dword [ecx + 0x74], 0xe
jbe 0x41e542
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x41fad4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x41faf5
jl 0x41faec
test edi, edi
jne 0x41faf5
xor eax, eax
xor edx, edx
jmp 0x41fbb6
cmp dword [ebx + 0x38], 0
je 0x41fb0a
push eax
push edi
push dword [ebp + 8]
call fcn.0041fbbc
jmp 0x41fbb6
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x41fb51
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x41fb51
cmp eax, edi
jb 0x41fb2b
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00473b00
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x41fb57
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x41fbab
mov ecx, ebx
call fcn.0041f36f
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x41fb96
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00479ce2
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x41fbab
jmp 0x41fb69
test edx, edx
je 0x41fbab
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00479ce2
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc
Function at 0x429820
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4298ac
push esi
call fcn.0043b4a0
add esp, 4
test al, al
jne 0x4298ac
push ebx
push edi
mov edi, esi
xor ebx, ebx
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x429843
sub edi, ecx
push edi
push 0x2e
push esi
call fcn.00446c30
add esp, 0xc
test eax, eax
je 0x429877
sub eax, esi
push eax
push 0x2e
push esi
call fcn.00446c30
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x429879
inc ebx
mov ecx, esi
sub ecx, ebx
add edi, ecx
test ebx, ebx
cmovne esi, ebx
mov ebx, 0x1505
add edi, esi
cmp esi, edi
jae 0x4298a5
mov al, byte [esi]
push eax
call fcn.00438250
movsx ecx, al
inc esi
mov eax, ebx
add esp, 4
shl eax, 5
add eax, ebx
xor ecx, eax
mov ebx, ecx
cmp esi, edi
jb 0x429887
pop edi
movzx eax, bl
pop ebx
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x42e4e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov eax, 0x180
mov edx, 0x140
push esi
push edi
cmp dword [ebp], 0x4c0080
mov ecx, dword [ebp + 8]
cmovne eax, edx
mov dword [esp + 0x20], ecx
add eax, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42e518
mov byte [eax], 0
mov ebx, dword [esp + 0x30]
mov esi, dword [ebx + 0x8d8]
test esi, esi
je 0x42e6cc
push dword [ecx + 8]
mov edi, dword [esi + 0x14]
call dword [0x4c003c]
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x42e571
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1c9], 0
je 0x42e57e
push dword [eax + 0x64]
call dword [0x4c003c]
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x42e586
mov edi, dword [esp + 0x30]
push edi
call dword [0x4c0034]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x18
ret
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x1ca], 0
je 0x42e59e
mov ecx, dword [eax + 0x444]
mov dword [esp + 0x14], ecx
jmp 0x42e5a6
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x42e5bc
test byte [eax + 4], 0x10
je 0x42e5bc
lea edx, [eax + 0x78]
mov dword [esp + 0x2c], edx
jmp 0x42e5c6
lea eax, [ebx + 0x8dc]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x4a4]
mov ecx, 1
cmp eax, ecx
jbe 0x42e613
mov eax, dword [ebx + 0x8d8]
add eax, 0x74
nop
cmp dword [eax - 8], 0
mov edx, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
je 0x42e60d
mov edi, dword [eax]
lea esi, [eax - 0x14]
cmp edi, edx
cmovge esi, dword [esp + 0x1c]
inc ecx
add eax, 0x60
cmp edi, edx
cmovge edi, edx
cmp ecx, dword [ebx + 0x4a4]
jb 0x42e5e0
mov eax, dword [ebx + 0x4a4]
cmp ecx, eax
jne 0x42e622
push esi
call fcn.0042ef80
add esp, 4
jmp 0x42e62e
lea esi, [ecx + ecx*2]
shl esi, 5
add esi, dword [ebx + 0x8d8]
mov eax, dword [esp + 0x34]
push dword [esi]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
call dword [0x4c0034]
push dword [esi + 4]
call dword [0x4c0034]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esi], edi
mov dword [esi + 4], ebx
mov eax, dword [eax + 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0xc]
lea ebp, [esi + 0x20]
push ebp
push dword [esp + 0x30]
mov eax, dword [eax + 0x1e0]
mov eax, dword [eax]
mov dword [esi + 8], eax
call fcn.0042dd20
add esp, 0x10
test al, al
jne 0x42e6c1
push ebp
call fcn.0042dfa0
push edi
mov dword [esi + 0xc], 0
call dword [0x4c0034]
push ebx
call dword [0x4c0034]
add esp, 0xc
mov eax, 0x1b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42e6cc
mov byte [eax], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x42ecc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, 0x180
mov eax, dword [ecx]
cmp eax, 0x4c0080
mov edx, dword [ecx + 8]
push esi
mov esi, 0x140
mov dword [esp + 0x10], edx
cmovne ebx, esi
mov byte [esp + 0xf], 1
add ebx, dword [ecx + 0xc]
mov esi, 0x3cc
cmp eax, 0x4c0080
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x28]
mov ecx, 0x434
cmovne ecx, esi
mov dword [eax], 0
add ecx, ebp
je 0x42ee5d
cmp byte [ecx + 0x3c], 0
je 0x42ee5d
cmp dword [ebp + 0x8d8], 0
je 0x42ee5d
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x42ed42
test byte [eax + 4], 0x10
je 0x42ed42
add eax, 0x78
jmp 0x42ed48
lea eax, [ebp + 0x8dc]
push edi
xor edi, edi
mov dword [esp + 0x18], eax
cmp dword [ebp + 0x4a4], edi
jbe 0x42ee26
xor ebx, ebx
nop dword [eax]
mov esi, dword [ebp + 0x8d8]
add esi, ebx
cmp dword [esi + 0xc], 0
je 0x42ee16
push dword [esi]
push dword [edx + 8]
call fcn.00438390
add esp, 8
test eax, eax
je 0x42ee12
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 4]
cmp byte [ecx + 0x1c9], 0
jne 0x42eda0
test eax, eax
je 0x42edb4
jmp 0x42ee12
test eax, eax
je 0x42ee12
push eax
push dword [ecx + 0x64]
call fcn.00438390
add esp, 8
test eax, eax
je 0x42ee12
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
cmp byte [ecx + 0x1ca], 0
jne 0x42edce
cmp eax, 0xffffffff
je 0x42eddb
jmp 0x42ee12
cmp eax, 0xffffffff
je 0x42ee12
cmp dword [ecx + 0x444], eax
jne 0x42ee12
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x30]
cmp eax, dword [esi + 0x18]
jne 0x42ee16
mov eax, dword [ecx + 0x1e0]
push dword [esi + 8]
push dword [eax]
call fcn.00438390
add esp, 8
test eax, eax
je 0x42ee12
lea eax, [esi + 0x20]
push eax
push dword [esp + 0x20]
call fcn.0042e8f0
add esp, 8
test al, al
jne 0x42ee32
mov edx, dword [esp + 0x14]
inc edi
add ebx, 0x60
cmp edi, dword [ebp + 0x4a4]
jb 0x42ed60
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
inc dword [eax]
mov eax, dword [eax]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x42ee53
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
Function at 0x436560
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
push edi
push 0x4a1e9c
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x43657a
pop edi
pop ebx
pop ecx
ret
push ebp
push esi
push str.LoadLibraryExA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x18]
mov ebp, eax
push 0x4a1eb8
push esi
call fcn.00485f50
add esp, 8
test eax, eax
je 0x4365c2
test ebp, ebp
je 0x4365b3
push 8
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
test ebp, ebp
je 0x4365e8
push str.AddDllDirectory
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4365e8
push 0x800
push 0
push esi
call ebp
pop esi
pop ebp
mov edi, eax
pop edi
pop ebx
pop ecx
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x43669f
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436605
sub ecx, ebx
lea eax, [ecx + 1]
add eax, edx
push eax
call dword [0x4c0030]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x436695
push dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x436695
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436637
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x436650
sub ecx, edx
sub ecx, esi
add ecx, ebx
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x436660
test ebp, ebp
je 0x43668c
push 8
push 0
push ebx
call ebp
push ebx
mov edi, eax
call dword [0x4c0034]
add esp, 4
mov eax, edi
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x4c0034]
add esp, 4
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
pop ecx
ret
Function at 0x43b600
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x43b63e
mov eax, dword [esi + 0x70]
cmp byte [eax + 0xf8], 0
jne 0x43b62f
push 0
call fcn.0043b600
add esp, 4
test al, al
mov eax, dword [esi + 0x70]
setne cl
inc cl
mov byte [eax + 0xf8], cl
mov eax, dword [esi + 0x70]
pop esi
cmp byte [eax + 0xf8], 2
sete al
ret
push 0
push 2
push 0x17
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, 0xffffffff
jne 0x43b653
xor al, al
pop esi
ret
push eax
call dword [sym.imp.WSOCK32.dll_closesocket]
mov al, 1
pop esi
ret
Function at 0x447380
Capabilities:
Move file

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00429ba0
push dword [esp + 0x38]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x18], xmm0
call fcn.0049a1ed
push dword [esp + 0x40]
mov edi, eax
call fcn.0049a1ed
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x447415
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax + eax]
lea eax, [esp + 0x20]
push eax
call fcn.00429ba0
movups xmm0, xmmword [esp + 0x14]
sub esp, 0xc
mov ecx, esp
sub esp, 0x10
movups xmmword [ecx], xmm0
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
call fcn.00429c50
add esp, 0x20
test edx, edx
ja 0x447439
jb 0x447407
cmp eax, 0x3e8
ja 0x447439
push 1
call ebp
push 1
push esi
push edi
call ebx
test eax, eax
je 0x4473d0
test edi, edi
je 0x447422
push edi
call fcn.004793d4
add esp, 4
test esi, esi
je 0x44742f
push esi
call fcn.004793d4
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
test edi, edi
je 0x447446
push edi
call fcn.004793d4
add esp, 4
test esi, esi
je 0x447453
push esi
call fcn.004793d4
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret