joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412200
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004121e0
push ebp
push 0x4139e0
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x412330
movzx eax, byte [ebp - 0x20]
add eax, 0x40
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov dword [ebp - 4], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [eax - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040a9a0
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x41228a
mov eax, 0x4a72e0
push eax
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test eax, eax
jne 0x4122e0
call sub.kernel32.dll_GetLastError
call fcn.00403310
lea eax, [ebp - 0x10]
call fcn.004095c0
movzx eax, byte [ebp - 0x20]
add eax, 0x40
lea edx, [ebp - 0x14]
call fcn.00409a70
mov edx, dword [ebp - 0x14]
mov ecx, 0x484300
lea eax, [ebp - 0x10]
call fcn.004098f0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040a200
jmp 0x41237c
mov edi, esi
xor eax, eax
sub edi, 1
sbb eax, 0
mov edx, ebx
xor ecx, ecx
cmp eax, ecx
jne 0x4122f6
cmp edi, edx
je 0x412300
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040a9a0
cmp byte [0x47e5d0], 0
jne 0x41237c
lea edx, [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call fcn.0040aea0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040a320
jmp 0x41237c
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [eax - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040a9a0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x412354
mov edx, 0x4a72e0
push edx
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x47e5d0], 0
jne 0x41237c
lea edx, [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call fcn.0040aea0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040a320
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004121e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414a30
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], 0
xor eax, eax
push fcn.00414a20
push ebp
push 0x4139e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x88]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, dword [eax + 0x34]
lea eax, [ebp - 0x14]
call fcn.00407d50
push 0xf01ff
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x414a88
mov eax, 0x4a72e0
push eax
push dword [ebp - 0xc]
call fcn.0043a840
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x414a9d
call fcn.00433a10
xor eax, eax
push fcn.00414a00
push ebp
push 0x4139e0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x10]
call fcn.0043a820
test eax, eax
jne 0x414ac1
call fcn.00433a10
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00414a00
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00414a20
mov esp, ebp
pop ebp
ret
Function at 0x419980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10c]
push ebx
push esi
push edi
mov esi, eax
mov ebx, edx
mov edi, ecx
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00419970
push ebp
push 0x4139e0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp + 0xc]
push edi
push ebx
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x14], eax
test eax, eax
jne 0x419a71
cmp byte [ebp + 8], 0
je 0x419a40
push 0xff
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
mov eax, edi
call fcn.00404200
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x10c]
xor dx, dx
call fcn.00408620
lea eax, [ebp - 0xc]
xor cl, cl
xor dx, dx
call fcn.00409430
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x487c0c
mov edx, 1
call fcn.00432ea0
mov edx, 0x4199cc
mov ecx, ebp
call fcn.004138a0
mov dword [ebp - 4], edi
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x487c0c
mov edx, 1
call fcn.00432ea0
mov edx, 0x419a40
mov ecx, ebp
call fcn.004138a0
push dword [esi + 0x14]
push ebx
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x18], eax
test eax, eax
jne 0x419b31
cmp byte [ebp + 8], 0
je 0x419b00
push 0xff
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
mov eax, edi
call fcn.00404200
lea ecx, [ebp - 0xc]
lea eax, [ebp - 0x10c]
xor dx, dx
call fcn.00408620
lea eax, [ebp - 0xc]
xor cl, cl
xor dx, dx
call fcn.00409430
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x487c0c
mov edx, 1
call fcn.00432ea0
mov edx, 0x419a8f
mov ecx, ebp
call fcn.004138a0
mov dword [ebp - 4], edi
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov eax, 0x487c0c
mov edx, 1
call fcn.00432ea0
mov edx, 0x419b00
mov ecx, ebp
call fcn.004138a0
push dword [esi + 0x14]
push ebx
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x18]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00418ff0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00419970
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41e4c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov dword [eax + 0xc], 0xffffffff
push dword [eax + 4]
call sub.kernel32.dll_SuspendThread
mov esp, ebp
pop ebp
ret

Function at 0x41e4e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
push dword [eax + 4]
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x41e4fa
mov dword [ebx + 0xc], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434680
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x270]
push ebx
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov byte [ebp - 0x270], cl
lea eax, [ebp - 0x268]
mov edx, 0x48e2e0
call fcn.0040d410
xor eax, eax
push fcn.00434660
push ebp
push 0x4139e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4346c6
mov eax, 0x4a72e0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
cmp eax, 0xffffffff
jne 0x434710
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x4346e2
clc
jmp 0x4346e9
bt dword [0x48d768], eax
jb 0x434700
mov eax, ebp
call fcn.004347d0
test al, al
setne byte [ebp - 0x26c]
jmp 0x4347b0
mov byte [ebp - 0x26c], 0
jmp 0x4347b0
movzx edx, byte [ebp - 8]
mov eax, ebx
and eax, 0x10
cmp eax, dword [edx*4 + 0x47fc50]
sete byte [ebp - 0x26c]
mov al, byte [ebp - 0x26c]
and al, byte [ebp - 0x270]
je 0x4347b0
test bx, 0x400
je 0x4347b0
lea ebx, [ebp - 0x268]
mov edx, 0x48e2e0
mov eax, ebx
call fcn.0040d4f0
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.004342e0
test eax, eax
je 0x434770
sub eax, 1
je 0x434790
jmp 0x4347a0
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.00434680
mov byte [ebp - 0x26c], al
jmp 0x4347b0
mov byte [ebp - 0x26c], 1
jmp 0x4347b0
mov byte [ebp - 0x26c], 0
nop word [eax + eax]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00434660
mov al, byte [ebp - 0x26c]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4348a0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
xor eax, eax
push fcn.00434890
push ebp
push 0x4139e0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test eax, eax
jle 0x434910
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040a9a0
cmp ebx, 1
jle 0x4348fa
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040a0d0
jmp 0x43491b
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.00407d50
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00434890
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x434d90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00434d80
push ebp
push 0x4139e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 1
nop dword [eax + eax]
lea eax, [ebx*4 + 0x4a80cc]
xor edx, edx
call fcn.00407d50
mov dword [ebx*4 + 0x4a80ec], 0xffffffff
add ebx, 1
cmp ebx, 7
jle 0x434dc0
call sub.kernel32.dll_GetThreadLocale
mov ebx, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push ebx
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x434e48
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.004087a0
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0042ae80
mov esi, eax
sub eax, 3
cmp eax, 3
jae 0x434e48
push 4
push esi
push ebx
mov eax, 0x434c50
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push esi
push ebx
mov eax, 0x434cf0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00434d80
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4355a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor edx, edx
push fcn.00435570
push ebp
push 0x4139e0
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
call fcn.0042a930
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00407d50
lea eax, [ebp - 4]
mov cl, 1
mov dx, 1
call fcn.00409430
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00407d50
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x1c], eax
mov ebx, eax
jmp 0x4356ae
lea ecx, [ebp - 8]
xor dx, dx
mov eax, ebx
call fcn.00408700
mov eax, dword [ebp - 8]
test eax, eax
je 0x435637
mov eax, dword [eax - 4]
mov edi, eax
lea eax, [ebp - 8]
xor cl, cl
mov dx, 1
call fcn.00409430
mov edx, dword [ebp - 8]
mov ecx, 1
mov al, 0x3d
call fcn.00408e00
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi - 1]
mov eax, dword [ebp - 8]
mov edx, 1
call fcn.00408bc0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0042a930
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00408910
test eax, eax
jne 0x4356a8
push dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x435693
mov ecx, dword [ecx - 4]
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.00408bc0
jmp 0x4356b7
lea eax, [ebx + edi]
lea ebx, [eax + 1]
cmp byte [ebx], 0
jne 0x435620
push dword [ebp - 0x1c]
call sub.kernel32.dll_FreeEnvironmentStringsA
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00435570
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435700
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x4a8390], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x4a7f90], eax
mov eax, dword [ebp - 0x90]
mov dword [0x4a7fa0], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x4a7fb0], eax
mov eax, dword [ebp - 0x88]
mov dword [0x4a7fc0], eax
mov edx, 0x4a7fd1
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00402120
lea eax, [ebp - 0x80]
call fcn.00403be0
mov byte [0x4a7fd0], al
mov eax, 0x48d82c
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x4a83a0], eax
test eax, eax
je 0x43579f
mov eax, 0x48d838
push eax
push dword [0x4a83a0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x4a8390], eax
cmp dword [0x4a7fa0], 6
jae 0x4357bb
mov dword [0x47f520], 0
cmp dword [0x4a7fa0], 6
jb 0x4357ce
cmp dword [0x4a7fb0], 1
jb 0x4357ce
mov dword [0x47f530], 2
cmp dword [0x4a83a0], 0
je 0x435815
cmp dword [0x4a7fa0], 6
jb 0x4357f6
mov eax, str.GetTimeZoneInformationForYear
push eax
push dword [0x4a83a0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x47fc70], eax
cmp dword [0x4a83a0], 0
je 0x435815
mov eax, str.GetFinalPathNameByHandleA
push eax
push dword [0x4a83a0]
call sub.kernel32.dll_GetProcAddress
mov dword [0x47fc60], eax
mov esp, ebp
pop ebp
ret

Function at 0x43c8f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x43c914
mov eax, dword [ebp - 0xc]
mov edx, eax
call dword [eax + 0x34]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43c9b7
xor eax, eax
push 0x43c99c
push ebp
push 0x413db0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x18], 0
je 0x43c976
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_SizeofResource
mov ebx, eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x18]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00418ff0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x43c991
cmp dword [ebp - 8], 0
je 0x43c991
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x43c9b7
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x444b20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x444bd0
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x444bec
mov dword [ebp - 0x20], 0xffffffff
nop word [eax + eax]
add dword [ebp - 0x20], 1
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x444bec
sub dx, 0x20
je 0x444bc0
add dx, 0xff80
je 0x444bc0
sub dx, 0x1f62
jb 0x444bec
sub dx, 1
jbe 0x444bc0
sub dx, 6
je 0x444bc0
sub dx, 0x26
jne 0x444bec
nop dword [eax]
cmp eax, dword [ebp - 0x20]
jg 0x444b68
jmp 0x444bec
cmp dword [ebp - 0x1c], 2
jne 0x444be0
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x444bec
mov al, byte [ebp - 0xc]
call fcn.0040a660
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x444c70
sub ax, 0x21
je 0x444c90
sub ax, 0x17
je 0x444ca0
sub ax, 0x222
je 0x444cb0
sub ax, 0x392
je 0x444cc0
sub ax, 1
je 0x444cd0
sub ax, 0x1996
je 0x444ce0
sub ax, 1
je 0x444cf0
sub ax, 6
je 0x444d00
sub ax, 0xb
je 0x444d20
sub ax, 0x1b
je 0x444d10
sub ax, 0x367
je 0x444d30
jmp 0x444d40
mov ax, word [ebp - 0x24]
call fcn.0040a700
mov byte [ebp - 0x10], al
jmp 0x444d50
mov byte [ebp - 0x10], 0x20
jmp 0x444d50
mov byte [ebp - 0x10], 0x2e
jmp 0x444d50
mov byte [ebp - 0x10], 0x27
jmp 0x444d50
mov byte [ebp - 0x10], 0x2c
jmp 0x444d50
mov byte [ebp - 0x10], 0x27
jmp 0x444d50
mov byte [ebp - 0x10], 0x20
jmp 0x444d50
mov byte [ebp - 0x10], 0x20
jmp 0x444d50
mov byte [ebp - 0x10], 0x20
jmp 0x444d50
mov byte [ebp - 0x10], 0x20
jmp 0x444d50
mov byte [ebp - 0x10], 0x2d
jmp 0x444d50
mov byte [ebp - 0x10], 0x27
jmp 0x444d50
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
nop word [eax + eax]
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x46cfe0
Capabilities:
Hash data with md5

Disassembly:
push ebx
push esi
mov esi, eax
mov ebx, edx
xor cl, cl
mov edx, 0x78
call dword [0x47e650]
mov dword [esi], ebx
mov eax, ebx
test ebx, ebx
je 0x46d070
sub eax, 1
jb 0x46d080
sub eax, 1
ja 0x46d080
cmp ebx, 1
jne 0x46d020
mov eax, 0x46cad0
mov dword [esi + 4], eax
jmp 0x46d028
mov eax, 0x46c3a0
mov dword [esi + 4], eax
mov dword [esi + 8], 0x40
mov dword [esi + 0xc], 0x67452301
mov dword [esi + 0x10], 0xefcdab89
mov dword [esi + 0x14], 0x98badcfe
mov dword [esi + 0x18], 0x10325476
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
jmp 0x46d080
mov dword [esi + 8], 0x10
mov eax, 0x46ca00
mov dword [esi + 4], eax
nop
pop esi
pop ebx
ret

Function at 0x477340
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push edx
push eax
call sub.ws2_32.dll_connect
mov esp, ebp
pop ebp
ret
Function at 0x6400cbe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
daa
pop eax
add dword [eax], eax
xor ecx, 0x367c
or ecx, 0xca84
pop ecx
push ebx
push esi
add esp, 4
and ebx, 0x95f8
pop ebx
mov edx, dword [ebp - 0x5cc]
mov eax, dword [edx]
mov dword [ebp - 0x5cc], eax
mov ecx, dword [ebp - 0x5cc]
cmp ecx, dword [ebp - 0xeb4]
je 0x6400cc29
mov edx, dword [ebp - 0x5cc]
cmp dword [edx + 0x30], 0
jne 0x6400c9df
mov dword [ebp - 0x398], 0
push ecx
sub ecx, 0x17612
sub ecx, 0x10096

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

Disassembly:
sub ecx, 0x1265c
xor ecx, 0xbfca
pop ecx
push eax
push ebx
invalid

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

Disassembly:
les eax, [ecx + eax*4]
enter 0x7045, 0
add byte [ecx + 0x15b2de8], al
add byte [ecx + 0xd608e8], al
or dh, dl
add byte [eax], al
pop eax
invalid
test dword [eax - 4], ebp
invalid

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

Disassembly:
les eax, [ecx + eax*4]
enter 0x7045, 0
add byte [ecx + 0x15b2de8], al
add byte [ecx + 0xd608e8], al
or dh, dl
add byte [eax], al
pop eax
invalid
test dword [eax - 4], ebp
invalid
Function at 0x64040bc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
mov eax, ecx
push ebp
push esi
mov dword [esp + 0xc], eax
lea esi, [eax + 0x78]
mov eax, dword [esi]
push edi
cmp dword [eax + 4], 0
jne 0x64040be2
push 0x20
mov ecx, esi
call dword [0x640b0d04]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x14], eax
nop word [eax + eax]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push 0
push 1
push eax
call dword [0x640b02d8]
mov ebx, edx
mov edi, eax
and eax, ebx
cmp eax, 0xffffffff
je 0x64040dd4
mov eax, edi
or eax, ebx
je 0x64040c95
mov ecx, dword [esp + 0x1c]
cmp edi, 1
jne 0x64040c55
test ebx, ebx
jne 0x64040c55
mov eax, dword [esi]
cmp dword [eax + 4], edx
jne 0x64040c55
cmp cl, 0xb
je 0x64040c00
cmp cl, 0xa
je 0x64040c00
cmp cl, 0xd
je 0x64040c00
cmp cl, 0x20
je 0x64040c00
cmp cl, 0x1f
je 0x64040c00
add dword [esp + 0x14], 1
adc ebp, 0
cmp cl, 0xa
je 0x64040ca5
push ecx
mov ecx, esi
call dword [0x640b0cf8]
mov eax, dword [esi]
cmp dword [eax + 4], 5
jne 0x64040c88
push 0x640b7698
mov ecx, esi
call dword [0x640b0440]
test al, al
je 0x64040dee
cmp edi, 1
jne 0x64040c95
test ebx, ebx
je 0x64040c00
mov eax, dword [esp + 0x14]
mov edx, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
push 0xd
mov ecx, esi
call dword [0x640b0cfc]
test al, al
je 0x64040cc2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 4]
dec eax
push eax
call dword [0x640b0894]
mov eax, dword [esi]
cmp dword [eax + 4], 0xb
jl 0x64040de3
push str.HTTP_
mov ecx, esi
call dword [0x640b0440]
test al, al
je 0x64040de3
push 6
mov ecx, esi
call dword [0x640b0350]
cmp al, 0x2e
jne 0x64040de3
push 8
mov ecx, esi
call dword [0x640b0350]
cmp al, 0x20
jne 0x64040de3
push 5
mov ecx, esi
call dword [0x640b0350]
mov ebx, dword [esp + 0x10]
mov ecx, esi
movsx eax, al
sub eax, 0x30
push 7
mov dword [ebx + 0x50], eax
call dword [0x640b0350]
movsx eax, al
mov ecx, esi
push 9
sub eax, 0x30
push 0x20
mov dword [ebx + 0x54], eax
call dword [0x640b0358]
mov edi, eax
mov ecx, esi
lea eax, [edi - 9]
push eax
push 9
lea eax, [esp + 0x20]
push eax
call dword [0x640b035c]
push 0xa
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
call dword [0x640b0370]
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebx + 0x4c], eax
call dword [0x640b0de8]
inc eax
add eax, edi
push eax
lea eax, [esp + 0x28]
push eax
call dword [0x640b0d7c]
add esp, 0xc
lea ecx, [ebx + 0x5c]
push eax
call dword [0x640b0d88]
lea ecx, [esp + 0x20]
call dword [0x640b0d94]
cmp byte [esp + 0x2c], 0
je 0x64040dad
cmp dword [ebx + 0x50], 9
ja 0x64040dad
cmp dword [ebx + 0x54], 9
ja 0x64040dad
mov bl, 1
jmp 0x64040daf
xor bl, bl
lea ecx, [esp + 0x18]
call dword [0x640b0df0]
mov eax, dword [esp + 0x10]
mov ecx, esi
mov dword [eax + 0x3c], 2
call dword [0x640b0264]
test bl, bl
jne 0x64040c95
pop edi
pop esi
or eax, 0xffffffff
pop ebp
or edx, eax
pop ebx
add esp, 0x18
ret 4
mov eax, dword [esp + 0x10]
mov dword [eax + 0x3c], 2
mov ecx, esi
call dword [0x640b0264]
pop edi
pop esi
or eax, 0xffffffff
pop ebp
or edx, eax
pop ebx
add esp, 0x18
ret 4