joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c610
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x533e6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, 0x570934
push esi
mov dword [ebp - 0x14], ebx
push edi
mov dword [ebp - 0x10], 0
call fcn.005040ed
cmp dword [ebp + 8], 0
je 0x41c684
mov dword [ebx], 0x53a060
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [ebx]
lea esi, [ebx + 4]
push 0
push esi
mov dword [ebp + 8], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + ebx - 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.0041afb0
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00504142
mov esi, eax
add esp, 4
test esi, esi
je 0x41c6fc
push 1
mov byte [ebp - 4], 3
call fcn.00505b28
add esp, 4
mov dword [esi + 4], eax
jmp 0x41c6fe
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
pop edi
mov dword [eax], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov eax, dword [ebp - 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x421a20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53439d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov ecx, 0x570b5c
call fcn.005040ed
lea eax, [ebp - 0xd]
mov dword [ebp - 0x38], 0x61004d
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x34], 0x6e0069
push ecx
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], 0x6e0057
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x2c], 0x2e0064
mov dword [ebp - 0x28], 0x6d0078
mov dword [ebp - 0x24], 0x6c
call fcn.00404100
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 4], 0
call fcn.0046eb30
lea ecx, [ebp - 0x20]
call fcn.0040b9d0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x422a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
push esi
mov dword [ebp - 0x10], ecx
mov ecx, 0x570b5c
push edi
call fcn.005040ed
lea eax, [ebp - 0x11]
mov dword [ebp - 0x20], 0x6c0063
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0x630069
push ecx
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], 0x6b
push edx
lea ecx, [ebp - 0x6c]
call fcn.00404100
push dword [eax]
mov edi, dword [ebp + 8]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0046eef0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.0040b9d0
test bl, bl
je 0x422b10
mov esi, dword [ebp - 0x10]
push edi
lea ecx, [esi - 0x20]
call fcn.004239b0
jmp 0x422c51
lea eax, [ebp + 0xb]
mov dword [ebp - 0x3c], 0x650073
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x38], 0x65006c
push ecx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x740063
push edx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x30], 0x680063
mov dword [ebp - 0x2c], 0x6e0061
mov dword [ebp - 0x28], 0x650067
mov dword [ebp - 0x24], 0x64
call fcn.00404100
push dword [eax]
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0046eef0
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.0040b9d0
test bl, bl
je 0x422c4e
push 0
push 0x56d000
push 0x56cfe0
push 0
push dword [edi + 0x108]
call fcn.00508196
add esp, 0x14
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x5c], 0x680063
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x3e]
lea eax, [ebp + 0xb]
mov dword [ebp - 0x58], 0x630065
push eax
push ecx
lea edx, [ebp - 0x5c]
mov dword [ebp - 0x54], 0x5f006b
push edx
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x50], 0x730075
mov dword [ebp - 0x4c], 0x720065
mov dword [ebp - 0x48], 0x73005f
mov dword [ebp - 0x44], 0x650070
call fcn.00404100
mov esi, eax
mov ecx, dword [edi + 0x108]
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 4], 2
mov edx, dword [ecx]
call dword [edx + 4]
push dword [esi]
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0046eef0
lea ecx, [ebp - 0xfc]
mov bl, al
call fcn.0046ecd0
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b9d0
test bl, bl
je 0x422c4e
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x422c4e
mov ecx, eax
call fcn.00485950
mov esi, dword [ebp - 0x10]
test al, al
setne al
mov byte [esi + 0x758], al
jmp 0x422c51
mov esi, dword [ebp - 0x10]
push edi
mov ecx, esi
call fcn.00484180
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x423200
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5343c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push esi
push edi
mov ecx, 0x570b5c
call fcn.005040ed
xor eax, eax
mov dword [ebp - 0x70], 0x740068
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x6c], 0x700074
push eax
push ecx
lea edx, [ebp - 0x70]
mov dword [ebp - 0x68], 0x3a0073
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x64], 0x2f002f
mov dword [ebp - 0x60], 0x770077
mov dword [ebp - 0x5c], 0x2e0077
mov dword [ebp - 0x58], 0x700067
mov dword [ebp - 0x54], 0x630074
mov dword [ebp - 0x50], 0x720068
mov dword [ebp - 0x4c], 0x6d006f
mov dword [ebp - 0x48], 0x2e0065
mov dword [ebp - 0x44], 0x65006e
mov dword [ebp - 0x40], 0x2f0074
mov dword [ebp - 0x3c], 0x720070
mov dword [ebp - 0x38], 0x760069
mov dword [ebp - 0x34], 0x630061
mov dword [ebp - 0x30], 0x2e0079
mov dword [ebp - 0x2c], 0x740068
mov dword [ebp - 0x28], 0x6c006d
call fcn.00404100
mov esi, dword [eax]
mov dword [ebp - 4], 0
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x423378
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404ac0
test al, al
jne 0x423329
test esi, esi
jne 0x423303
xor eax, eax
jmp 0x42331f
mov eax, esi
lea edx, [eax + 2]
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423310
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00406790
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b9d0
mov esi, dword [ebp - 0x14]
push 5
push 0
push 0
push esi
push 0x53a72c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x423367
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x423390
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5343c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov ecx, 0x570b5c
call fcn.005040ed
xor eax, eax
mov dword [ebp - 0x68], 0x740068
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x64], 0x700074
push eax
push ecx
lea edx, [ebp - 0x68]
mov dword [ebp - 0x60], 0x3a0073
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x5c], 0x2f002f
mov dword [ebp - 0x58], 0x770077
mov dword [ebp - 0x54], 0x2e0077
mov dword [ebp - 0x50], 0x700067
mov dword [ebp - 0x4c], 0x630074
mov dword [ebp - 0x48], 0x720068
mov dword [ebp - 0x44], 0x6d006f
mov dword [ebp - 0x40], 0x2e0065
mov dword [ebp - 0x3c], 0x65006e
mov dword [ebp - 0x38], 0x2f0074
mov dword [ebp - 0x34], 0x730075
mov dword [ebp - 0x30], 0x720065
mov dword [ebp - 0x2c], 0x700073
mov dword [ebp - 0x28], 0x2f0065
call fcn.00404100
mov esi, dword [eax]
mov dword [ebp - 4], 0
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x4234f8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404ac0
test al, al
jne 0x4234a9
test esi, esi
jne 0x423485
xor eax, eax
jmp 0x42349f
mov eax, esi
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423490
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00406790
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b9d0
mov esi, dword [ebp - 0x14]
push 5
push 0
push 0
push esi
push 0x53a72c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4234e7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x423510
Capabilities:
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5343c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
mov ecx, 0x570b5c
call fcn.005040ed
xor eax, eax
mov dword [ebp - 0x68], 0x740068
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x64], 0x700074
push eax
push ecx
lea edx, [ebp - 0x68]
mov dword [ebp - 0x60], 0x3a0073
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x5c], 0x2f002f
mov dword [ebp - 0x58], 0x770077
mov dword [ebp - 0x54], 0x2e0077
mov dword [ebp - 0x50], 0x700067
mov dword [ebp - 0x4c], 0x630074
mov dword [ebp - 0x48], 0x720068
mov dword [ebp - 0x44], 0x6d006f
mov dword [ebp - 0x40], 0x2e0065
mov dword [ebp - 0x3c], 0x65006e
mov dword [ebp - 0x38], 0x2f0074
mov dword [ebp - 0x34], 0x69006c
mov dword [ebp - 0x30], 0x650063
mov dword [ebp - 0x2c], 0x73006e
mov dword [ebp - 0x28], 0x2f0065
call fcn.00404100
mov esi, dword [eax]
mov dword [ebp - 4], 0
call fcn.004056c0
mov ecx, eax
test ecx, ecx
je 0x423678
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00404ac0
test al, al
jne 0x423629
test esi, esi
jne 0x423605
xor eax, eax
jmp 0x42361f
mov eax, esi
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423610
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00406790
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.0040b9d0
mov esi, dword [ebp - 0x14]
push 5
push 0
push 0
push esi
push 0x53a72c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x423667
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404a90
int3
Function at 0x4247f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53439d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov ecx, 0x570cd1
call fcn.005040ed
xor eax, eax
mov dword [ebp - 0x3c], 0x6f0050
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x22]
lea eax, [ebp - 0xd]
mov dword [ebp - 0x38], 0x750070
push eax
push ecx
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0x4d0070
push edx
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x30], 0x670073
mov dword [ebp - 0x2c], 0x78002e
mov dword [ebp - 0x28], 0x6c006d
call fcn.00404100
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 4], 0
call fcn.0046eb30
lea ecx, [ebp - 0x20]
call fcn.0040b9d0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x424e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534833
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
push edi
mov ecx, 0x570e72
call fcn.005040ed
lea eax, [ebp - 0xd]
mov dword [ebp - 0x1c], 0x49005a
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0x50
push ecx
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00404100
push dword [eax]
mov dword [ebp - 4], 0
push 0x81
call fcn.004745a0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.0040b9d0
test esi, esi
je 0x424f86
push esi
call fcn.004745a0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x424f7f
push esi
call fcn.004745a0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x424f7f
push 0
push eax
push edi
call fcn.0047c920
add esp, 0xc
mov dword [ebp - 0x44], 0x650072
lea eax, [ebp - 0xd]
mov dword [ebp - 0x40], 0x2e0073
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], 0x6d0078
lea edx, [ebp - 0x44]
mov dword [ebp - 0x38], 0x6c
push eax
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00404100
mov ecx, dword [eax]
push 0
push ecx
mov eax, esp
mov dword [ebp - 4], 1
mov dword [eax], ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x56ee54]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x56e740]
cmp eax, dword [ecx + 0x10]
jg 0x424f96
mov ecx, dword [0x56e73c]
call fcn.00488710
lea ecx, [ebp - 0x34]
call fcn.0040b9d0
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x56e740
call fcn.00504504
add esp, 4
cmp dword [0x56e740], 0xffffffff
jne 0x424f6c
push 0x1f8
mov byte [ebp - 4], 2
call fcn.00504142
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x424fd1
mov ecx, eax
call fcn.00488000
jmp 0x424fd5
xor eax, eax
jmp 0x424fd5
push 0x56e740
mov dword [0x56e73c], eax
mov byte [ebp - 4], 1
call fcn.005044ba
add esp, 4
jmp 0x424f6c
Function at 0x42d330
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x1505
lea ebx, [esi + eax]
cmp esi, ebx
jae 0x42d366
mov al, byte [esi]
push eax
call fcn.0043b0d0
movsx ecx, al
inc esi
mov eax, edi
add esp, 4
shl eax, 5
add eax, edi
xor ecx, eax
mov edi, ecx
cmp esi, ebx
jb 0x42d348
mov eax, 0x4104105
mov esi, edi
mul edi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 5
mov ecx, esi
shl ecx, 6
sub ecx, esi
sub edi, ecx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4394c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4394e0
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push 0x53c02c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
mov ebx, eax
push 0x53c03c
push esi
mov dword [ebp - 8], ebx
call fcn.00519ec2
add esp, 8
test eax, eax
je 0x43952c
test ebx, ebx
je 0x43951c
push 8
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x439555
push str.AddDllDirectory
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x439555
push 0x800
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x439618
mov ecx, esi
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439571
sub ecx, ebx
sar ecx, 1
lea eax, [ecx + edx]
lea eax, [eax*2 + 2]
push eax
call dword [0x56c020]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43960e
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x43960e
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4395b0
sub ecx, edx
sar ecx, 1
mov dword [ebx + ecx*2], 0x5c
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4395d0
sub ecx, edx
sar ecx, 1
add ecx, ecx
sub ecx, esi
add ecx, ebx
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x4395e5
mov eax, dword [ebp - 8]
test eax, eax
je 0x439605
push 8
push 0
push ebx
call eax
jmp 0x43960c
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push ebx
call dword [0x56c024]
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x439630
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x56c3f4]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [ebp + 8], 2
je 0x439689
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x439676
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x439670
shr eax, 8
cmp al, 2
je 0x439689
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00504c38
mov esp, ebp
pop ebp
ret
push str.iphlpapi.dll
call fcn.004394c0
add esp, 4
mov dword [0x56e754], eax
test eax, eax
je 0x4396b4
push str.if_nametoindex
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4396b4
mov dword [0x56e750], eax
push 3
push 2
push 0
push 0
push 6
call fcn.00466bc0
add esp, 0x14
test al, al
setne byte [0x56fc74]
push 0x56fc78
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00504c38
mov esp, ebp
pop ebp
ret

Function at 0x43bf00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43bf2b
cmp dword [esi + 0x84], 0
je 0x43bf2b
push 2
push 3
push esi
call fcn.0043b690
push dword [ebp + 0xc]
call fcn.0043b980
add esp, 0x10
jmp 0x43bf3a
push dword [ebp + 0xc]
call fcn.0043b980
add esp, 4
test esi, esi
je 0x43bf4e
cmp dword [esi + 0x84], 0
je 0x43bf4e
push 3
push esi
call fcn.0043b6d0
add esp, 8
pop esi
pop ebp
ret

Function at 0x43c030
Capabilities:
Create udp socket

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43c071
mov eax, dword [esi + 0x7c]
cmp byte [eax + 0x100], 0
jne 0x43c061
push 0
call fcn.0043c030
add esp, 4
test al, al
mov eax, dword [esi + 0x7c]
setne cl
inc cl
mov byte [eax + 0x100], cl
mov eax, dword [esi + 0x7c]
pop esi
cmp byte [eax + 0x100], 2
sete al
pop ebp
ret
push 0
push 2
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
jne 0x43c087
xor al, al
pop esi
pop ebp
ret
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
pop esi
pop ebp
ret
Function at 0x446af0
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x446b0b
cmp dword [edi], 0
jne 0x446b1d
test esi, esi
je 0x446b14
cmp dword [esi], 0
jne 0x446b1d
test ebx, ebx
je 0x446b66
cmp dword [ebx], 0
je 0x446b66
push dword [ebp + 0x1c]
lea eax, [ebp - 8]
push dword [ebp + 0x18]
push eax
call fcn.0046bc90
add esp, 0xc
test ebx, ebx
je 0x446b38
cmp dword [ebx], 0
jne 0x446b3a
xor ebx, ebx
test esi, esi
je 0x446b43
cmp dword [esi], 0
jne 0x446b45
xor esi, esi
test edi, edi
je 0x446b4e
cmp dword [edi], 0
jne 0x446b50
xor edi, edi
push eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
call fcn.00446aa0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4499c0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0042dd20
push dword [ebp + 8]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x10], xmm0
call fcn.00448330
push dword [ebp + 0xc]
mov edi, eax
call fcn.00448330
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0xc
mov esi, eax
push 1
push esi
push edi
call ebx
test eax, eax
jne 0x449a47
lea eax, [ebp - 0x20]
push eax
call fcn.0042dd20
movups xmm0, xmmword [ebp - 0x10]
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.0042ddd0
add esp, 0x20
test edx, edx
ja 0x449a6a
jb 0x449a35
cmp eax, 0x3e8
ja 0x449a6a
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
push edi
call ebx
test eax, eax
je 0x449a00
test edi, edi
je 0x449a54
push edi
call fcn.0050b714
add esp, 4
test esi, esi
je 0x449a61
push esi
call fcn.0050b714
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x449a77
push edi
call fcn.0050b714
add esp, 4
test esi, esi
je 0x449a84
push esi
call fcn.0050b714
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret