joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d3be
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x50d770
call fcn.004d02ab
mov dword [ebp - 4], 1
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.004022e5
mov byte [ebp - 4], 2
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.004022e5
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
call fcn.004707d9
lea eax, [ebp - 0x18]
push eax
call fcn.004028b3
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x49d42f
cmp word [eax], 0
je 0x49d42f
mov esi, dword [0x51a4b0]
push eax
call esi
test eax, eax
je 0x49d42f
push dword [ebp - 0x14]
mov edi, dword [0x51a4b4]
call edi
test eax, eax
je 0x49d43d
push str.ERROR_CHECK_BOOL:bRet
xor esi, esi
push 0x2cb
jmp 0x49d4a4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x49d45a
cmp word [eax], 0
je 0x49d45a
push eax
call esi
test eax, eax
je 0x49d45a
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x49d468
push str.ERROR_CHECK_BOOL:bRet
xor esi, esi
push 0x2cd
jmp 0x49d4a4
push dword [ebp + 8]
call dword [0x51a4d0]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040283d
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.0040d65b
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [0x51a1b8]
mov esi, eax
test esi, esi
jne 0x49d4b1
push str.ERROR_CHECK_BOOL:bRet
push 0x2d2
push str..dlgmakeinstallpackdlgSimpleKLivePacker.cpp
push 5
pop ecx
call fcn.0040ef48
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.004028da
mov byte [ebp - 4], 2
lea eax, [ebp - 0x10]
push eax
call fcn.004025f7
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
call fcn.004025f7
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004028da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004028da
mov eax, esi
call fcn.004d0383
ret 8

Function at 0x49d7f9
Capabilities:
Delete file

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x56a5a0]
xor eax, ebp
mov dword [ebp + 0x1ac], eax
push edi
push 0x80
push esi
xor edi, edi
call dword [0x51a180]
xor eax, eax
push 0x208
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x5e]
push edi
push eax
call fcn.004ce6f0
lea ecx, [ebp - 0x60]
add esp, 0xc
mov eax, esi
sub ecx, esi
movzx edx, word [eax]
mov word [ecx + eax], dx
inc eax
inc eax
cmp dx, di
jne 0x49d842
lea eax, [ebp - 0x60]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x49d856
sub eax, edx
sar eax, 1
xor ecx, ecx
cmp cx, word [ebp + eax*2 - 0x5e]
je 0x49d881
push 0x53d050
push 0xe2
push str.d:code_sharecube_branches_branch_wps_release_srcclientincludecommon_filehlper.h
call fcn.0040ef48
mov eax, 0x654
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], 3
call dword [0x51a498]
test eax, eax
je 0x49d8ad
mov edi, 0x80004005
mov ecx, dword [ebp + 0x1ac]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.004c9b4d
add ebp, 0x1b0
leave
ret
Function at 0x49ef28
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
mov esi, eax
push dword [esi]
call dword [0x51a4b0]
test eax, eax
jne 0x49ef5c
push 0x53d7e8
push 0x17c
push str..uepuephelper.cpp
push 5
pop ecx
mov edi, 0x80004005
call fcn.0040ef48
jmp 0x49efae
xor eax, eax
mov word [ebp - 0x14], ax
push dword [ebp + 8]
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x24]
stosw word es:[edi], ax
mov eax, dword [esi]
push ecx
call fcn.0049f228
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x49efae
push edi
push str.ERROR_CHECK_COM_hr___x:_hr
push 0x181
push str..uepuephelper.cpp
push 5
pop esi
call fcn.0040f52f
add esp, 0x10
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x49f462
Capabilities:
Hide graphical window

Disassembly:
push 0x20
mov eax, 0x50989f
call fcn.004d02ab
mov ebx, ecx
lea edi, [ebx + 4]
push dword [edi]
mov dword [ebp - 0x14], edi
call dword [0x51a628]
push edi
call fcn.0044ab76
call dword [0x51a394]
push eax
call fcn.00445d0a
lea ecx, [ebx + 0x20]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x10]
push ecx
lea esi, [eax + 4]
call fcn.00445c42
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2c]
push eax
push dword [edi]
call dword [0x51a544]
lea esi, [ebx + 0x24]
cmp dword [esi], 0
jne 0x49f4d4
push 5
push 5
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push esi
call fcn.00459fd9
mov esi, dword [esi]
push 1
push esi
push dword [edi]
call dword [0x51a6e4]
push 0x17c
lea eax, [ebx + 0x4c]
call fcn.0045490b
push 0x17d
lea eax, [ebx + 0x58]
call fcn.0045490b
push 0x17b
lea eax, [ebx + 0x70]
call fcn.0045490b
push 0x17a
lea eax, [ebx + 0x7c]
call fcn.0045490b
push 0x186
lea eax, [ebx + 0x88]
call fcn.0045490b
push 0x17f
lea eax, [ebx + 0x94]
call fcn.0045490b
push 0x180
lea eax, [ebx + 0xa0]
call fcn.0045490b
push 0x181
lea eax, [ebx + 0xac]
call fcn.0045490b
push 0x182
lea eax, [ebx + 0xb8]
call fcn.0045490b
push 0x183
lea eax, [ebx + 0xc4]
call fcn.0045490b
push 0x185
lea eax, [ebx + 0x64]
call fcn.0045490b
push 0x187
lea eax, [ebx + 0xd0]
call fcn.0045490b
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x20]
lea edi, [ebx + 0x28]
mov dword [edi], ecx
lea eax, [ecx + 0x1a]
mov ecx, dword [ebp - 0x28]
mov dword [edi + 8], eax
mov dword [edi + 4], ecx
mov dword [edi + 0xc], edx
lea esi, [ebx + 0x38]
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], ecx
mov dword [esi + 0xc], edx
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.0044670a
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.0049feb6
push 1
lea eax, [ebp - 0x10]
push eax
mov edi, esi
call fcn.0049ff18
mov eax, dword [ebp + 8]
and dword [eax], 0
push ebx
call fcn.004a01af
mov eax, dword [ebp - 0x14]
push 1
push dword [eax]
call dword [0x51a500]
mov eax, ebx
call fcn.004a00be
mov eax, ebx
call fcn.004a00dd
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
push eax
call fcn.004466cc
xor eax, eax
inc eax
call fcn.004d0383
ret 4
Function at 0x4a5020
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4fe2fe
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a5a0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
xor ebx, ebx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x14]
mov dword [esi], vtable.TiXmlAttribute.0
mov eax, 0xf
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x20], ebx
mov byte [ecx + 4], bl
lea edi, [esi + 0x30]
mov dword [edi + 0x18], eax
mov dword [edi + 0x14], ebx
mov byte [edi + 4], bl
mov ebp, dword [esp + 0x28]
mov eax, ebp
lea edx, [eax + 1]
mov byte [esp + 0x20], 2
mov dword [esp + 0x28], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4a5092
sub eax, dword [esp + 0x28]
push eax
push ebp
call fcn.004041e3
mov edx, dword [esp + 0x2c]
mov eax, edx
lea ebp, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4a50b0
sub eax, ebp
push eax
push edx
mov ecx, edi
call fcn.004041e3
mov dword [esi + 0x10], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x4ada40
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x56a5a0]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [0x51a74c]
test eax, eax
jne 0x4ada92
mov eax, dword [esp]
cmp al, 2
jne 0x4ada8c
shr eax, 8
cmp al, 2
jne 0x4ada8c
xor eax, eax
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.004c9b4d
add esp, 0x194
ret
call dword [0x51a750]
mov ecx, dword [esp + 0x190]
xor ecx, esp
mov eax, 2
call fcn.004c9b4d
add esp, 0x194
ret

Function at 0x4b70a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push 0
push eax
push ecx
push edx
call dword [0x51a740]
cmp eax, 0xffffffff
jne 0x4b70d0
call dword [0x51a744]
sub eax, 0x2733
neg eax
sbb eax, eax
and eax, 0x39
dec eax
ret
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
xor eax, eax
ret

Function at 0x4b7230
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esi + 0x144]
test ecx, ecx
je 0x4b724b
mov edx, dword [esi + 0xe4]
push edx
push edi
push ebx
push eax
push esi
call ecx
add esp, 0x14
ret
test eax, eax
jl 0x4b727f
cmp eax, 2
jg 0x4b727f
mov ecx, dword [esi + 0xe0]
push ecx
push 1
lea edx, [eax + eax*2 + 0x521bb8]
push 2
push edx
call fcn.004d3e25
mov eax, dword [esi + 0xe0]
push eax
push 1
push edi
push ebx
call fcn.004d3e25
add esp, 0x20
xor eax, eax
ret

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

Disassembly:
mov eax, dword [edi + eax*4 + 0xc8]
push esi
push 0
push ecx
push edx
push eax
call dword [0x51a73c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b74f5
call dword [0x51a744]
cmp eax, 0x2733
jne 0x4b74db
xor eax, eax
pop esi
ret
push eax
push edi
call fcn.004c6680
push eax
mov eax, dword [edi]
push str.Send_failure:__s
push eax
call fcn.004b7410
add esp, 0x14
mov eax, esi
pop esi
ret
Function at 0x4b7c80
Capabilities:
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, dword [edi]
movzx eax, byte [esi + 0x28e]
push 4
lea ecx, [esp + 8]
push ecx
push 1
push 6
push edx
mov dword [esp + 0x18], eax
call dword [0x51a724]
test eax, eax
jge 0x4b7cc4
call dword [0x51a744]
push eax
push edi
call fcn.004c6680
push eax
push str.Could_not_set_TCP_NODELAY:__s_n
push esi
call fcn.004b7380
add esp, 0x14
pop esi
pop ecx
ret
push str.TCP_NODELAY_set_n
push esi
call fcn.004b7380
add esp, 8
pop esi
pop ecx
ret

Function at 0x4b7ce0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push 0x1001
push 0xffff
push esi
mov dword [esp + 0x1c], 0x4020
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 4
call dword [0x51a728]
test eax, eax
jne 0x4b7d29
mov edx, dword [esp + 4]
cmp edx, dword [esp + 8]
jg 0x4b7d41
push 4
lea eax, [esp + 0xc]
push eax
push 0x1001
push 0xffff
push esi
call dword [0x51a724]
pop esi
add esp, 0xc
ret
Function at 0x4b8150
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x480]
cmp eax, 0xffffffff
je 0x4b81b6
mov ecx, dword [ecx + 0x474]
mov edx, dword [ecx]
cmp dword [edx + eax*4], 0
lea eax, [edx + eax*4]
je 0x4b81b6
mov ecx, dword [esp + 0xc]
mov eax, dword [eax]
test ecx, ecx
je 0x4b817c
mov dword [ecx], eax
mov ecx, dword [eax + 0xc8]
push esi
mov esi, dword [esp + 0xc]
mov dword [esi], ecx
cmp byte [eax + 0xd0], 0
jne 0x4b81ac
mov eax, dword [eax + 0xc8]
push 2
push 1
lea edx, [esp + 0x10]
push edx
push eax
call dword [0x51a740]
test eax, eax
jne 0x4b81b2
mov dword [esi], 0xffffffff
pop esi
xor eax, eax
ret
mov ecx, dword [esp + 8]
mov dword [ecx], 0xffffffff
xor eax, eax
ret

Function at 0x4b9b50
Capabilities:
Resolve dns

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ebx
push ebp
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
mov dword [eax], ebx
mov eax, dword [esp + 0x20]
push edx
push eax
push ecx
mov dword [esp + 0x1c], ebx
xor ebp, ebp
call dword [0x51a714]
mov dword [esp + 8], eax
cmp eax, ebx
jne 0x4b9ca4
push edi
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x4b9c99
push esi
push 0x20
call dword [0x56a504]
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4b9c37
mov edx, dword [edi]
mov dword [esi], edx
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
mov dword [esi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [edi + 0x10]
cmp eax, ebx
jbe 0x4b9bff
cmp dword [edi + 0x18], ebx
je 0x4b9bff
push eax
mov dword [esi + 0x10], eax
call dword [0x56a504]
add esp, 4
mov dword [esi + 0x18], eax
cmp eax, ebx
je 0x4b9c41
mov ecx, dword [esi + 0x10]
mov edx, dword [edi + 0x18]
push ecx
push edx
push eax
call fcn.004d0c50
add esp, 0xc
mov eax, dword [edi + 0x14]
cmp eax, ebx
je 0x4b9c17
push eax
call dword [0x56a510]
add esp, 4
mov dword [esi + 0x14], eax
cmp eax, ebx
je 0x4b9c4b
cmp dword [esp + 0x14], ebx
jne 0x4b9c21
mov dword [esp + 0x14], esi
cmp ebp, ebx
je 0x4b9c28
mov dword [ebp + 0x1c], esi
mov edi, dword [edi + 0x1c]
mov ebp, esi
cmp edi, ebx
jne 0x4b9b97
jmp 0x4b9c6e
mov dword [esp + 0x10], 8
jmp 0x4b9c6e
mov dword [esp + 0x10], 8
jmp 0x4b9c64
mov eax, dword [esi + 0x18]
mov dword [esp + 0x10], 8
cmp eax, ebx
je 0x4b9c64
push eax
call dword [0x56a508]
add esp, 4
push esi
call dword [0x56a508]
add esp, 4
mov eax, dword [esp + 0x18]
pop esi
cmp eax, ebx
je 0x4b9c7e
push eax
call dword [0x51a718]
cmp dword [esp + 0xc], ebx
je 0x4b9c95
mov eax, dword [esp + 0x10]
push eax
call fcn.004b9b00
add esp, 4
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov dword [edx], ecx
pop edi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x4ba0a0
Capabilities:
Create udp socket

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 0x48
push 1
mov edi, eax
call dword [0x56a514]
mov esi, eax
xor eax, eax
add esp, 8
mov dword [esp + 0x10], 0xc
mov dword [edi + 0x2cc], esi
cmp esi, eax
je 0x4ba15d
mov dword [edi + 0x2bc], ebp
mov byte [edi + 0x2c4], al
mov dword [edi + 0x2c8], eax
mov dword [edi + 0x2c0], eax
push ebp
mov ebp, dword [esp + 0x1c]
mov dword [esi], eax
lea ebx, [esi + 0x10]
push ebp
mov eax, ebx
mov dword [esi + 4], 0xffffffff
call fcn.004b9f00
add esp, 8
test eax, eax
je 0x4ba15d
mov eax, dword [edi + 0x2b8]
push eax
call fcn.004ae800
push ebp
call dword [0x56a510]
add esp, 8
mov dword [edi + 0x2b8], eax
test eax, eax
je 0x4ba15d
push 0
push 2
push 2
call dword [0x51a71c]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x4ba15d
push ebx
push 0x4b9fb0
call fcn.004c7030
add esp, 8
mov dword [esi], eax
test eax, eax
jne 0x4ba17f
call fcn.004d1163
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
add edi, 0x2b8
push edi
call fcn.004ba040
mov edx, dword [esp + 0x14]
add esp, 4
push edx
call dword [0x51a12c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
pop ecx
ret
Function at 0x4c0570
Capabilities:
Get socket status

Disassembly:
sub esp, 0x31c
push ebx
mov ebx, dword [esp + 0x324]
push ebp
mov ebp, dword [esp + 0x32c]
push esi
xor esi, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
cmp ebx, 0xffffffff
jne 0x4c05b0
cmp ebp, ebx
jne 0x4c05b0
mov eax, dword [esp + 0x334]
call fcn.004c0550
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
push edi
mov edi, dword [esp + 0x338]
cmp edi, esi
jle 0x4c05cb
mov esi, edi
call fcn.004c3720
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x124], eax
cmp ebx, 0xffffffff
je 0x4c05ff
mov ecx, 1
mov dword [esp + 0x128], ebx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
mov edx, ebx
mov dword [esp + 0x228], eax
cmp ebp, 0xffffffff
je 0x4c0643
mov dword [esp + 0x22c], ebp
mov dword [esp + 0x228], 1
test ecx, ecx
jbe 0x4c062c
cmp dword [esp + eax*4 + 0x24], ebp
je 0x4c062c
inc eax
cmp eax, ecx
jb 0x4c0621
cmp eax, ecx
jne 0x4c063d
cmp ecx, 0x40
jae 0x4c063d
mov dword [esp + eax*4 + 0x24], ebp
inc dword [esp + 0x20]
cmp ebp, edx
jbe 0x4c0643
mov edx, ebp
xor ebx, ebx
test edi, edi
setl bl
lea eax, [esp + 0x18]
lea ebp, [edx + 1]
dec ebx
and ebx, eax
xor eax, eax
cmp edi, eax
jle 0x4c0685
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
imul eax, eax, 0x3e8
mov ecx, esi
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [esp + 0x1c], ecx
jmp 0x4c068f
jne 0x4c068f
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x230]
push eax
lea ecx, [esp + 0x130]
push ecx
push ebp
call dword [0x51a758]
cmp eax, 0xffffffff
jne 0x4c06f9
call dword [0x51a744]
test eax, eax
je 0x4c06c2
cmp eax, 0x2714
jne 0x4c06fd
test edi, edi
jle 0x4c0654
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.004c3720
push edx
push eax
call fcn.004c3750
mov esi, edi
sub esi, eax
add esp, 0x10
test esi, esi
jg 0x4c0654
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
test eax, eax
jge 0x4c070b
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
jne 0x4c071a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x31c
ret
mov edi, dword [esp + 0x330]
xor esi, esi
cmp edi, 0xffffffff
je 0x4c0751
lea ecx, [esp + 0x124]
push ecx
push edi
call fcn.004fdd5e
test eax, eax
je 0x4c073f
mov esi, 1
lea edx, [esp + 0x20]
push edx
push edi
call fcn.004fdd5e
test eax, eax
je 0x4c0751
or esi, 4
mov edi, dword [esp + 0x334]
cmp edi, 0xffffffff
je 0x4c0784
lea eax, [esp + 0x228]
push eax
push edi
call fcn.004fdd5e
test eax, eax
je 0x4c0772
or esi, 2
lea ecx, [esp + 0x20]
push ecx
push edi
call fcn.004fdd5e
test eax, eax
je 0x4c0784
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
Function at 0x4c4430
Capabilities:
Parse pe header

Disassembly:
mov al, byte [esp + 4]
movsx ecx, al
add ecx, 0xffffff9f
cmp ecx, 0x19
ja case.default.0x4c443f
jmp dword [ecx*4 + 0x4c4494]
mov al, 0x41
ret
mov al, 0x42
ret
mov al, 0x43
ret
mov al, 0x44
ret
mov al, 0x45
ret
mov al, 0x46
ret
mov al, 0x47
ret
mov al, 0x48
ret
mov al, 0x49
ret
mov al, 0x4a
ret
mov al, 0x4b
ret
mov al, 0x4c
ret
mov al, 0x4d
ret
mov al, 0x4e
ret
mov al, 0x4f
ret
mov al, 0x50
ret
mov al, 0x51
ret
mov al, 0x52
ret
mov al, 0x53
ret
mov al, 0x54
ret
mov al, 0x55
ret
mov al, 0x56
ret
mov al, 0x57
ret
mov al, 0x58
ret
mov al, 0x59
ret
mov al, 0x5a
ret

Function at 0x4c7030
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push 0
push 0
push eax
push ecx
push 0
push 0
call fcn.004cd2bb
add esp, 0x18
test eax, eax
je 0x4c7053
cmp eax, 0xffffffff
jne 0x4c7055
xor eax, eax
ret

Function at 0x4c8550
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, eax
mov eax, dword [esi]
cmp dword [eax + 4], 2
sete bl
test bl, bl
je 0x4c8575
mov eax, dword [eax + 8]
mov ecx, dword [esi + 0xc]
push eax
push ebp
push 1
push edi
call ecx
jmp 0x4c85a7
cmp dword [esi + 8], 0
jne 0x4c859a
mov edx, dword [eax + 8]
push 0x51ada4
push edx
call fcn.004ce82e
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x4c859a
pop edi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esi + 8]
push eax
push ebp
push 1
push edi
call fcn.004cfae3
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4c85b4
cmp edi, ebp
jbe 0x4c85d1
test bl, bl
jne 0x4c85cb
mov ecx, dword [esi + 8]
push ecx
call fcn.004cf0bf
add esp, 4
mov dword [esi + 8], 0
mov edx, dword [esi]
mov eax, dword [edx]
mov dword [esi], eax
mov eax, edi
pop edi
pop ebp
pop ebx
ret
Function at 0x4c91c0
Capabilities:
Hash data with md5

Disassembly:
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x40688e
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push esi
push edi
mov eax, 0x1a1
cmp eax, 0x24
ja 0x40689c
call 0x8566879
mov al, byte [0x8b640041]
cmp eax, 0x30
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x446630], eax
sub eax, eax
je 0x4068c1
jmp 0xa8cf518b
call 0x401154
call 0x406651
pop edi
xor eax, eax
pop esi
ret

Function at 0x407515
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x407554
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x407554
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x407554
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x407554
cmp dword [ecx + 0x74], 0xe
jbe 0x407554
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40d5eb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2c8
push 0x41c2c0
push str.FlsAlloc
push 0x1e
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d61f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
jmp 0x40d625
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40d669
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41c2d8
push 0x41c2d0
push str.FlsGetValue
push 0x20
call fcn.0040d4ac
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40d6a0
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x418a50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x418a7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x418a7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x833058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008331a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x83307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x83306a
add dl, dl
jne 0x833089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8330dc
xor eax, eax
add dl, dl
jne 0x833096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x83317d
add dl, dl
jne 0x8330a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8330b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8330bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8330c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8330d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x833075
mov eax, 1
add dl, dl
jne 0x8330ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8330f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8330e1
sub eax, ebx
mov ebx, 1
jne 0x833128
mov ecx, 1
add dl, dl
jne 0x83310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x833119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x833105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x833075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x83313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x83314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x833136
cmp eax, 0x7d00
jae 0x83316d
cmp eax, 0x500
jb 0x833168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x833075
cmp eax, 0x7f
ja 0x833170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x833075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x83319e
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 0x833075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10