joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5982a0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x74f4eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
mov eax, dword [esp + 0x168]
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x160]
push eax
push ecx
lea eax, [esp + 8]
push edx
push eax
call fcn.006fcb60
add esp, 0x10
mov eax, dword [esp + 4]
mov dword [esp + 0x158], 0
test eax, eax
jne 0x5982f8
mov eax, 0x765608
lea ecx, [esp + 0x10]
push esi
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
test esi, esi
jne 0x598337
push eax
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
test ecx, ecx
je 0x598395
mov al, byte [ecx - 1]
test al, al
je 0x59838b
cmp al, 0xff
je 0x59838b
dec al
mov byte [ecx - 1], al
jmp 0x598395
mov eax, dword [esp + 8]
test eax, eax
jne 0x598344
mov eax, 0x765608
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
push esi
jne 0x59830c
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [esp + 8]
mov dword [esp + 0x15c], 0xffffffff
test ecx, ecx
je 0x598387
mov al, byte [ecx - 1]
test al, al
je 0x59837d
cmp al, 0xff
je 0x59837d
dec al
mov byte [ecx - 1], al
xor al, al
jmp 0x598397
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
xor al, al
jmp 0x598397
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x154]
pop esi
mov dword fs:[0], ecx
add esp, 0x15c
ret 0xc
Function at 0x59ad60
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x74f72b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x864
mov eax, dword [ecx + 0xd8]
mov edx, dword [ecx + 0xd4]
inc eax
push eax
mov eax, dword [ecx + 0xcc]
push edx
lea ecx, [esp + 8]
push eax
push ecx
call fcn.006fcb60
add esp, 0x10
mov eax, dword [esp + 4]
mov dword [esp + 0x86c], 0
test eax, eax
jne 0x59adb6
mov eax, 0x765608
push esi
push 0
push 0x80
push 3
push 0
push 0
push closesocket
push eax
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x59ae17
mov ecx, dword [esp + 8]
mov dword [esp + 0x870], eax
test ecx, ecx
je 0x59aed0
mov al, byte [ecx - 1]
test al, al
je 0x59ae10
cmp al, 0xff
je 0x59ae10
dec al
pop esi
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x864]
mov dword fs:[0], ecx
add esp, 0x870
ret
dec ecx
push ecx
jmp 0x59aec8
push ebx
push ebp
push edi
push 0
push esi
call dword [sym.imp.kernel32.dll_GetFileSize]
mov ebx, eax
push ebx
call fcn.00726f70
add esp, 4
lea edx, [esp + 0x20]
mov ebp, eax
push 0
push edx
push ebx
push ebp
push esi
call dword [sym.imp.kernel32.dll_ReadFile]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, ebx
mov esi, ebp
mov eax, ecx
lea edi, [esp + 0x28]
shr ecx, 2
mov byte [esp + 0x24], 0x3c
mov byte [esp + 0x25], 0x1a
mov word [esp + 0x26], bx
push ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
add ebx, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00726ea6
add esp, 4
lea ecx, [esp + 0x24]
push ebx
push ecx
mov ecx, dword [0x93cbf4]
call fcn.0045cad0
mov eax, dword [esp + 0x14]
pop edi
pop ebp
mov dword [esp + 0x874], 0xffffffff
test eax, eax
pop ebx
je 0x59aed0
mov cl, byte [eax - 1]
test cl, cl
je 0x59aec6
cmp cl, 0xff
je 0x59aec6
dec cl
pop esi
mov byte [eax - 1], cl
mov ecx, dword [esp + 0x864]
mov dword fs:[0], ecx
add esp, 0x870
ret
dec eax
push eax
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x868]
pop esi
mov dword fs:[0], ecx
add esp, 0x870
ret
Function at 0x5a2b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x74fd10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov al, byte [esp + 0x34]
sub esp, 0x10
xor ebx, ebx
mov ecx, esp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], esp
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x76560c]
lea eax, [esp + 0x44]
push edx
push ebx
push eax
call fcn.00404560
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x3c], bl
call fcn.005a2de0
cmp eax, ebx
mov dword [esp + 0x30], eax
jne 0x5a2c3b
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0xffffffff
cmp ecx, ebx
je 0x5a2c34
mov al, byte [ecx - 1]
cmp al, bl
je 0x5a2c2a
cmp al, 0xff
je 0x5a2c2a
dec al
mov byte [ecx - 1], al
xor al, al
jmp 0x5a2cbd
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
xor al, al
jmp 0x5a2cbd
mov esi, dword [edi + 0x284]
push 0xc
mov ebp, dword [esi + 4]
call fcn.00726f70
add esp, 4
cmp esi, ebx
mov ecx, esi
jne 0x5a2c56
mov ecx, eax
mov dword [eax], ecx
cmp ebp, ebx
mov ecx, ebp
jne 0x5a2c60
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov ecx, dword [eax + 4]
mov dword [ecx], eax
add eax, 8
cmp eax, ebx
je 0x5a2c78
mov edx, dword [esp + 0x30]
mov dword [eax], edx
mov ecx, dword [edi + 0x288]
mov eax, dword [esp + 0x30]
inc ecx
mov dword [edi + 0x288], ecx
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x274], eax
cmp ecx, ebx
mov dword [esp + 0x1c], 0xffffffff
je 0x5a2cbb
mov al, byte [ecx - 1]
cmp al, bl
je 0x5a2cb1
cmp al, 0xff
je 0x5a2cb1
dec al
mov byte [ecx - 1], al
jmp 0x5a2cbb
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x20
Function at 0x5a8c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x7502f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov al, byte [esp + 3]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], esi
mov byte [esp + 0x2c], al
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], ebx
push ecx
push 0x3083
call fcn.006a8c20
mov ecx, dword [0x93cc28]
add esp, 8
call fcn.0067a7d0
cmp al, 1
mov eax, dword [esp + 0x30]
jne 0x5a8c83
cmp eax, ebx
jne 0x5a8c78
mov eax, 0x765608
push 0x14
push ebx
lea edx, [esp + 0x18]
push eax
push edx
jmp 0x5a8c95
cmp eax, ebx
jne 0x5a8c8c
mov eax, 0x765608
push 0xa
push ebx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00727335
mov eax, dword [esi + 0x18c]
add esp, 0x10
cmp eax, ebx
je 0x5a8d4a
mov cl, byte [esp + 0xb]
push ebp
push edi
mov byte [esp + 0x24], cl
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x2c], ebx
mov ebp, ecx
lea ecx, [esp + 0x28]
push ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00401450
test al, al
je 0x5a8d07
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00404970
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x18c]
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x50], 1
mov eax, dword [ecx]
call dword [eax + 0x9c]
mov eax, dword [esp + 0x28]
pop edi
cmp eax, ebx
mov byte [esp + 0x48], bl
pop ebp
je 0x5a8d4a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5a8d41
cmp al, 0xff
je 0x5a8d41
dec al
mov byte [ecx], al
jmp 0x5a8d4a
push ecx
call fcn.00726ea6
add esp, 4
push ebx
mov ecx, esi
call fcn.005a8fb0
mov ecx, esi
call fcn.005aea40
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], 0xffffffff
cmp ecx, ebx
je 0x5a8d94
mov al, byte [ecx - 1]
cmp al, bl
je 0x5a8d8a
cmp al, 0xff
je 0x5a8d8a
dec al
pop esi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x3c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x5bd270
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x751a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
mov al, byte [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x20], al
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov ecx, dword [0x93c974]
mov byte [esp + 0x38], 1
mov dword [esp + 0x10], ebx
mov eax, dword [ecx + 0x18]
lea ebp, [ecx + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov ecx, dword [ebp]
cmp eax, ecx
je 0x5bd373
add eax, 0x10
cmp eax, ebx
mov dword [esp + 0x10], eax
je 0x5bd348
mov dl, byte [eax + 4]
lea edi, [eax + 4]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x2c], esp
push ebx
mov ecx, esi
mov byte [esi], dl
call fcn.00404760
mov eax, dword [0x76560c]
mov ecx, esi
push eax
push ebx
push edi
call fcn.00404560
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 1
push ecx
call fcn.006f6c50
add esp, 0x14
cmp al, 1
jne 0x5bd348
call fcn.007276e9
cdq
mov ecx, 0x64
idiv ecx
mov ecx, dword [esp + 0x10]
xor eax, eax
mov al, byte [ecx + 0x16]
cmp edx, eax
jge 0x5bd348
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
push 1
push eax
lea ecx, [esp + 0x2c]
call fcn.004ad7b0
lea ecx, [esp + 0x14]
call fcn.005bdba0
mov ecx, dword [ebp]
mov eax, dword [esp + 0x14]
cmp eax, ecx
jne 0x5bd2d0
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x5bd373
mov esi, dword [esp + 0x28]
sub esi, edi
sar esi, 2
jne 0x5bd3bc
push 0x7a8158
call fcn.00455190
add esp, 4
push 0x7a81c0
call fcn.00455190
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x3c], bl
push ecx
call fcn.00726ea6
add esp, 8
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push 1
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00404760
jmp 0x5bd425
call fcn.007276e9
xor edx, edx
mov ecx, dword [esp + 0x18]
div esi
mov edx, dword [edi + edx*4]
mov dword [esp + 0x10], edx
movsx edx, word [edx + 0x14]
push edx
push 0x1b
call fcn.005bb2c0
mov eax, dword [esp + 0x24]
mov byte [esp + 0x38], bl
push eax
call fcn.00726ea6
mov ecx, dword [esp + 0x48]
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
cmp ecx, ebx
mov dword [esp + 0x38], 0xffffffff
je 0x5bd425
mov al, byte [ecx - 1]
cmp al, bl
je 0x5bd41b
cmp al, 0xff
je 0x5bd41b
dec al
mov byte [ecx - 1], al
jmp 0x5bd425
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 0x10
Function at 0x5cc670
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x752d2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.00737c5c
lea ecx, [esp + 0xc]
mov dword [esi + 0x34], eax
call fcn.007376fa
mov edi, dword [0x93f128]
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0
call fcn.007376fa
mov eax, dword [edi + 4]
mov byte [esp + 0x1c], 1
cmp eax, 0xffffffff
jae 0x5cc6c9
inc eax
mov dword [edi + 4], eax
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call fcn.00737796
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00737796
lea eax, [esi + 4]
lea ecx, [esi + 0x14]
lea edx, [esi + 0x18]
mov dword [esp + 0x1c], 2
mov dword [esi + 0xc], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], edx
lea eax, [esi + 8]
lea ecx, [esi + 0x24]
lea edx, [esi + 0x28]
mov dword [esi], 0x772e70
mov dword [esi + 0x10], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], edx
mov dword [eax], 0
mov eax, dword [esi + 0x20]
pop edi
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov edx, dword [esi + 0xc]
mov dword [edx], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov ecx, dword [esi + 0x2c]
mov eax, esi
pop esi
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], 0xffffffff
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x5f7c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x755baf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x18], ebx
mov byte [esp + 8], al
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], 1
cmp eax, 0x12c
jg 0x5f7cf6
je 0x5f7ce7
add eax, 0xfffffff6
cmp eax, 0xc8
ja case.0x5f7c77.17
xor ecx, ecx
mov cl, byte [eax + 0x5f7e24]
jmp dword [ecx*4 + 0x5f7e04]
lea edx, [esp + 8]
push edx
push 0x2e7d
jmp 0x5f7d81
lea eax, [esp + 8]
push eax
push 0x2e7e
jmp 0x5f7d81
lea ecx, [esp + 8]
push ecx
push 0x2d68
jmp 0x5f7d81
lea edx, [esp + 8]
push edx
push 0x2d69
jmp 0x5f7d81
lea eax, [esp + 8]
push eax
push 0x2e84
jmp 0x5f7d81
lea ecx, [esp + 8]
push ecx
push 0x2e85
jmp 0x5f7d81
lea edx, [esp + 8]
push edx
push 0x2e7f
jmp 0x5f7d81
lea eax, [esp + 8]
push eax
push 0x2e80
jmp 0x5f7d81
cmp eax, 0x276
jg 0x5f7d42
je 0x5f7d36
sub eax, 0x1e0
je 0x5f7d2a
sub eax, 0x82
je 0x5f7d1e
sub eax, 0xa
jne case.0x5f7c77.17
lea ecx, [esp + 8]
push ecx
push 0x2e82
jmp 0x5f7d81
lea edx, [esp + 8]
push edx
push 0x2e81
jmp 0x5f7d81
lea eax, [esp + 8]
push eax
push 0x2d5c
jmp 0x5f7d81
lea ecx, [esp + 8]
push ecx
push 0x2e83
jmp 0x5f7d81
sub eax, 0x2c6
je 0x5f7d77
sub eax, 0xa
je 0x5f7d6b
sub eax, 0x5a
je 0x5f7d5f
lea edx, [esp + 8]
push edx
push 0x2e7c
jmp 0x5f7d81
lea eax, [esp + 8]
push eax
push 0x3265
jmp 0x5f7d81
lea ecx, [esp + 8]
push ecx
push 0x2e86
jmp 0x5f7d81
lea edx, [esp + 8]
push edx
push 0x2e87
call fcn.006a8c20
mov esi, dword [esp + 0x34]
mov al, byte [esp + 0x10]
add esp, 8
lea edx, [esp + 8]
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x76560c]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.00404560
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x24], bl
cmp ecx, ebx
je 0x5f7de0
mov al, byte [ecx - 1]
cmp al, bl
je 0x5f7dd6
cmp al, 0xff
je 0x5f7dd6
dec al
mov byte [ecx - 1], al
jmp 0x5f7de0
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x5fdf80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov al, byte [esi + 0xa8]
test al, al
jne 0x5fdfa3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
cmp dword [esi + 0x7c], 1
jne 0x5fdff2
test byte [esp + 0x18], 2
je 0x5fdfc6
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x3c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esi]
mov edi, dword [eax + 4]
mov ebp, dword [ecx + 4]
mov eax, dword [eax]
sub edi, ebp
push edi
mov edi, dword [ecx]
sub eax, edi
mov ecx, esi
push eax
call dword [edx + 0x34]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 0xc
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
push ecx
push edx
mov ecx, esi
call fcn.00401e90
test al, al
jne 0x5fe039
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
mov ecx, esi
call fcn.00401e90
test al, al
jne 0x5fe02f
cmp dword [esi + 0x7c], 0x11
je 0x5fe02f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov dword [esp + 0x10], 8
jmp 0x5fe04e
mov ecx, dword [0x7c4d84]
test ecx, ecx
je 0x5fe04e
lea eax, [esi + 0x3c]
push 0xffffffffffffffff
push eax
call fcn.00414200
mov eax, dword [esi + 0x70]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
or edx, 4
mov edi, dword [eax]
mov dword [esp + 0x10], edx
cmp eax, edi
je 0x5fe086
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x5fe07d
mov eax, dword [esp + 0x20]
mov edx, dword [ecx]
push eax
push ebp
push ebx
call dword [edx + 0x64]
test al, 1
jne 0x5fe0e4
mov edi, dword [edi]
mov eax, dword [esi + 0x70]
cmp eax, edi
jne 0x5fe066
cmp dword [esi + 0x7c], 1
je 0x5fe0f2
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
push ecx
lea eax, [esi + 0x98]
push edx
push eax
call dword [sym.imp.user32.dll_PtInRect]
test eax, eax
je 0x5fe0f2
test bl, 1
je 0x5fe0f2
cmp dword [esi + 0x78], 0xc
jne 0x5fe0cd
mov eax, dword [esi + 0xbc]
test eax, eax
jne 0x5fe0cd
mov ecx, dword [0x93cc28]
mov edx, dword [ecx + 0x58]
mov al, byte [edx + 0xa8]
test al, al
jne 0x5fe0f2
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x3c]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
or al, 1
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
or al, 3
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x609d60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x756bdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov al, byte [0x9365ac]
mov ecx, dword [esp + 0x90]
mov dx, word [esp + 0x94]
add al, 0x31
mov byte [esp + 0x24], al
mov al, byte [esp + 0x8c]
mov byte [esp + 0x25], al
mov eax, dword [esp + 0x98]
push ebx
push esi
cmp eax, 0xfffffffd
push edi
mov dword [esp + 0x32], ecx
mov word [esp + 0x36], dx
mov word [esp + 0x38], ax
mov esi, 0xa
jne 0x609f0a
mov eax, dword [0x93cc28]
xor ebx, ebx
cmp dword [eax + 0x40], ebx
je 0x609f0a
mov cl, byte [esp + 0xf]
push ebx
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
call fcn.00404760
mov edi, 0x7c4d88
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x7c4d88
lea ecx, [esp + 0x18]
call fcn.004047b0
mov eax, dword [0x93cc28]
mov dword [esp + 0x90], ebx
mov edx, dword [eax + 0x40]
mov ecx, dword [edx + 0xd4]
cmp ecx, ebx
jne 0x609e7d
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [edx + 0xc0]
call fcn.0058a0b0
mov ecx, dword [0x76560c]
mov byte [esp + 0x90], 1
push ecx
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00404560
mov byte [esp + 0x90], bl
push 1
lea ecx, [esp + 0x24]
call fcn.00404760
mov eax, dword [esp + 0x18]
mov dx, word [esp + 0x18]
cmp eax, ebx
mov word [esp + 0x3a], dx
mov esi, 0xc
je 0x609ef4
mov esi, dword [esp + 0x14]
cmp esi, ebx
jne 0x609edd
jmp 0x609ed8
cmp ecx, 2
jne 0x609ebe
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [edx + 0xc8]
call fcn.00519410
mov ecx, dword [0x76560c]
mov byte [esp + 0x90], 2
push ecx
push ebx
push eax
lea ecx, [esp + 0x1c]
call fcn.00404560
mov byte [esp + 0x90], bl
push 1
lea ecx, [esp + 0x24]
jmp 0x609e53
mov eax, dword [esp + 0x18]
mov word [esp + 0x3a], bx
cmp eax, ebx
mov esi, 0xc
je 0x609ef4
mov esi, dword [esp + 0x14]
cmp esi, ebx
jne 0x609edd
mov esi, 0x765608
mov ecx, eax
lea edi, [esp + 0x3c]
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]
lea esi, [eax + 0xc]
push 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], 0xffffffff
call fcn.00404760
mov edi, dword [esp + 0xa8]
fld dword [edi]
call fcn.00726fd0
fld dword [edi + 4]
mov word [esp + esi + 0x30], ax
add esi, 2
call fcn.00726fd0
fld dword [edi + 8]
mov word [esp + esi + 0x30], ax
add esi, 2
call fcn.00726fd0
mov cx, word [esp + 0xb0]
mov word [esp + esi + 0x30], ax
mov ax, word [esp + 0xac]
add esi, 2
mov dx, word [esp + 0xb4]
mov word [esp + esi + 0x30], ax
add esi, 2
lea eax, [esp + 0x30]
mov word [esp + esi + 0x30], cx
mov ecx, dword [0x93cbf4]
add esi, 2
mov word [esp + esi + 0x30], dx
add esi, 2
push esi
push eax
call fcn.0045cad0
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 0x20
Function at 0x61e810
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.0x61e822
jmp dword [eax*4 + 0x61ea18]
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, 0x7c4d88
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.00401450
test al, al
je 0x61e8ff
mov edi, dword [ebx + 4]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7c4d88
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 0x61ea00
cmp esi, 0xffffffff
jne 0x61e916
call fcn.007373b0
mov ecx, ebx
call fcn.00404990
cmp eax, esi
jae 0x61e926
call fcn.007373b0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x61e94b
mov al, byte [ecx - 1]
test al, al
je 0x61e94b
cmp al, 0xff
je 0x61e94b
test esi, esi
jne 0x61e96f
dec al
push esi
mov byte [ecx - 1], al
mov ecx, ebx
call fcn.00404760
jmp 0x61e999
test esi, esi
jne 0x61e95a
push 1
mov ecx, ebx
call fcn.00404760
jmp 0x61e999
mov eax, dword [ebx + 0xc]
cmp eax, 0x1f
ja 0x61e966
cmp eax, esi
jae 0x61e977
push 1
mov ecx, ebx
call fcn.00404760
push esi
mov ecx, ebx
call fcn.00401570
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 0x61e9c8
mov al, byte [eax - 1]
test al, al
je 0x61e9b8
cmp al, 0xff
je 0x61e9b8
mov ecx, dword [ebx + 8]
push 0
push ecx
mov ecx, ebx
call fcn.00401450
mov eax, dword [ebx + 4]
test eax, eax
je 0x61e9c3
mov byte [eax - 1], 0xff
mov ebx, dword [ebx + 4]
jmp 0x61e9cd
mov ebx, 0x765608
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x18]
push 0
push edx
push eax
push ebx
jmp 0x61e9f5
lea edx, [esp + 0x18]
push 0
push edx
push 4
jmp 0x61e9f0
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