joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x406d1f
pop dword [ebp - 0x10]
mov eax, 0x406d1f
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xf1316e73
sub dword [ebp - 0x20], 0xa2df2928
mov dword [ebp - 0x1c], 0x177d660b
sub dword [ebp - 0x1c], 0xe54a19c6
mov dword [ebp - 0x18], 0xaacb78a2
add dword [ebp - 0x18], 0xa180cb8c
mov dword [ebp - 0x14], 0x875113e3
add dword [ebp - 0x14], 0x78aeec1d
lea eax, [ebp - 0x20]
push eax
mov eax, 0x3fc9f8e9
sub eax, 0x3f88b859
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x1a7f5fa0
add dword [ebp - 0x20], 0x59f309b6
mov dword [ebp - 0x1c], 0x59aeffb3
sub dword [ebp - 0x1c], 0x18429e3e
mov dword [ebp - 0x18], 0x7863300
sub dword [ebp - 0x18], 0xa416c694
mov dword [ebp - 0x14], 0x60f4dad
add dword [ebp - 0x14], 0xf9f0b253
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3d62e
push 0
call eax
mov ecx, 0xc281750e
sub ecx, 0xc2812293
xor ebx, ebx
add ebx, eax
mov edx, 0x3c02d825
add edx, 0xc43ee7db
add edx, dword [ebp - 0x10]
mov edi, 0xb91be068
sub edi, 0x2490d0d7
mov dword [ebp - 8], 0x28a1e2
mov esi, dword [edx]
xor esi, edi
sub dword [ebp - 4], 0x5d21b0a8
mov dword [ebx], esi
add ebx, 0x888e86ba
sub ebx, 0x888e86b6
add edx, 0x7773dbc1
sub edx, 0x7773dbbd
loop 0x406e39
add eax, 0xab0c48d7
sub eax, 0xab0b0c18
mov ebx, eax
add eax, 0xcabef987
add eax, 0x3541067e
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x410b90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 4
mov esi, ecx
call main
pop ecx
xor ecx, ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x410bac
mov dword [eax], ecx
jmp 0x410bae
mov eax, ecx
push ecx
push ecx
push esi
push 0x410c20
push ecx
push ecx
mov dword [esi + 0x10], eax
call dword [sym.imp.kernel32.dll_CreateThread]
mov ecx, dword [esi + 0x10]
pop esi
mov dword [ecx], eax
leave
ret
Function at 0x405909
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405bc7
test bl, 8
mov dword [ebp - 0xc], eax
je 0x405948
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x4247c8], eax
jmp 0x405ad2
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405962
test eax, eax
je 0x405a80
test bl, 2
je 0x405a80
mov esi, 0x421d38
push edi
push esi
call fcn.00406141
cmp dword [ebp + 8], 0
je 0x405981
push 0x40a3c4
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x405987
push edi
call fcn.00405b20
cmp byte [edi], 0
jne 0x405995
cmp byte [0x421d38], 0x5c
jne 0x4059a0
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x14c]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x405a76
lea eax, [ebp - 0x120]
push 0x3f
push eax
lea esi, [ebp - 0x120]
call fcn.00405b04
cmp byte [eax], 0
je 0x4059e6
cmp byte [ebp - 0x1c], 0
je 0x4059e6
lea esi, [ebp - 0x1c]
cmp byte [esi], 0x2e
jne 0x4059fc
mov al, byte [esi + 1]
test al, al
je 0x405a55
cmp al, 0x2e
jne 0x4059fc
cmp byte [esi + 2], 0
je 0x405a55
push esi
push ebx
call fcn.00406141
test byte [ebp - 0x14c], 0x10
je 0x405a21
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405a55
push dword [ebp + 0xc]
push edi
call fcn.00405909
jmp 0x405a55
push dword [ebp - 4]
push edi
call fcn.004058c1
test eax, eax
jne 0x405a4d
cmp dword [ebp - 4], eax
je 0x405a45
push edi
push 0xfffffffffffffff1
call fcn.00405268
push 0
push edi
call fcn.00405f20
jmp 0x405a55
inc dword [0x4247c8]
jmp 0x405a55
push edi
push 0xfffffffffffffff2
call fcn.00405268
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4059c4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405a80
and byte [ebx - 1], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405ad2
cmp dword [ebp - 0xc], esi
jne 0x405a94
inc dword [0x4247c8]
jmp 0x405ad2
push edi
call fcn.00406444
test eax, eax
je 0x405ad2
push edi
call fcn.00405ad9
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.004058c1
test eax, eax
jne 0x405aca
cmp dword [ebp - 4], esi
je 0x405a8c
push edi
push 0xfffffffffffffff1
call fcn.00405268
push esi
push edi
call fcn.00405f20
jmp 0x405ad2
push edi
push 0xffffffffffffffe5
call fcn.00405268
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x90c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0090c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x90c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90c06a
add dl, dl
jne 0x90c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90c0dc
xor eax, eax
add dl, dl
jne 0x90c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x90c17d
add dl, dl
jne 0x90c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x90c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x90c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x90c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x90c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x90c075
mov eax, 1
add dl, dl
jne 0x90c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x90c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x90c0e1
sub eax, ebx
mov ebx, 1
jne 0x90c128
mov ecx, 1
add dl, dl
jne 0x90c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x90c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x90c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x90c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x90c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x90c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x90c136
cmp eax, 0x7d00
jae 0x90c16d
cmp eax, 0x500
jb 0x90c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x90c075
cmp eax, 0x7f
ja 0x90c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x90c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x90c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x90c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x40388f
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4038b8
cmp al, 0x22
je 0x4038b0
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4038a4
cmp byte [esi], 0x22
jne 0x4038c2
inc esi
jmp 0x4038c2
cmp al, 0x20
jle 0x4038c2
inc esi
cmp byte [esi], 0x20
jg 0x4038bc
mov al, byte [esi]
test al, al
je 0x4038cc
cmp al, 0x20
jle 0x4038b5
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
call fcn.0040393a
push 0x405004
push section..data
call fcn.00403920
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4038fc
movzx eax, word [ebp - 0x14]
jmp 0x4038ff
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00403952
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x423630
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push 0
push eax
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
mov dword [0x467ee0], 0
mov dword [0x467efc], 0
mov dword [0x467f14], eax
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
test eax, eax
mov dword [0x4676dc], eax
jne 0x423678
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push 0x463304
jmp 0x42369c
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
test eax, eax
mov dword [0x467ee0], eax
jne 0x4236af
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push 0x4632e8
call fcn.004429fd
mov ecx, dword [0x467f2c]
call fcn.0041d3e0
xor eax, eax
ret
mov eax, 1
ret
Function at 0x4270b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
mov ebp, dword [esp + 0x18]
test ax, ax
jl 0x4270f8
mov eax, dword [edi + 0x3d0]
xor esi, esi
test eax, eax
jle 0x4270f8
xor ebx, ebx
mov ecx, dword [edi + 0x3a8]
push ebp
add ecx, ebx
call fcn.004096a0
test eax, eax
jne 0x427136
mov eax, dword [edi + 0x3d0]
inc esi
add ebx, 0x43c
cmp esi, eax
jl 0x4270d5
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push 0
push edx
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ebp
push ecx
push str.Remote
push 0x4676e0
mov ecx, edi
call fcn.00427690
pop edi
pop esi
pop ebp
pop ebx
ret 0x20
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0
mov edx, dword [esp + 0x24]
push eax
push ecx
mov eax, dword [esp + 0x28]
mov ecx, esi
shl ecx, 4
add ecx, esi
push edx
mov edx, dword [edi + 0x3a8]
push eax
shl ecx, 4
sub ecx, esi
push ebp
lea ecx, [edx + ecx*4]
call fcn.004097a0
test eax, eax
je 0x4270f8
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 0x20
Function at 0x4275b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
mov ebp, dword [esp + 0x1c]
test ax, ax
jl 0x4275f8
mov eax, dword [esi + 0x3d0]
xor edi, edi
test eax, eax
jle 0x4275f8
xor ebx, ebx
mov ecx, dword [esi + 0x3a8]
push ebp
add ecx, ebx
call fcn.004096a0
test eax, eax
jne 0x427646
mov eax, dword [esi + 0x3d0]
inc edi
add ebx, 0x43c
cmp edi, eax
jl 0x4275d5
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push 0
push edx
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x1258]
push ecx
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x34]
shl edx, 0xb
push ebp
push ecx
lea eax, [edx + eax + 0x400]
push str.Trace
push eax
mov ecx, esi
call fcn.00427690
pop edi
pop esi
pop ebp
pop ebx
ret 0x24
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0
mov edx, dword [esp + 0x28]
push eax
push ecx
mov eax, dword [esp + 0x2c]
mov ecx, edi
shl ecx, 4
add ecx, edi
push edx
mov edx, dword [esi + 0x3a8]
push eax
shl ecx, 4
sub ecx, edi
push ebp
lea ecx, [edx + ecx*4]
call fcn.004097a0
test eax, eax
je 0x4275f8
mov eax, dword [esp + 0x30]
mov dword [eax], edi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 0x24
Function at 0x4399a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x466ec8
cmp edx, dword [eax]
je 0x4399c7
add eax, 8
inc ecx
cmp eax, 0x466f58
jl 0x4399b8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x466ec8]
jne 0x439af5
mov eax, dword [0x46a040]
cmp eax, 1
je 0x439acf
test eax, eax
jne 0x4399f8
cmp dword [0x466424], 1
je 0x439acf
cmp edx, 0xfc
je 0x439af5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x439a2f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00434a30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00438910
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x439a72
lea eax, [ebp - 0x1a4]
push eax
call fcn.00438910
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x460fb8
push edi
call fcn.004336d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00434a30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00434a40
lea eax, [ebp - 0xa0]
push 0x45338c
push eax
call fcn.00434a40
push dword [esi + 0x466ecc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00434a40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0043bbdf
add esp, 0x2c
pop edi
jmp 0x439af5
lea eax, [ebp + 8]
lea esi, [esi + 0x466ecc]
push 0
push eax
push dword [esi]
call fcn.00438910
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.kernel32.dll_GetStdHandle]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
pop esi
leave
ret

Function at 0x43ed23
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x43ed45
cmp dword [edi + 0x3c], 0
jne 0x43ed45
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004458c4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0043ed72
pop edi
pop esi
pop ebx
ret 8

Function at 0x4418ac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4418ee
call fcn.004458c4
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.kernel32.dll_FindResourceA]
cmp eax, edi
je 0x4418ee
push eax
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, edi
jne 0x4418e5
xor eax, eax
jmp 0x4418f6
push eax
call dword [sym.imp.kernel32.dll_LockResource_1]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004418fc
pop edi
pop esi
pop ebx
ret 4
Function at 0x446016
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x446044
push dword [esi]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x446062
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00445f7c
jmp 0x446062
mov eax, dword [esi + 0x14]
test eax, eax
je 0x446062
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00445f7c
test edi, edi
mov eax, edi
jne 0x44604c
pop edi
push ebx
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x44aead
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [eax], 0xfffff000
jne 0x44aec2
mov dl, byte [eax + 5]
cmp dl, 0xe8
je 0x44aec8
cmp dl, 0xcc
je 0x44aec8
dec eax
dec ecx
jne fcn.0044aead
jmp 0x44aefb
add eax, 0xa
mov edx, eax
add eax, dword [eax - 4]
mov dword [0x44baf8], eax
add edx, 0xf
mov cl, 0x35
cmp byte [edx], 0xa1
je 0x44aeec
add edx, 0x20
cmp byte [edx], cl
je 0x44aeec
dec edx
dec edx
cmp byte [edx], cl
jne 0x44aefb
mov eax, dword [edx + 1]
test al, 3
jne 0x44aefb
mov ecx, dword [eax]
mov dword [0x44bb0a], ecx
ret

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

Disassembly:
mov edx, dword [ebx + 0x3c]
mov edx, dword [ebx + edx + 0x78]
test edx, edx
je 0x44af5e
add edx, ebx
cmp eax, 0x10000
jae 0x44af15
sub eax, dword [edx + 0x10]
jmp 0x44af50
push ebp
push esi
push edi
xchg ebp, eax
mov ecx, dword [edx + 0x18]
mov esi, dword [edx + 0x20]
add esi, ebx
push edx
jecxz 0x44af39
lodsd eax, dword [esi]
sub edi, edi
add eax, ebx
dec ecx
mov dl, byte [edi + eax]
cmp dl, byte [edi + ebp]
jne 0x44af22
inc edi
test dl, dl
jne 0x44af2a
sub eax, eax
pop edx
pop edi
pop esi
pop ebp
test eax, eax
jne 0x44af5e
sub ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x24]
inc ecx
neg ecx
add eax, ebx
movzx eax, word [eax + ecx*2]
mov ecx, ebx
add ecx, dword [edx + 0x1c]
lea edx, [ecx + eax*4]
mov eax, dword [edx]
add eax, ebx
jmp 0x44af60
sub eax, eax
ret

Function at 0x44aff4
Capabilities:
Access peb ldr_data
Check os version

Disassembly:
sete byte [eax]
push ebx
push ebp
cld
cmp byte [0x44b021], 0
je 0x44afff
ret
mov eax, 0x44b022
cmp byte [eax], 0
je 0x44ab2f
push 0x40
push 0xfffffffffffffffe
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp byte [0x44b021], 0
je 0x44b00d
ret

Function at 0x44b5f7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
or eax, 0x1000
push 0x40
push eax
push dword [ebp + 8]
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
leave
ret 8
Function at 0x62a610
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x6304cc]
cmp dword [eax + 0x28], 0
jne 0x62a628
xor eax, eax
jmp 0x62a757
mov ecx, dword [0x63043c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x630430], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x63042c], eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x630430]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x63042c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x6304b8]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x62e680
push 0x62e6d0
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x630428], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0062a550
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x62a5e0
mov edx, dword [0x6304cc]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x630434], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x62a757
cmp dword [ebp - 0x38], 0x12
jne 0x62a74b
mov dword [0x630444], 0
call fcn.0062a760
xor eax, eax
jmp 0x62a757
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x62a71c
mov esp, ebp
pop ebp
ret 4

Function at 0x62bb30
Capabilities:
Read .ini file
Read and send data from client to server
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebp
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
add ebp, 4
mov dword [ebp], 0
pop ebp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x62c6cc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edi, 0x62e168
sub eax, eax
test esi, esi
je 0x62c7a4
sub eax, 1
test ecx, ecx
je 0x62c7a2
test esi, 3
je 0x62c70a
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x62c6ef
mov edx, ecx
and edx, 7
shr ecx, 3
je 0x62c789
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
xor eax, dword [esi]
add esi, 4
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x62c714
mov ecx, edx
test ecx, ecx
je 0x62c7a2
xor al, byte [esi]
inc esi
mov ebx, 0xff
and ebx, eax
shr eax, 8
xor eax, dword [edi + ebx*4]
dec ecx
jne 0x62c78f
not eax
mov dword [esp + 0x1c], eax
popal
ret

Function at 0x62c7ac
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0062c82f
jae 0x62c7ba
xor ecx, ecx
call fcn.0062c82f
jae 0x62c7e9
xor eax, eax
call fcn.0062c82f
jae 0x62c7f9
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0062c82f
adc al, al
jae 0x62c7db
jne 0x62c825
stosb byte es:[edi], al
jmp 0x62c7bd
call fcn.0062c83b
sub ecx, ebx
jne 0x62c802
call fcn.0062c839
jmp 0x62c821
lodsb al, byte [esi]
shr eax, 1
je 0x62c84b
adc ecx, ecx
jmp 0x62c81e
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0062c839
cmp eax, 0x7d00
jae 0x62c81e
cmp ah, 5
jae 0x62c81f
cmp eax, 0x7f
ja 0x62c820
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x62c7bd
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x62d17c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x630000]
jne 0x62d186
repz ret
jmp fcn.0062d42d
Function at 0x854058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008541a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x85407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x85406a
add dl, dl
jne 0x854089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8540dc
xor eax, eax
add dl, dl
jne 0x854096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x85417d
add dl, dl
jne 0x8540a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8540b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8540bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8540c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8540d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x854075
mov eax, 1
add dl, dl
jne 0x8540ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8540f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8540e1
sub eax, ebx
mov ebx, 1
jne 0x854128
mov ecx, 1
add dl, dl
jne 0x85410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x854119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x854105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x854075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x85413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x85414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x854136
cmp eax, 0x7d00
jae 0x85416d
cmp eax, 0x500
jb 0x854168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x854075
cmp eax, 0x7f
ja 0x854170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x854075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x85419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x854075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10