joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f050
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x44f062
jmp dword [eax*4 + 0x44f258]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00403350
test al, al
je 0x44f13f
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x44f240
cmp esi, 0xffffffff
jne 0x44f156
call fcn.006713ab
mov ecx, ebx
call fcn.00403470
cmp eax, esi
jae 0x44f166
call fcn.006713ab
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x44f18b
mov al, byte [ecx - 1]
test al, al
je 0x44f18b
cmp al, 0xff
je 0x44f18b
test esi, esi
jne 0x44f1af
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.004031c0
jmp 0x44f1d9
test esi, esi
jne 0x44f19a
push 1
mov ecx, ebx
call fcn.004031c0
jmp 0x44f1d9
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x44f1a6
cmp eax, esi
jae 0x44f1b7
push 1
mov ecx, ebx
call fcn.004031c0
push esi
mov ecx, ebx
call fcn.00403480
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x44f208
mov al, byte [eax - 1]
test al, al
je 0x44f1f8
cmp al, 0xff
je 0x44f1f8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00403350
mov eax, dword [ebx + 4]
test eax, eax
je 0x44f203
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x44f20d
mov ebx, 0x6a3560
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x44f235
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x44f230
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x44f670
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor ecx, ecx
test edi, edi
jle 0x44f6ad
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x14]
mov dl, byte [ecx + esi]
xor eax, eax
mov al, bh
xor al, dl
movzx dx, dl
add edx, ebx
mov byte [ecx + esi], al
imul edx, dword [esp + 0x20]
add edx, ebp
inc ecx
cmp ecx, edi
mov ebx, edx
jl 0x44f68a
pop esi
pop ebp
pop ebx
pop edi
ret

Function at 0x44f760
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x685f0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, ecx
mov cl, byte [esp + 3]
mov dword [esp + 4], eax
mov byte [eax + 0x3c], cl
xor ecx, ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [esp + 0x10], ecx
or edx, 0xffffffff
mov byte [eax + 0x18], cl
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 8]
mov dword [eax], 0x6a3fbc
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], 0x3f800000
mov byte [eax + 0x38], 1
mov dword [esp + 0x10], edx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4516d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x4518b8
mov ecx, dword [ebx + 0x40020]
test ecx, ecx
je 0x4518b8
push ebp
push esi
lea ecx, [esp + 0x10]
push edi
push ecx
push 0x4004667f
push eax
mov dword [esp + 0x1c], 0
call sub.wsock32.dll_ioctlsocket
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x45189f
mov edx, dword [ebx + 4]
push 0
lea eax, [ebx + 0x20]
push 0x40000
push eax
push edx
call sub.wsock32.dll_recv
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x45188b
test eax, eax
je 0x451879
mov edx, dword [esp + 0x10]
add edx, eax
test eax, eax
mov dword [esp + 0x10], edx
jle 0x451879
mov ecx, dword [ebx + 0x40034]
mov edx, dword [ebx + 0x40030]
sub ecx, edx
jns 0x451768
add ecx, dword [ebx + 0x40028]
mov ebp, dword [ebx + 0x40028]
mov edx, ebp
sub edx, ecx
cmp eax, edx
jl 0x4517f4
lea eax, [ebp + ebp]
push eax
mov dword [ebx + 0x40028], eax
call fcn.00673b05
mov esi, dword [ebx + 0x4002c]
mov ecx, ebp
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x18], eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x40034]
mov edx, dword [ebx + 0x40030]
cmp ecx, edx
jge 0x4517d2
mov esi, dword [ebx + 0x4002c]
lea edi, [eax + ebp]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x40034], ebp
mov ecx, dword [ebx + 0x4002c]
push ecx
call fcn.006713a0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [ebx + 0x4002c], edx
jmp 0x451752
mov ebp, dword [ebx + 0x40034]
mov ecx, dword [ebx + 0x40028]
lea edx, [eax + ebp]
cmp edx, ecx
jl 0x451858
mov edi, dword [ebx + 0x4002c]
sub ecx, ebp
mov edx, ecx
add edi, ebp
mov ebp, ecx
lea esi, [ebx + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
sub eax, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x45184c
mov edi, dword [ebx + 0x4002c]
mov ecx, eax
lea esi, [edx + ebx + 0x20]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 0x40034], eax
jmp 0x451879
mov dword [ebx + 0x40034], 0
jmp 0x451879
mov edi, dword [ebx + 0x4002c]
mov ecx, eax
mov edx, ecx
lea esi, [ebx + 0x20]
add edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x40034], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
jb 0x451717
jmp 0x45189f
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push 0x6d412c
call fcn.0044a330
add esp, 8
mov ecx, ebx
call fcn.004518c0
pop edi
pop esi
test eax, eax
pop ebp
je 0x4518b8
mov ecx, ebx
call fcn.004518c0
test eax, eax
jne 0x4518ad
pop ebx
add esp, 0x10
ret
Function at 0x451b80
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x6860bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x314
push edi
mov edi, ecx
mov dword [esp + 4], edi
mov eax, dword [edi + 0x40094]
test eax, eax
je 0x451cfa
cmp dword [edi + 4], 0xffffffff
je 0x451cfa
mov eax, dword [edi + 0x40020]
test eax, eax
je 0x451cfa
mov eax, dword [edi + 0x40038]
test eax, eax
je 0x451c08
push 0x6d4148
lea ecx, [esp + 0x1c]
call fcn.005ee460
mov eax, dword [edi + 0x4003c]
mov ecx, dword [esp + 0x32c]
mov edx, dword [esp + 0x328]
push eax
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.005ee570
mov ecx, dword [edi + 0x4003c]
jmp 0x451c16
mov eax, dword [esp + 0x32c]
mov ecx, dword [esp + 0x328]
push ebx
push ebp
push esi
push 1
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00450890
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
push 0xaa55
mov dword [esp + 0x330], 0
lea eax, [ebp + 6]
lea ebx, [edi + 0x20]
mov dword [esp + 0x18], eax
call sub.wsock32.dll_htons
mov word [ebx], ax
add ebx, 2
mov ecx, ebp
push 0x55aa
mov word [ebx], bp
add ebx, 2
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add ebx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call sub.wsock32.dll_htons
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov word [ebx], ax
xor ebx, ebx
test esi, esi
jle 0x451cc9
lea eax, [edi + 0x20]
mov edi, dword [esp + 0x10]
push 0
push esi
push eax
mov eax, dword [edi + 4]
push eax
call sub.wsock32.dll_send
cmp eax, 0xffffffff
je 0x451cad
test eax, eax
je 0x451ca7
add ebx, eax
cmp ebx, esi
jl 0x451c88
jmp 0x451cc9
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
push 0x6d4154
call fcn.0044a330
add esp, 8
push 0xffffffffffffffff
call dword [sym.imp.user32.dll_PostQuitMessage]
mov ebx, dword [edi + 0x40060]
mov ecx, dword [esp + 0x20]
add ebx, esi
push ecx
mov dword [edi + 0x40060], ebx
mov dword [esp + 0x330], 0xffffffff
mov dword [esp + 0x1c], 0x6a3fc0
call fcn.006713a0
add esp, 4
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x318]
pop edi
mov dword fs:[0], ecx
add esp, 0x320
ret 8
Function at 0x454ae0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
dec eax
push esi
cmp eax, 8
push edi
ja case.default.0x454af2
jmp dword [eax*4 + 0x454ce8]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 1
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 2
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push 0
push ecx
push 4
push edx
push eax
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x1c]
push 0
push ecx
lea edx, [esp + 0x18]
push 4
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.kernel32.dll_ReadFile]
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.00403350
test al, al
je 0x454bcf
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov byte [eax + ebp], 0
mov esi, dword [esp + 0x10]
pop ebp
test esi, esi
jle 0x454cd0
cmp esi, 0xffffffff
jne 0x454be6
call fcn.006713ab
mov ecx, ebx
call fcn.00403470
cmp eax, esi
jae 0x454bf6
call fcn.006713ab
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x454c1b
mov al, byte [ecx - 1]
test al, al
je 0x454c1b
cmp al, 0xff
je 0x454c1b
test esi, esi
jne 0x454c3f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.004031c0
jmp 0x454c69
test esi, esi
jne 0x454c2a
push 1
mov ecx, ebx
call fcn.004031c0
jmp 0x454c69
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x454c36
cmp eax, esi
jae 0x454c47
push 1
mov ecx, ebx
call fcn.004031c0
push esi
mov ecx, ebx
call fcn.00403480
mov edi, dword [ebx + 4]
mov ecx, esi
mov edx, ecx
mov eax, 0x20202020
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
mov dword [ebx + 8], esi
mov byte [eax + esi], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x454c98
mov al, byte [eax - 1]
test al, al
je 0x454c88
cmp al, 0xff
je 0x454c88
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00403350
mov eax, dword [ebx + 4]
test eax, eax
je 0x454c93
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x454c9d
mov ebx, 0x6a3560
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x454cc5
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x454cc0
lea edx, [esp + 0x18]
push 0
push edx
push 8
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.kernel32.dll_ReadFile]
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 0xc
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 0xc
Function at 0x4645a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6867c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x18], ebp
call fcn.004554e0
mov al, byte [esp + 0x13]
xor esi, esi
lea ebx, [ebp + 0x7b0]
mov dword [esp + 0x30], esi
mov byte [ebx], al
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
lea ecx, [ebp + 0x98]
mov byte [esp + 0x30], 1
mov dword [ebp], fcn.00455e40
mov dword [ebp + 0x18], 1
mov edx, dword [ecx]
mov edi, 0x6dfe28
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov ecx, dword [ecx + 8]
mov dword [ebp + 0x500], eax
mov dword [esp + 0x24], ecx
mov dword [ebp + 0x504], ecx
mov dword [ebp + 0x4fc], edx
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp + 0x7c0], 0
mov dword [ebp + 0x7c4], esi
mov dword [ebp + 0x7ac], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
cmp edi, 0xfffffffd
mov dword [esp + 0x14], edi
jbe 0x464653
call fcn.006713ab
mov ecx, dword [ebx + 4]
cmp ecx, esi
je 0x464678
mov al, byte [ecx - 1]
test al, al
je 0x464678
cmp al, 0xff
je 0x464678
cmp edi, esi
jne 0x46469c
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.004031c0
jmp 0x4646cd
cmp edi, esi
jne 0x464687
push 1
mov ecx, ebx
call fcn.004031c0
jmp 0x4646cd
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x464693
cmp eax, edi
jae 0x4646a4
push 1
mov ecx, ebx
call fcn.004031c0
push edi
mov ecx, ebx
call fcn.00403480
mov eax, dword [ebx + 4]
mov ecx, edi
mov edx, ecx
mov esi, 0x6dfe28
mov edi, eax
mov eax, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx + 8], eax
mov ebx, dword [ebx + 4]
add ebx, eax
mov byte [ebx], 0
mov ecx, dword [esp + 0x28]
pop edi
mov eax, ebp
pop esi
mov dword [esp + 0x28], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x47e4f0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov ebp, dword [sym.imp.kernel32.dll_WriteFile]
mov esi, ecx
push edi
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov al, byte [esi + 0x2c]
push 0
mov ebx, 1
push ecx
lea edx, [esp + 0x1b]
push ebx
push edx
push edi
mov dword [esp + 0x28], 0
mov byte [esp + 0x27], al
call ebp
mov al, byte [esi + 0x30]
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esp + 0x1b]
push ebx
push edx
push edi
mov byte [esp + 0x27], al
call ebp
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x40]
push 4
push ecx
push edi
call ebp
mov dl, byte [esi + 0x3c]
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x1b]
push ebx
push ecx
push edi
mov byte [esp + 0x27], dl
call ebp
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esi + 0x54]
push 0xc
push eax
push edi
call ebp
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esi + 0x60]
push 0xc
push edx
push edi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x6c]
push 0xc
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esi + 0xa4]
push ebx
push eax
push edi
call ebp
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esi + 0x98]
push 0xc
push edx
push edi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x1b0]
push 4
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esi + 0x1b4]
push 4
push eax
push edi
call ebp
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esi + 0xa5]
push 0x104
push edx
push edi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x1c4]
push 4
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0
push edx
lea eax, [esi + 0x1c8]
push 4
push eax
push edi
call ebp
lea ecx, [esp + 0x14]
push 0
push ecx
lea edx, [esi + 0x1b8]
push 4
push edx
push edi
call ebp
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 0x1bc]
push 4
push ecx
push edi
call ebp
mov ecx, dword [esi + 0x1d0]
lea eax, [esi + 0x1c0]
cmp ecx, ebx
mov dword [eax], 0x5c7
jne 0x47e65e
mov dword [eax], 0x1c7
cmp dword [esi + 0x1d4], ebx
jne 0x47e66c
xor dword [eax], 0x100
cmp dword [esi + 0x1dc], ebx
je 0x47e677
xor dword [eax], 4
cmp dword [esi + 0x1d8], ebx
jne 0x47e682
xor dword [eax], 0x40
cmp dword [esi + 0x1cc], ebx
je 0x47e68c
xor dword [eax], ebx
lea edx, [esp + 0x14]
push 0
push edx
push 4
push eax
push edi
call ebp
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x4ac500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x8189b8]
sub esp, 0x1c
push ebx
mov ebx, dword [eax + 0x3c]
test ebx, ebx
je 0x4ac5d2
push ebp
push esi
xor ebp, ebp
lea edx, [ebx + 0x13c]
lea esi, [ecx + 0x3b4]
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov edi, dword [esi]
test edi, edi
je 0x4ac5af
mov ecx, dword [edi]
push ebx
call fcn.004015a0
mov dword [esi], 0
mov eax, dword [ebx]
push ebp
push 2
mov ecx, ebx
call dword [eax + 0x78]
test eax, eax
je 0x4ac5a9
lea esi, [eax + 0x80]
mov ecx, esi
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [edi]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x28]
mov ebp, dword [edi]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
add ebp, 0x90
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], esi
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ecx], edi
mov ecx, dword [esp + 0x10]
inc ebp
add esi, 4
add ecx, 4
cmp ebp, 0x1c
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], ecx
jl 0x4ac531
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x4b02b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x689408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x8189b8]
push ebx
push edi
xor ebx, ebx
mov eax, dword [eax + 0x3c]
mov edi, ecx
cmp eax, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], eax
je 0x4b04a2
push ebp
push esi
lea esi, [edi + 0xe0]
mov ebp, 0x1c
mov ecx, dword [esi]
cmp ecx, ebx
je 0x4b02ff
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi], ebx
add esi, 4
dec ebp
jne 0x4b02f3
mov ecx, dword [edi + 0x150]
cmp ecx, ebx
je 0x4b0317
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x14]
xor ebp, ebp
add ecx, 0x13c
mov dword [edi + 0x150], ebx
mov dword [esp + 0x14], ecx
lea esi, [edi + 0x158]
cmp dword [esi], ebx
je 0x4b03b6
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x13]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x1c], dl
push ecx
push 0x6dfe28
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.004083a0
mov ecx, dword [esi]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x48], ebx
mov eax, dword [ecx]
call dword [eax + 0x78]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], 0xffffffff
cmp eax, ebx
je 0x4b03a6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b039d
cmp al, 0xff
je 0x4b039d
dec al
mov byte [ecx], al
jmp 0x4b03a6
push ecx
call fcn.006713a0
add esp, 4
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ecx
push ebp
mov ecx, edi
call fcn.004affb0
mov ecx, dword [esp + 0x14]
inc ebp
add esi, 4
add ecx, 4
cmp ebp, 0x1c
mov dword [esp + 0x14], ecx
jl 0x4b0333
mov edx, dword [0x818794]
mov al, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x30]
mov esi, dword [edx + 0x810]
mov byte [esp + 0x30], al
call fcn.004031c0
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, edi
mov dword [esp + 0x4c], 1
call fcn.004b1ae0
mov edx, dword [0x6a3564]
lea ecx, [esp + 0x2c]
push edx
push ebx
push eax
mov byte [esp + 0x50], 2
call fcn.00402fc0
mov eax, dword [esp + 0x20]
pop esi
cmp eax, ebx
mov byte [esp + 0x40], 1
pop ebp
je 0x4b0453
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4b044a
cmp al, 0xff
je 0x4b044a
dec al
mov byte [ecx], al
jmp 0x4b0453
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [edi + 0x1f8]
cmp ecx, ebx
je 0x4b0467
mov eax, dword [ecx]
lea edx, [esp + 0x24]
push edx
call dword [eax + 0x78]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x3c], 0xffffffff
cmp ecx, ebx
je 0x4b04a2
mov al, byte [ecx - 1]
cmp al, bl
je 0x4b0498
cmp al, 0xff
je 0x4b0498
dec al
pop edi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
dec ecx
push ecx
call fcn.006713a0
add esp, 4
mov ecx, dword [esp + 0x34]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4ba9f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x68a21f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 8], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x14], ebx
je 0x4baac7
push ebp
push edi
mov edi, dword [esp + 0x28]
mov al, byte [edi]
mov dword [esi + 4], ebx
mov byte [esi], al
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x6a3564]
push ecx
push ebx
push edi
mov ecx, esi
call fcn.00402fc0
mov dl, byte [edi + 0x10]
lea ebp, [edi + 0x10]
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 1
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x6a3564]
push eax
push ebx
push ebp
call fcn.00402fc0
mov dl, byte [edi + 0x20]
lea ebp, [edi + 0x20]
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 2
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x6a3564]
push eax
push ebx
push ebp
call fcn.00402fc0
mov ecx, dword [edi + 0x30]
mov byte [esp + 0x1c], 3
mov dword [esi + 0x30], ecx
mov dx, word [edi + 0x34]
mov word [esi + 0x34], dx
mov ax, word [edi + 0x36]
pop edi
mov word [esi + 0x36], ax
pop ebp
mov byte [esp + 0x14], bl
pop esi
mov dword [esp + 0x10], 0xffffffff
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret