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

Disassembly:
push 0xffffffffffffffff
push 0x42c804
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push esi
push edi
mov esi, ecx
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
cmp dword [esp + 0x20], 0x10
mov edi, dword [esp + 0xc]
mov dword [esp + 0x2c], 0
jae 0x40e172
lea edi, [esp + 0xc]
push 0x2e
push edi
call dword [sym.imp.MSVCR71.dll_strchr]
add esp, 8
test eax, eax
jne 0x40e1a9
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push ebx
lea ebx, [eax + 1]
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x40e1dd
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
push ebp
lea ebp, [esi + 4]
push edi
mov ecx, ebp
call fcn.0041d3f0
mov esi, eax
test esi, esi
jne 0x40e22e
push 0x146c
call fcn.0042abe2
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x34], 1
je 0x40e214
mov ecx, eax
call fcn.0041fc00
mov esi, eax
jmp 0x40e216
xor esi, esi
push edi
lea ecx, [esi + 4]
mov byte [esp + 0x38], 0
call dword [0x42e160]
push esi
push edi
mov ecx, ebp
call fcn.0041d2f0
push ebx
mov ecx, esi
call fcn.0041edb0
test eax, eax
pop ebp
jne 0x40e1b5
mov ecx, dword [esp + 0x3c]
push ecx
push ebx
mov ecx, esi
call fcn.0040dea0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x28]
pop ebx
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x40f6a0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x443dd8]
sub esp, 0x400
test eax, eax
je 0x40f6f9
mov eax, dword [0x443ddc]
test eax, eax
jne 0x40f6bd
call fcn.0040f480
mov ecx, dword [esp + 0x404]
lea eax, [esp + 0x408]
push eax
push ecx
lea edx, [esp + 8]
push 0x3ff
push edx
call dword [sym.imp.MSVCR71.dll__vsnprintf]
add esp, 0x10
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp]
push ecx
mov ecx, dword [0x443ddc]
call fcn.0040f090
add esp, 0x400
ret
Function at 0x40fb20
Capabilities:
Check if file exists
Create directory
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x610
push ebx
push ebp
push esi
mov ebx, ecx
push edi
lea ebp, [ebx + 0x1c]
lea esi, [ebx + 0x224]
push str.shfolder.dll
mov dword [ebx + 0x18], 0
mov word [ebp], 0
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esp + 0x18], eax
je 0x40fc97
push str.SHGetFolderPathW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x40fb9e
push esi
push 0
push 0
push 0x801c
push 0
call edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40fb9e
push esi
push 0
push 0
push 0x8005
push 0
call edi
lea eax, [esp + 0x20]
push str.MediaServer
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push 0x20019
xor edi, edi
push edi
push str.SoftWareCyberlinkMedia_Server
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40fc54
mov dword [esp + 0x14], edi
mov word [esp + 0x220], di
mov ecx, 0xfe
lea edi, [esp + 0x222]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
stosw word es:[edi], ax
lea eax, [esp + 0x224]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.Main
push edx
mov dword [esp + 0x34], 0x1fe
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40fc41
push eax
lea eax, [esp + 0x24]
push eax
push 0
lea ecx, [esp + 0x22c]
push 0
push ecx
call dword [sym.imp.MSVCR71.dll__wsplitpath]
add esp, 0x14
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
mov edi, dword [sym.imp.MSVCR71.dll_wcscat]
push 0x4352fc
push esi
call edi
lea eax, [esp + 0x28]
push eax
push esi
call edi
push 0x4352fc
push esi
call edi
add esp, 0x18
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40fc8a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40fc9d
mov edi, dword [sym.imp.MSVCR71.dll_wcscat]
push esi
push ebp
call dword [sym.imp.MSVCR71.dll_wcscpy]
push str.Trace.log
push ebp
call edi
mov eax, dword [ebx + 0x18]
add esp, 0x10
test eax, eax
je 0x40fcc1
push eax
call dword [sym.imp.MSVCR71.dll_fclose]
add esp, 4
push 0x4353d8
push ebp
call dword [sym.imp.MSVCR71.dll__wfopen]
add esp, 8
push ebx
mov dword [ebx + 0x18], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
pop edi
mov eax, ebx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fcf0
Capabilities:
Create directory

Disassembly:
sub esp, 0x510
push esi
mov esi, dword [esp + 0x518]
test esi, esi
push edi
mov edi, ecx
je 0x40fe60
mov eax, dword [esp + 0x524]
push esi
lea ecx, [edi + 0x20]
mov dword [edi + 4], eax
call dword [0x42e160]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40fd22
sub eax, edx
cmp eax, 3
jbe 0x40fda0
cmp byte [esi + 1], 0x3a
je 0x40fda0
push 0x104
lea ecx, [esp + 0x10]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0xc]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40fd50
sub eax, edx
lea ecx, [esp + eax + 0xb]
je 0x40fd6e
nop
mov dl, byte [ecx - 1]
dec eax
dec ecx
cmp dl, 0x5c
je 0x40fd73
test eax, eax
jne 0x40fd60
cmp byte [ecx], 0x5c
jne 0x40fd8c
lea edx, [ecx + 1]
mov eax, esi
sub edx, esi
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40fd80
jmp 0x40fdb2
lea edx, [esp + 0xc]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40fd94
jmp 0x40fdb2
lea edx, [esp + 0xc]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x40fda8
push ebx
mov bl, byte [esp + 0x524]
test bl, bl
mov eax, 0x4354e0
jne 0x40fdc8
mov eax, 0x4340d4
mov esi, dword [sym.imp.MSVCR71.dll_fopen]
push eax
lea edx, [esp + 0x14]
push edx
call esi
add esp, 8
test eax, eax
mov dword [edi], eax
jne 0x40fe55
lea eax, [esp + 0x31c]
push eax
lea ecx, [esp + 0x420]
push ecx
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.MSVCR71.dll__splitpath]
lea edx, [esp + 0x12c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x234]
push 0x4354d8
push ecx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x24
push 0
lea edx, [esp + 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test bl, bl
mov eax, 0x4354e0
jne 0x40fe48
mov eax, 0x4340d4
push eax
lea eax, [esp + 0x14]
push eax
call esi
add esp, 8
mov dword [edi], eax
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
pop ebx
pop edi
pop esi
add esp, 0x510
ret 0xc

Function at 0x410180
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov eax, dword [ecx + 0x10]
test eax, eax
jge 0x41018c
xor al, al
pop ecx
ret
lea ecx, [esp]
push ecx
push 0x8004667e
push eax
mov dword [esp + 0xc], 1
call sub.WS2_32.dll_ioctlsocket
test eax, eax
setge al
pop ecx
ret
Function at 0x41a130
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x14
mov eax, dword [0x43e4a0]
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
push edi
mov dword [esp + 0x18], eax
mov edi, ecx
je 0x41a1f6
push 0
push 1
push 2
mov dword [esi + 0xc], edi
call sub.WS2_32.dll_socket
test eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 8], 1
jl 0x41a1f6
push 4
lea ecx, [esp + 0x24]
push ecx
push 8
push 0xffff
push eax
mov dword [esp + 0x34], 0x1c20
call sub.WS2_32.dll_setsockopt
test eax, eax
jl 0x41a1f6
mov eax, dword [esp + 0x24]
xor edx, edx
test eax, eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov word [esp + 8], 2
je 0x41a1b5
push eax
call sub.WS2_32.dll_inet_addr
jmp 0x41a1bc
push 0
call sub.WS2_32.dll_htonl
mov dword [esp + 0xc], eax
xor eax, eax
mov ax, word [esi + 0x20]
push eax
call sub.WS2_32.dll_htons
mov edx, dword [esi + 0x14]
push 0x10
lea ecx, [esp + 0xc]
push ecx
push edx
mov word [esp + 0x16], ax
call sub.WS2_32.dll_bind
test eax, eax
jl 0x41a1f6
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x14]
push eax
push ecx
call sub.WS2_32.dll_listen
test eax, eax
jge 0x41a209
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x10]
call fcn.0042b32d
add esp, 0x14
ret 8
mov edx, dword [edi + 0x1c]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x2408]
add esi, 4
mov dword [edi + eax*4 + 0x244c], esi
inc dword [edi + 0x2408]
mov ecx, dword [edi + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0x18]
pop edi
mov al, 1
pop esi
call fcn.0042b32d
add esp, 0x14
ret 8
Function at 0x41b380
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
test edi, edi
mov esi, ecx
je 0x41b39e
mov dword [edi + 0xc], esi
call sub.WINMM.dll_timeGetTime
mov ecx, edi
mov dword [edi + 0x6c], eax
call fcn.00410b30
mov eax, dword [esi + 0x1c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x41b3b3
lea eax, [edi + 4]
jmp 0x41b3b5
xor eax, eax
mov ecx, dword [esi + 0x2408]
mov dword [esi + ecx*4 + 0x244c], eax
mov eax, dword [esi + 0x2408]
mov edx, dword [esi + 0x1c]
inc eax
push edx
mov dword [esi + 0x2408], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [esi + 0x240c]
push 0x10
lea eax, [esi + 0x2414]
push eax
push 0
push 4
lea ecx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], 1
call sub.WS2_32.dll_sendto
pop edi
pop esi
ret 4

Function at 0x41c1c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push 0x10
lea eax, [esi + 0x2414]
push eax
xor ebx, ebx
push ebx
push 4
lea ecx, [esp + 0x18]
mov dword [0x44421c], 1
mov edx, dword [esi + 0x240c]
push ecx
push edx
mov dword [esp + 0x20], 6
call sub.WS2_32.dll_sendto
mov eax, dword [esi + 0x2424]
cmp eax, ebx
je 0x41c209
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x44]
cmp eax, ebx
push edi
je 0x41c238
mov edi, dword [esi + 0x48]
sub edi, eax
sar edi, 2
cmp edi, ebx
je 0x41c238
lea ecx, [ecx]
mov eax, dword [esi + 0x44]
dec edi
mov ecx, dword [eax + edi*4]
cmp ecx, ebx
lea eax, [eax + edi*4]
je 0x41c234
mov edx, dword [ecx]
push 1
call dword [edx]
cmp edi, ebx
jne 0x41c220
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x41c248
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x41c27c
mov edi, dword [esi + 0x28]
sub edi, eax
sar edi, 2
cmp edi, ebx
je 0x41c27c
mov eax, dword [esi + 0x24]
dec edi
mov ecx, dword [eax + edi*4]
cmp ecx, ebx
lea eax, [eax + edi*4]
je 0x41c278
mov edx, dword [ecx]
push 1
call dword [edx]
cmp edi, ebx
jne 0x41c264
mov eax, dword [esi + 0x24]
cmp eax, ebx
pop edi
je 0x41c28d
push eax
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
pop esi
pop ebx
pop ecx
ret
Function at 0x41c340
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x42cfeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
push 0x30
mov edi, ecx
call fcn.0042abe2
add esp, 4
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x14], 0
je 0x41c384
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, eax
call fcn.004239c0
mov esi, eax
jmp 0x41c386
xor esi, esi
push 4
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x24], esi
mov dword [esi + 0x1c], 1
call fcn.0042ad1c
mov edx, dword [esp + 0x20]
push esi
push 0
mov dword [esi + 0x20], eax
push 0x41a040
mov dword [esi + 0x28], edx
call dword [sym.imp.MSVCR71.dll__beginthread]
mov ecx, dword [esi + 0x20]
mov dword [ecx], eax
mov edx, dword [edi + 0x44]
lea ecx, [edi + 0x40]
add esp, 0x10
test edx, edx
jne 0x41c3ce
xor edi, edi
jmp 0x41c3d6
mov edi, dword [ecx + 8]
sub edi, edx
sar edi, 2
test edx, edx
je 0x41c406
mov eax, dword [ecx + 0xc]
sub eax, edx
sar eax, 2
cmp edi, eax
jae 0x41c406
mov eax, dword [ecx + 8]
mov dword [eax], esi
add eax, 4
mov dword [ecx + 8], eax
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov eax, dword [ecx + 8]
lea edx, [esp + 0x20]
push edx
push 1
push eax
call fcn.0041bd40
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x41c850
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
push ebx
mov ebx, ecx
je 0x41c950
push esi
push edi
mov edi, str.StartThread
mov esi, eax
mov ecx, 0xc
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41c891
push edx
push edx
push 0x41b880
call dword [sym.imp.MSVCR71.dll__beginthread]
add esp, 0xc
pop edi
mov dword [ebx + 0x2424], eax
pop esi
xor eax, eax
pop ebx
ret 0xc
mov edi, str.Start
mov esi, eax
mov ecx, 6
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41c8b2
mov ecx, ebx
call fcn.0041aac0
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
mov esi, eax
mov edi, str.PluginModule
mov ecx, 0xd
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x41c94e
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 4]
test eax, eax
je 0x41c94e
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
jb 0x41c94e
mov ecx, dword [eax]
mov dl, byte [ecx + 1]
and dl, 0xcf
cmp dl, 0xd
jne 0x41c94e
mov eax, ecx
mov dword [esp + 0x10], 0
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
lea eax, [esp + 0x10]
push eax
push str.CModule
call dword [edx + 0x14]
mov esi, dword [esp + 0x10]
test esi, esi
je 0x41c94e
mov ecx, edi
call fcn.00401310
cmp eax, 2
jb 0x41c944
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
mov dl, byte [ecx + 1]
and dl, 0xcf
cmp dl, 4
jne 0x41c944
call fcn.0041a010
push eax
mov ecx, ebx
push esi
call fcn.0041c760
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
push 0
mov ecx, ebx
push esi
call fcn.0041c760
pop edi
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x41fc00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x42d1d7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [esp + 0xc], esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
lea edi, [esi + 0x3c]
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.0041c980
mov eax, dword [edi + 8]
mov dword [edi], 0x42eadc
mov dword [edi + 0x14], eax
mov word [edi + 0x1414], bx
push ebx
push ebx
push ebx
mov dword [esi + 0x1460], ebx
mov dword [esi + 0x145c], ebx
mov dword [esi + 0x1464], ebx
mov dword [esi + 0x1454], ebx
mov dword [esi + 0x1458], ebx
mov dword [esi], ebx
mov dword [esi + 0x1468], ebx
mov dword [esi + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x28], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x423ec0
Capabilities:
Read file on windows
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
mov edx, dword [esi + 0x14]
test edx, edx
je 0x423ed6
mov al, byte [esi + 4]
test al, 1
jne 0x423eda
or al, 8
mov byte [esi + 4], al
xor al, al
pop esi
ret
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x18]
cmp ecx, eax
push edi
jne 0x423f74
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov edi, 0x2000
test byte [esi + 4], 2
push ebp
je 0x423ffa
mov eax, dword [esi + 0x24]
test eax, eax
je 0x423f45
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ebp, eax
mov eax, dword [esi + 0x20]
cmp ebp, eax
jbe 0x423fb0
mov edx, dword [esi + 0x24]
mov ecx, ebp
sub ecx, eax
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul ecx, eax
cmp edi, ecx
jle 0x423f42
mov edi, ecx
mov dword [esi + 0x20], ebp
test byte [esi + 4], 0x10
push 0
je 0x423fb9
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 8]
push 0
push 0
push edi
add ecx, eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
jg 0x424015
xor eax, eax
jmp 0x424015
cmp eax, 0x2000
jl 0x423f9c
test ecx, ecx
jle 0x423fab
sub eax, ecx
push eax
add ecx, edx
push ecx
push edx
mov dword [esi + 0x18], eax
call dword [sym.imp.MSVCR71.dll_memmove]
mov eax, dword [esi + 0x18]
add esp, 0xc
mov dword [esi + 0x1c], 0
mov edi, 0x2000
sub edi, eax
test edi, edi
jne 0x423efc
pop edi
mov al, 1
pop esi
ret
mov dword [esi + 0x20], ebp
pop ebp
pop edi
mov al, 1
pop esi
ret
mov eax, dword [esi + 0x18]
mov ebp, dword [esi + 0x14]
mov ecx, dword [esi + 8]
push edi
add eax, ebp
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jge 0x423fea
call dword [sym.imp.MSVCR71.dll__errno]
cmp dword [eax], 4
je 0x423f6d
mov al, byte [esi + 4]
pop ebp
or al, 8
mov byte [esi + 4], al
pop edi
xor al, al
pop esi
ret
jne 0x424015
mov al, byte [esi + 4]
pop ebp
or al, 8
mov byte [esi + 4], al
pop edi
xor al, al
pop esi
ret
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
add edx, eax
mov eax, dword [esi + 8]
push edi
push edx
push eax
call dword [sym.imp.MSVCR71.dll__read]
add esp, 0xc
test eax, eax
jle 0x423fdc
mov ecx, dword [esi + 0x18]
add ecx, eax
mov dword [esi + 0x18], ecx
mov eax, ecx
mov ecx, dword [esi + 0x14]
mov byte [eax + ecx], 0
mov al, byte [esi + 4]
pop ebp
and al, 0xf7
mov byte [esi + 4], al
pop edi
mov al, 1
pop esi
ret
Function at 0x417ba0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x417bc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417bc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417bb8
mov eax, 1
add ebx, ebx
jne 0x417bdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417bd0
jne 0x417bec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417bd0
xor ecx, ecx
sub eax, 3
jb 0x417c00
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417c72
mov ebp, eax
add ebx, ebx
jne 0x417c0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417c18
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417c3c
inc ecx
add ebx, ebx
jne 0x417c28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417c1d
jne 0x417c39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417c1d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417c5c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417c4d
jmp 0x417bbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417c5c
add edi, ecx
jmp 0x417bbe
pop esi
mov edi, esi
mov ecx, 0x103
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417c7a
cmp byte [edi], 7
jne 0x417c7a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x417c7f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x417cf7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x177c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417cac
mov ecx, edi
jns 0x417cdb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1784c]
or eax, eax
je 0x417cf1
mov dword [ebx], eax
add ebx, 4
jmp 0x417cc9
call dword [esi + 0x17848]
mov ebp, dword [esi + 0x17850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x417d2b
sub esp, 0xffffff80
jmp 0x40ab46
Function at 0x10004cd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x10004d02
lea esp, [esp]
test cl, 3
je 0x10004d02
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x7fda460]
add ecx, 1
sub esi, 1
jne 0x10004ce0
cmp esi, 0x20
push ebx
push edi
jb 0x10004eec
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x7fda860]
xor edx, dword [ebx*4 + 0x7fdac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x7fda460]
add ecx, 4
xor edx, dword [eax*4 + 0x7fdb060]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x7fda860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x7fdac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x7fda460]
add ecx, 4
xor eax, dword [edx*4 + 0x7fdb060]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x7fda860]
xor edx, dword [ebx*4 + 0x7fdac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x7fda460]
xor edx, dword [eax*4 + 0x7fdb060]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x7fda860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x7fdac60]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x7fda460]
xor eax, dword [edx*4 + 0x7fdb060]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x7fda860]
xor edx, dword [ebx*4 + 0x7fdac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x7fda460]
xor edx, dword [eax*4 + 0x7fdb060]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x7fda860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x7fdac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x7fda460]
and edx, 0xff
xor eax, dword [edx*4 + 0x7fdb060]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x7fda860]
xor edx, dword [ebx*4 + 0x7fdac60]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x7fda460]
add ecx, 4
xor edx, dword [eax*4 + 0x7fdb060]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x7fda860]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x7fdac60]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x7fda460]
and edx, 0xff
xor eax, dword [edx*4 + 0x7fdb060]
sub edi, 1
jne 0x10004d12
cmp esi, 4
jb 0x10004f39
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x7fda860]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x7fdac60]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x7fda460]
and eax, 0xff
xor edi, dword [eax*4 + 0x7fdb060]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x10004ef6
test esi, esi
pop edi
pop ebx
je 0x10004f5d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x7fda460]
add ecx, 1
sub esi, 1
jne 0x10004f40
not eax
pop esi
ret