joyce8/EMBER2024-capa huggingface dataset:
Function at 0x486d14
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x486d30
cmp dword [esi + 4], 0
je 0x486d5d
test byte [ebx + 0x55], 1
jne 0x486d4f
mov eax, ebx
call fcn.0048596c
test eax, eax
jne 0x486d4f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x486e6d
mov edx, esi
mov eax, ebx
call fcn.00486834
jmp 0x486e6d
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x486e66
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00488ae4
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00483628
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00486d14
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00488ae4
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486e6d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48d308
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b4eb0]
cmp byte [eax + 0xc], 0
je 0x48d475
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48d46e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b5efc], 0
jne 0x48d35c
push 0x48d47c
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x48d484
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5efc], eax
cmp dword [0x4b0cf4], 0
jne 0x48d457
push 0x48d494
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4b0cf4], eax
cmp dword [0x4b0cf4], 0
je 0x48d457
push 0x48d4a0
mov eax, dword [0x4b0cf4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5f00], eax
push 0x48d4b0
mov eax, dword [0x4b0cf4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5f04], eax
push 0x48d4c4
mov eax, dword [0x4b0cf4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5f08], eax
push 0x48d4dc
mov eax, dword [0x4b0cf4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5f0c], eax
push 0x48d4f4
mov eax, dword [0x4b0cf4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5f10], eax
push 0x48d508
mov eax, dword [0x4b0cf4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5f14], eax
push 0x48d520
mov eax, dword [0x4b0cf4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5f18], eax
push 0x48d538
mov eax, dword [0x4b0cf4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5f1c], eax
push 0x48d554
mov eax, dword [0x4b0cf4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5f20], eax
push 0x48d560
mov eax, dword [0x4b0cf4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4b5f24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d475
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x48db68
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
push 1
call sub.USER32.DLL_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48dbda
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x48dbae
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.0044c12c
jmp 0x48dbb5
mov eax, ebx
call fcn.0044bf3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dbe1
cmp dword [ebp - 8], 0
je 0x48dbd1
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x48dbe8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x48dc8a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x48dc5d
mov edx, ebx
mov eax, dword [0x465190]
call fcn.004698b0
test al, al
je 0x48dc4d
movzx eax, bx
push eax
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.004697c0
call fcn.0044bc48
jmp 0x48dc91
movzx eax, bx
push eax
call sub.USER32.DLL_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x48dc18
mov ecx, dword [0x4b51c4]
mov dl, 1
mov eax, dword [0x4397d4]
call fcn.0043dfdc
call fcn.0044bb9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dc91
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x48dc98
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x48dcf0
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dcf7
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x48dd00
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x48dd55
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.USER32.DLL_GetClipboardData
mov ebx, eax
push 9
call sub.USER32.DLL_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48dd5c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x48ddcc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x48de41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048daa4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.00469884
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x48de2b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48de48
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x48de50
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x48dec5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048daa4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.USER32.DLL_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x48deaf
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48decc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4903e4
Capabilities:
Get common file path
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_SetCurrentDirectoryA
dec eax
je 0x490400
call fcn.00490b08
jmp 0x49046f
lea edx, [ebp - 0x108]
push edx
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
test eax, eax
jne 0x49041c
call fcn.00490b08
jmp 0x49046f
cmp dword [0x4b6774], 1
je 0x49046d
movsx ecx, byte [ebp - 0x108]
push ecx
call fcn.004941b0
pop ecx
cmp al, 0x41
jl 0x49046d
cmp al, 0x5a
jg 0x49046d
cmp byte [ebp - 0x107], 0x3a
jne 0x49046d
mov byte [ebp - 4], 0x3d
mov byte [ebp - 3], al
lea eax, [ebp - 0x108]
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push eax
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.DLL_SetEnvironmentVariableA
dec eax
je 0x49046d
call fcn.00490b08
jmp 0x49046f
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x490474
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x104]
push eax
push 0x104
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [ebp - 0x104], 0x61
jl 0x4904a3
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffa0
jmp 0x4904ad
movsx edx, byte [ebp - 0x104]
add edx, 0xffffffc0
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret
Function at 0x4904b8
Capabilities:
Get disk information
Query environment variable
Set current directory
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
xor eax, eax
lea ecx, [ebp - 4]
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x108]
mov dword [esi], eax
mov byte [ebp - 4], 0x3d
mov dl, byte [ebp + 8]
add dl, 0x40
mov byte [ebp - 3], dl
mov byte [ebp - 2], 0x3a
mov byte [ebp - 1], 0
push 0x104
push edi
push ecx
call sub.KERNEL32.DLL_GetEnvironmentVariableA
test eax, eax
jne 0x49051e
mov al, byte [ebp - 3]
mov byte [edi], al
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
push edi
lea edx, [ebp - 4]
push edx
call sub.KERNEL32.DLL_SetEnvironmentVariableA
dec eax
je 0x49051e
call fcn.00490b08
jmp 0x490559
push edi
call sub.KERNEL32.DLL_SetCurrentDirectoryA
dec eax
je 0x49052e
call fcn.00490b08
jmp 0x490559
mov byte [edi + 1], 0x3a
mov byte [edi + 2], 0x5c
mov byte [edi + 3], 0
mov byte [edi], 0x41
jmp 0x490554
push edi
call sub.KERNEL32.DLL_GetDriveTypeA
mov ebx, eax
test eax, eax
je 0x490552
cmp ebx, 1
je 0x490552
inc dword [esi]
inc byte [edi]
cmp byte [edi], 0x5a
jle 0x49053f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4942c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x49432a
call fcn.00494278
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.0048ef4c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.0048ef4c
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4943a8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4b2ac0], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x494482
cmp dword [0x4b2abc], 0
jne 0x494482
cmp dword [0x4b2cc8], 0
je 0x49443c
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00494158
add esp, 8
mov ebx, eax
test eax, eax
jne 0x494422
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00494158
add esp, 8
mov ebx, eax
test eax, eax
jne 0x494422
lea ebx, [ebp - 0x84]
jmp 0x494423
inc ebx
call fcn.00494364
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x4944bd
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4b2ac4
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.0048ef4c
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4b2ac7
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x4944bd
cmp dword [0x4b2abc], 0
je 0x49449c
cmp dword [0x4b2abc], 0xffffffff
je 0x4944bd
push esi
call dword [0x4b2abc]
pop ecx
mov eax, dword [0x4b2ac0]
test eax, eax
je 0x4944bd
cmp dword [0x4b2ac0], 0xffffffff
je 0x4944bd
cmp byte [eax], 0
je 0x4944bd
push esi
push eax
call fcn.004942c8
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x494ce0
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4b678c], 0
jne 0x494d61
cmp dword [0x4b67ac], 0
jne 0x494d10
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4b67ac], eax
test eax, eax
jne 0x494d10
push str.GetEnvironmentStrings_failed
call fcn.004944d4
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4b67ac]
jmp 0x494d24
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.0048ef4c
pop ecx
mov edi, eax
test eax, eax
jne 0x494d1c
lea edi, [ebp + 1]
push edi
call fcn.0048e850
pop ecx
mov ebx, eax
mov dword [0x4b6790], ebx
test ebx, ebx
jne 0x494d4e
xor eax, eax
jmp 0x494e24
push edi
mov edx, dword [0x4b67ac]
push edx
push ebx
call fcn.0048edfc
add esp, 0xc
jmp 0x494d81
xor esi, esi
mov ebx, dword [0x4b678c]
jmp 0x494d7b
push eax
call fcn.0048ef4c
pop ecx
test eax, eax
jne 0x494d77
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x494d6b
lea ebx, [esi + 4]
push 4
mov dword [0x4b6794], ebx
inc ebx
push ebx
call fcn.0048e328
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x494da4
xor eax, eax
jmp 0x494e24
cmp dword [0x4b678c], 0
jne 0x494dd5
xor esi, esi
mov ebx, dword [0x4b6790]
mov eax, dword [esp]
mov ebp, eax
jmp 0x494dc6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.0048ef4c
pop ecx
mov edi, eax
test eax, eax
jne 0x494dbc
jmp 0x494e06
xor esi, esi
mov ebx, dword [0x4b678c]
mov eax, dword [esp]
mov edi, eax
jmp 0x494e00
push eax
call fcn.0048ef4c
pop ecx
test eax, eax
je 0x494df5
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x494df9
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x494de4
mov eax, dword [0x4b678c]
test eax, eax
je 0x494e16
push eax
call fcn.0048e860
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4b678c], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x49b144
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x49b172
mov eax, ebx
call fcn.0049bbfc
cmp dword [ebx + 0x3c], 0
je 0x49b16b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x49b1e3
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x49b1d5
cmp dword [ebx + 8], 0
je 0x49b194
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x49b1a6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x49b1d5
cmp dword [ebx + 8], 0
je 0x49b187
cmp eax, 3
je 0x49b1b9
dec eax
jne 0x49b187
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x49b187
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x49b187
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x49b201
cmp dword [ebx + 0x10], 0xcc
je 0x49b201
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0049b20c
pop ebx
ret
Function at 0x4081f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax], 0x10
je 0x40836d
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push 0x92
push 0
mov eax, dword [ebx]
mov dword [ebp + 8], eax
lea esi, [eax + 0x355]
push esi
call fcn.0055ecc0
add esp, 0xc
mov ecx, ebx
call fcn.00406e17
push 0
mov ecx, ebx
call fcn.00406cf5
test eax, eax
je 0x408355
push edi
mov edi, dword [eax]
mov ecx, eax
call fcn.00406a40
mov bl, al
mov ecx, 0x672df0
mov eax, dword [ebp + 8]
add bl, byte [eax + 0x525]
mov byte [ebp - 4], bl
push dword [ebp - 4]
call fcn.004079f8
test eax, eax
je case.0x408284.10
movzx ecx, word [edi + 0x2a]
cmp ecx, 0x78
jg case.0x408284.10
je 0x408339
sub ecx, 3
cmp ecx, 0x10
ja case.0x408284.10
jmp dword [ecx*4 + 0x408374]
movzx ecx, word [edi + 0x2c]
mov eax, dword [eax]
mov dword [esi + ecx*4 - 4], eax
jmp case.0x408284.10
movzx ecx, word [edi + 0x2c]
movss xmm0, dword [eax + 8]
test cx, cx
je case.0x408284.10
mov eax, dword [eax + 4]
mov dword [esi + ecx*4 + 0x24], eax
movss dword [esi + ecx*4 + 0x3c], xmm0
jmp case.0x408284.10
mov eax, dword [eax + 0xc]
mov dword [esi + 0x5c], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x10]
mov dword [esi + 0x58], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x18]
mov dword [esi + 0x64], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x68], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x70], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x74], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x24]
mov dword [esi + 0x7c], eax
movzx eax, bl
mov word [esi + 0x80], ax
jmp case.0x408284.10
mov eax, dword [eax + 0x28]
mov dword [esi + 0x82], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x86], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8a], eax
jmp case.0x408284.10
mov eax, dword [eax + 0x34]
mov dword [esi + 0x8e], eax
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00406cf5
test eax, eax
jne 0x408239
pop edi
mov ecx, dword [0x6a44fc]
call fcn.00457e0f
mov ecx, dword [0x6a44fc]
call fcn.00457c28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40ce9f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x728
mov eax, dword [0x66c240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x724], esi
mov dword [ebp - 0x728], eax
push edi
mov edi, ecx
test esi, esi
jne 0x40ced3
xor eax, eax
jmp 0x40cff0
test eax, eax
je 0x40cecc
push esi
push 1
lea eax, [ebp - 0x71d]
push 1
push eax
call fcn.0055f6f7
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.0055ecc0
add esp, 0x1c
add edi, 0x10
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40cf06
push ebx
sub ecx, edx
lea eax, [ebp - 0x204]
push ecx
push edi
push eax
call fcn.0055e220
push 0x100
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x71c]
push eax
call fcn.0040dce2
mov ebx, dword [ebp + 0x14]
xor edi, edi
add esp, 0x18
cmp dword [ebp + 0x10], edi
jle 0x40cfa0
push esi
push 0x10
lea eax, [ebp - 0x604]
push 1
push eax
call fcn.0055f6f7
add esp, 0x10
cmp eax, 0x10
jne 0x40cfcb
lea eax, [ebp - 0x604]
push eax
push eax
lea eax, [ebp - 0x71c]
push 0
push eax
call fcn.0040d0d3
mov esi, dword [ebp - 0x728]
add esp, 0x10
xor edx, edx
mov cl, byte [ebp + edx - 0x604]
lea eax, [esi + edx]
add bl, cl
mov byte [eax + edi], cl
inc edx
cmp edx, 0x10
jl 0x40cf7d
mov esi, dword [ebp - 0x724]
add edi, 0x10
cmp edi, dword [ebp + 0x10]
jl 0x40cf43
push esi
push 1
lea eax, [ebp - 0x71e]
push 1
push eax
call fcn.0055f6f7
mov cl, byte [ebp - 0x71d]
add esp, 0x10
cmp cl, byte [ebp - 0x71e]
jne 0x40cfd9
cmp cl, bl
jne 0x40cfd9
xor eax, eax
inc eax
jmp 0x40cfef
push 0
push str.Error__
push str.fread_Error__
jmp 0x40cfe5
push 0
push str.Error__
push str.CheckCrc_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0055dcf4
mov esp, ebp
pop ebp
ret 0x10