joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a4e60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4fd893
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004f0ca1
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004f6339
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004f7855
test eax, eax
je 0x4a4f7c
mov ecx, dword [esp + 0x3c]
call fcn.004f6366
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4a4f40
push edi
mov ecx, esi
call fcn.004f39ca
mov ecx, esi
call fcn.004a5120
cmp dword [esp + 0x38], 1
jne 0x4a4f75
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004f3b05
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4a7160
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4a7193
push esi
call fcn.004b5530
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4a718c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4a7219
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a7202
mov eax, dword [esi + 8]
test eax, eax
je 0x4a71b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4a71fe
cmp eax, 2
je 0x4a7202
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a71aa
cmp eax, 3
je 0x4a71dd
cmp eax, 1
jne 0x4a71aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4a71aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4a71aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004a7240
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4a7228
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004a7240
add esp, 4
pop esi
ret

Function at 0x4a7ac0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4a7ae1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4a7ae1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4a7ae1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4c23b0
Capabilities:
Capture screenshot
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0x10
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
push edi
mov dword [esp + 0xc], 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4c23d8
xor eax, eax
pop edi
add esp, 0x10
ret 0xc
push ebx
push ebp
push esi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
push 8
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ebp, ebp
jge 0x4c2424
xor ebp, ebp
mov ecx, dword [esp + 0x24]
test ecx, ecx
jge 0x4c2434
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x10]
cmp ebx, ecx
jle 0x4c243e
mov ebx, ecx
cmp edi, eax
jle 0x4c2444
mov edi, eax
mov edx, dword [esp + 0x24]
sub ebx, ebp
sub edi, edx
push edi
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x24]
push 0xcc0020
push edx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov eax, dword [esp + 0x28]
pop esi
sub eax, 0
pop ebp
pop ebx
je 0x4c24cc
dec eax
jne 0x4c24e3
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c24e3
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [esp + 4]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [esp + 8], 1
jmp 0x4c24e3
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 4]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.004c25e0
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 8]
pop edi
add esp, 0x10
ret 0xc
Function at 0x4c2500
Capabilities:
Capture screenshot

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x10]
push edi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4c251c
xor eax, eax
pop edi
add esp, 8
ret 4
push ebx
push ebp
push esi
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 4]
mov edi, dword [edi + 0xc]
push 8
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0xa
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ebp, ebp
jge 0x4c2568
xor ebp, ebp
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jge 0x4c2578
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x14]
cmp ebx, ecx
jle 0x4c2582
mov ebx, ecx
cmp edi, eax
jle 0x4c2588
mov edi, eax
mov edx, dword [esp + 0x1c]
sub ebx, ebp
sub edi, edx
push edi
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push edx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push edi
call esi
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret 4
Function at 0x4c9880
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x56010c]
xor edx, edx
cmp eax, edx
jne 0x4c98a6
xor eax, eax
mov byte [eax + 0x56000c], al
inc eax
cmp eax, 0x100
jl 0x4c988e
mov dword [0x56010c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x56000c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4c9937
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4c990a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4c98d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4c99b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4c9a03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4c99ea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d03c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fdd7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004d0ce0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x51e35c
call fcn.004ef409
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4d0453
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004ef409
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4d044c
push 0
mov ecx, eax
call fcn.004c74c0
mov dword [esi + 0xc], eax
jmp 0x4d0455
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4d0455
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4f1a96
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4f1ace
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004efb23
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004efafb
jmp 0x4f1ada
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4f3187
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 0x4f31c9
call fcn.004f8c3b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4f31c9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4f31c0
xor eax, eax
jmp 0x4f31d1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004f31d7
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f916b
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 0x4f9199
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4f91b7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004f90d1
jmp 0x4f91b7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f91b7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004f90d1
test edi, edi
mov eax, edi
jne 0x4f91a1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x7b3d80
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x1c]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test esi, esi
jle 0x7b3de6
push ebp
mov ebp, dword [esp + 0x18]
sub ebp, dword [esp + 0x1c]
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x1c]
push edi
inc bl
movzx ebx, bl
mov cl, byte [edx + ebx + 8]
add al, cl
movzx eax, al
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x18]
mov al, byte [edx + eax + 8]
mov byte [edx + ebx + 8], al
add al, cl
movzx eax, al
mov byte [edx + edi + 8], cl
mov cl, byte [eax + edx + 8]
mov eax, edi
xor cl, byte [esi + ebp]
mov byte [esi], cl
inc esi
sub dword [esp + 0x10], 1
jne 0x7b3da6
mov esi, dword [esp + 0x24]
pop edi
pop ebp
mov dword [edx + 4], eax
mov eax, esi
pop esi
mov dword [edx], ebx
pop ebx
pop ecx
ret

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

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x74]
lea eax, [esp + 0x20]
push ebp
push esi
push edi
push 0x34
push dword [esp + 0x7c]
mov edi, ebx
mov ebp, ebx
sub edi, dword [esp + 0x70]
sub ebp, dword [esp + 0x84]
push eax
mov dword [esp + 0x30], edi
call fcn.007bbf34
xor esi, esi
add esp, 0xc
cmp dword [esp + 0x70], esi
jbe 0x7b44f7
mov ecx, dword [esp + 0x6c]
mov edx, ebx
movzx eax, byte [ecx + esi*2]
mov dword [esp + 0x14], eax
movzx eax, byte [ecx + esi*2 + 1]
mov ecx, dword [esp + 0x68]
sub edx, eax
mov dword [esp + 0x28], eax
sub ecx, edx
mov dword [esp + 0x18], edx
mov eax, dword [esp + eax*4 + 0x2c]
mov dword [esp + 0x10], eax
xor eax, eax
inc eax
shl eax, cl
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
sub eax, edx
mov dword [esp + 0x20], eax
cmp eax, ebp
jb 0x7b4483
xor eax, eax
add edx, edi
inc eax
cmp edx, eax
cmovl edx, eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x74]
sub eax, ecx
push ebx
push eax
mov eax, dword [esp + 0x78]
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x24]
push eax
imul eax, ecx, 0x34
push edx
add eax, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push dword [esp + 0x3c]
lea eax, [ecx + eax*4]
push eax
call fcn.007c7eac
mov edx, dword [esp + 0x40]
add esp, 0x24
jmp 0x7b44e4
mov eax, dword [esp + 0x14]
movzx eax, ax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 2
push eax
lea eax, [esp + 0x84]
push eax
call fcn.007bbf34
mov ecx, dword [esp + 0x24]
xor eax, eax
mov edx, dword [esp + 0x28]
inc eax
mov byte [esp + 0x8a], cl
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x7f], al
lea eax, [edx + ecx]
cmp ecx, eax
jae 0x7b44e4
mov ebx, dword [esp + 0x64]
mov ecx, edx
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x7c]
lea edi, [ebx + edi*4]
mov ebx, dword [esp + 0x80]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add dword [esp + eax*4 + 0x2c], edx
inc esi
cmp esi, dword [esp + 0x70]
jb 0x7b43e9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
Function at 0x7c20d8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
push edi
mov ebx, 0x7be288
mov eax, dword [eax + 0xc]
push ebx
mov edi, dword [eax + 0x18]
push dword [edi + 0x28]
call fcn.00697298
pop ecx
pop ecx
test eax, eax
jne 0x7c20ff
mov eax, dword [edi + 0x10]
jmp 0x7c211e
push esi
mov esi, dword [edi + 4]
jmp 0x7c2117
push ebx
push dword [esi + 0x28]
call fcn.00697298
pop ecx
pop ecx
test eax, eax
je 0x7c2121
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x7c2105
xor eax, eax
pop esi
pop edi
pop ebx
ret
mov eax, dword [esi + 0x10]
jmp 0x7c211d

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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
test ebx, ebx
je 0x7c245c
mov edi, dword [esp + 0x18]
test edi, 0xffff0000
jne 0x7c242d
sub edi, dword [ebx + esi + 0x10]
jmp 0x7c2474
mov eax, dword [ebx + esi + 0x20]
xor ebp, ebp
add eax, esi
mov dword [esp + 0x14], eax
cmp dword [ebx + esi + 0x18], ebp
jbe 0x7c245c
mov eax, dword [eax + ebp*4]
add eax, esi
push edi
push eax
call fcn.007cc814
pop ecx
pop ecx
test eax, eax
je 0x7c2465
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, dword [ebx + esi + 0x18]
jb 0x7c243f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
test ebp, ebp
js 0x7c245c
mov eax, dword [ebx + esi + 0x24]
lea eax, [eax + ebp*2]
movzx edi, word [eax + esi]
cmp edi, 0xffffffff
je 0x7c245c
cmp edi, dword [ebx + esi + 0x14]
jae 0x7c245c
mov eax, dword [ebx + esi + 0x1c]
lea eax, [eax + edi*4]
mov eax, dword [eax + esi]
add eax, esi
jmp 0x7c245e

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

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
call fcn.007b1b20
shr eax, 8
pop ecx
test al, al
je 0x7c37f1
pop ebp
jmp fcn.007b03c8
pop ebp
jmp fcn.0069bf84
Function at 0x42bbd3
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126ddc
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x101badf4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], edi
lea esi, [edi + 0xd8]
mov dword [edi], 0x10191a20
mov dword [ebp - 0x24], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042ed23
mov dword [esi], eax
lea esi, [edi + 0xe0]
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042ed23
mov dword [esi], eax
lea esi, [edi + 0xe8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042ed23
mov dword [esi], eax
lea eax, [ebp - 0x20]
push eax
mov dword [edi + 0x94], 0xffffffff
mov dword [edi + 0x8c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x48], 0x26
mov dword [edi + 0x4c], 0x1c
mov dword [edi + 0x50], 0xa
mov dword [edi + 0x54], 0x38
mov dword [edi + 0x74], 0xffffffff
mov dword [edi + 0x78], 0xffffffff
mov dword [edi + 0x7c], 0xffffffff
mov dword [edi + 0x80], 0xffffffff
mov dword [edi + 0x84], 0xffffffff
mov dword [edi + 0x88], 0xffffffff
mov dword [edi + 0x1c], 0xff
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0xffffff
mov dword [edi + 0x28], 0xc8c8c8
mov dword [edi + 0x2c], 0xff
mov dword [edi + 0x30], 0x5f6ffa
mov dword [edi + 0x34], 0xc9aeff
mov dword [edi + 0x38], 0xa0a0a0
mov dword [edi + 0x90], 0xffffffff
mov dword [edi + 0x58], 0x1a
mov dword [edi + 0x5c], 0x14
mov dword [edi + 0x60], 0x1a
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
call dword [0x101291cc]
movzx esi, word [ebp - 0x20]
mov eax, edi
movzx edx, word [ebp - 0x1e]
movzx ecx, word [ebp - 0x1a]
mov dword [edi + 0x3c], esi
mov dword [edi + 0x40], edx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x64], esi
mov dword [edi + 0x68], edx
mov dword [edi + 0x6c], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050d7a4
mov esp, ebp
pop ebp
ret
Function at 0x459b53
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x101badf4]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [ebp + 8]
mov edx, 0x15
push esi
mov esi, dword [ebp + 0xc]
mov ecx, ebx
push edi
push 0x10193694
mov dword [esp + 0x1c], esi
call fcn.00438813
lea eax, [ebx - 1]
add esp, 4
cmp eax, 0x4e1f
ja 0x459ba3
mov ebx, dword [ebx*4 + 0x101c81dc]
test ebx, ebx
je 0x459ba3
cmp dword [ebx + 4], 0x15
je 0x459ba5
xor ebx, ebx
cmp dword [ebx + 0x74], 0
je 0x459cd7
cmp dword [ebx + 0x34], 0
je 0x459cd7
mov eax, dword [ebx + 0x6c]
sub eax, dword [ebx + 0x64]
push dword [esi + 4]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x70]
sub eax, dword [ebx + 0x68]
push dword [esi]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call dword [0x10129298]
test eax, eax
je 0x459cd7
mov esi, dword [ebx + 0x110]
sub esi, dword [ebx + 0x10c]
sar esi, 2
dec esi
cmp esi, 0xffffffff
jle 0x459cba
nop dword [eax + eax]
mov eax, dword [ebx + 0x10c]
mov edi, dword [eax + esi*4]
lea eax, [edi - 1]
cmp eax, 0x4e1f
ja 0x459cb0
mov eax, dword [edi*4 + 0x101c81dc]
test eax, eax
je 0x459cb0
cmp dword [eax + 4], 0x15
jne 0x459cb0
push 0x1019363c
mov edx, 0x15
mov ecx, edi
call fcn.00438813
mov ecx, dword [edi*4 + 0x101c81dc]
add esp, 4
test ecx, ecx
je 0x459c60
cmp dword [ecx + 4], 0x15
je 0x459c62
xor ecx, ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x459cb0
push edi
call fcn.00459a93
test eax, eax
je 0x459cb0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.00458de3
mov eax, dword [esp + 0x1c]
sub dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
sub dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push edi
call fcn.00459b53
test eax, eax
jne 0x459cd9
dec esi
cmp esi, 0xffffffff
jg 0x459c13
cmp dword [ebx + 0x78], 0
jne 0x459cd7
mov eax, dword [ebx + 0x40]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0050d7a4
mov esp, ebp
pop ebp
ret 8
xor eax, eax
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0050d7a4
mov esp, ebp
pop ebp
ret 8
Function at 0x49c6e3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x49c747
mov eax, dword [edi + 0x2804]
cmp eax, 2
jne 0x49c71a
mov eax, dword [edi + 0x27fc]
push dword [eax + 4]
lea eax, [ecx + ecx]
push eax
push 1
push dword [ebp + 8]
call fcn.0051b468
add esp, 0x10
pop edi
pop ebp
ret 8
push esi
push eax
push ecx
push dword [ebp + 8]
lea esi, [edi + 0xd54]
push esi
push esi
mov edx, esi
mov ecx, esi
call fcn.0049c573
mov ecx, dword [edi + 0x27fc]
push dword [ecx + 4]
push eax
push 1
push esi
call fcn.0051b468
add esp, 0x24
pop esi
pop edi
pop ebp
ret 8

Function at 0x49c753
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push dword [esi + 0x2800]
push esi
call fcn.0049c6e3
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x2800], 0
cmp ecx, 0x6aa
jbe 0x49c83c
cmp dword [esi + 0x2804], 2
jne 0x49c7a8
mov eax, dword [esi + 0x27fc]
push dword [eax + 4]
lea eax, [ecx + ecx]
push eax
push 1
push dword [ebp + 8]
call fcn.0051b468
add esp, 0x10
pop esi
pop ebx
pop ebp
ret 8
mov ebx, dword [ebp + 8]
push edi
nop dword [eax]
movzx eax, word [ebx + 0xd52]
mov ecx, dword [esi + 0x2804]
sub eax, 0xd800
cmp eax, 0x400
sbb edi, edi
add edi, 0x6aa
cmp ecx, 2
jne 0x49c7e7
mov eax, dword [esi + 0x27fc]
lea edx, [edi + edi]
mov ecx, ebx
mov eax, dword [eax + 4]
jmp 0x49c80f
push ecx
lea eax, [esi + 0xd54]
push edi
push ebx
push eax
push eax
mov edx, eax
mov ecx, eax
call fcn.0049c573
mov ecx, dword [esi + 0x27fc]
mov edx, eax
add esp, 0x14
mov eax, dword [ecx + 4]
lea ecx, [esi + 0xd54]
push eax
push edx
push 1
push ecx
call fcn.0051b468
mov ecx, dword [ebp + 0xc]
lea ebx, [ebx + edi*2]
sub ecx, edi
add esp, 0x10
mov dword [ebp + 0xc], ecx
cmp ecx, 0x6aa
ja 0x49c7b3
mov dword [esi + 0x2800], 0
pop edi
jmp 0x49c83f
mov ebx, dword [ebp + 8]
lea eax, [ecx + ecx]
push eax
push ebx
push esi
call fcn.0050fe93
mov eax, dword [ebp + 0xc]
add esp, 0xc
add dword [esi + 0x2800], eax
pop esi
pop ebx
pop ebp
ret 8