joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425f73
Capabilities:
Get disk information
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x45c
push esi
or esi, 0xffffffff
push edi
mov edi, esi
test eax, eax
je 0x4260bb
xor ecx, ecx
cmp word [eax], cx
je 0x4260bb
push 0x104
push eax
lea eax, [esp + 0x10]
push eax
call fcn.0042c4c0
xor eax, eax
mov word [esp + 0x21c], ax
lea eax, [esp + 0x14]
push eax
call fcn.0042be2c
add esp, 0x10
lea ecx, [esp + eax*2 + 6]
cmp eax, 2
je 0x425fcc
cmp eax, 3
jne 0x426006
cmp word [esp + 0xa], 0x3a
jne 0x426006
cmp eax, 2
jne 0x425fea
lea eax, [esp + 8]
push 0x4a5764
push eax
call fcn.0042c48f
pop ecx
pop ecx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4260bb
push 0xfffffffffffffffe
pop edi
jmp 0x4260bb
push ebx
push ebp
push 0x5c
pop ebp
push 0x2f
pop ebx
movzx eax, word [ecx]
cmp ax, bp
je 0x42601b
cmp ax, bx
jne 0x426025
xor eax, eax
mov word [ecx], ax
sub ecx, 2
jmp 0x42600e
lea eax, [esp + 0x21c]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
je 0x426064
test byte [esp + 0x21c], 0x10
je 0x42604b
push 0xfffffffffffffffe
pop edi
jmp 0x42605b
mov esi, dword [esp + 0x238]
xor edi, edi
or edi, dword [esp + 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4260b9
cmp word [esp + 0x10], bp
jne 0x426072
cmp word [esp + 0x12], bp
je 0x426091
cmp word [esp + 0x10], bx
jne 0x426080
cmp word [esp + 0x12], bx
je 0x426091
push 0x2e
pop eax
cmp word [esp + 0x10], ax
jne 0x4260b9
cmp word [esp + 0x12], ax
jne 0x4260b9
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, esi
je 0x4260a6
test al, 0x10
je 0x4260b9
jmp 0x4260b6
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x4260b9
push 0xfffffffffffffffe
pop edi
pop ebp
pop ebx
mov eax, edi
mov edx, esi
pop edi
pop esi
add esp, 0x45c
ret 4

Function at 0x426299
Capabilities:
Set file attributes

Disassembly:
xor eax, eax
cmp dword [esp + 4], eax
je 0x4262a7
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
ret 8
Function at 0x42636a
Capabilities:
Check os version

Disassembly:
sub esp, 0x34c
push ebp
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x114
push eax
mov esi, 0xc8
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4264ee
mov eax, dword [esp + 0x1c]
sub eax, 1
je 0x4264d1
sub eax, 1
jne 0x4264ee
lea eax, [esp + 0x120]
xor edi, edi
push eax
call fcn.004264fa
pop ecx
test eax, eax
je 0x4263de
mov ecx, dword [esp + 0x124]
mov eax, dword [esp + 0x128]
mov ebp, dword [esp + 0x12c]
cmp byte [esp + 0x23a], 1
jmp 0x42640f
lea eax, [esp + 0x23c]
mov dword [esp + 0x23c], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4264ee
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x356], 1
jne 0x426414
xor edi, edi
inc edi
sub ecx, 3
je 0x4264cd
sub ecx, 1
je 0x4264c9
sub ecx, 1
je 0x4264a4
sub ecx, 1
je 0x426454
sub ecx, 4
jne 0x4264ee
test eax, eax
jne 0x4264ee
cmp ebp, 0x55f0
sbb esi, esi
and esi, 0xfffffff6
add esi, 0x78
jmp 0x4264ee
sub eax, 0
je 0x426496
sub eax, 1
je 0x426488
sub eax, 1
je 0x42647a
sub eax, 1
jne 0x4264ee
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x69
jmp 0x4264ee
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x5f
jmp 0x4264ee
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x55
jmp 0x4264ee
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x4b
jmp 0x4264ee
sub eax, 0
je 0x4264c5
sub eax, 1
je 0x4264c1
sub eax, 1
jne 0x4264ee
mov esi, edi
neg esi
sbb esi, esi
and esi, 0xfffffffb
add esi, 0x41
jmp 0x4264ee
push 0x3c
jmp 0x4264ed
push 0x32
jmp 0x4264ed
push 0x14
jmp 0x4264ed
push 5
jmp 0x4264ed
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4264eb
cmp eax, 0xa
je 0x4264e7
cmp eax, 0x5a
jne 0x4264ee
push 0x28
jmp 0x4264ed
push 0x1e
jmp 0x4264ed
push 0xa
pop esi
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x34c
ret
Function at 0x426792
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push dword [0x4e9364]
call fcn.0042c617
mov esi, eax
test esi, esi
je 0x42686c
cmp dword [ebp + 0xc], 0
je 0x4267de
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4267cf
cmp dword [esi + 0x1c], 0
jne 0x4267cf
push eax
call dword [sym.imp.USER32.dll_SetActiveWindow]
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42686c
test byte [ebp + 0x10], 3
je 0x4267f9
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
push eax
push dword [ebp + 0x10]
push dword [esi]
call fcn.0044bac5
cmp dword [esi + 0x3c], 0xffffffff
push ebx
je 0x42681e
xor ebx, ebx
cmp dword [esi + 0x3c], 0x1000000
sete bl
xor ecx, ecx
cmp dword [esi + 0x3c], 0x20000000
sete cl
or dword [esi + 0x3c], 0xffffffff
jmp 0x426832
push dword [esi]
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [esi]
mov ebx, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ecx, eax
test dword [ebp + 0x10], 0x2000000
je 0x42684f
test ebx, ebx
je 0x426843
push 8
jmp 0x426855
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 4
jmp 0x426862
test ebx, ebx
je 0x426858
push 3
pop ecx
jmp 0x426862
xor eax, eax
test ecx, ecx
setne al
lea ecx, [eax + 1]
push ecx
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x428dd1
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push closesocket
push dword [esp + 0x2c]
mov ebp, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x428e55
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
push edi
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x428e4d
push ebp
lea eax, [esp + 0x1c]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x428e3e
cmp dword [esp + 0x18], ebx
jne 0x428e3e
push ebx
push edi
push dword [esp + 0x1c]
call fcn.004288a5
mov ebp, eax
push edi
push 0
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
pop esi
mov eax, ebp
pop ebp
ret 0xc
Function at 0x42b430
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push dword [0x4e9258]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x42b491
push esi
push dword [0x4e9254]
push 8
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
push edi
push dword [0x4e9258]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [0x4e9250]
jmp 0x42b481
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x42b47f
mov eax, dword [esi + 8]
add eax, edi
push eax
call ecx
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x42b46f
push edi
push 0x42b553
call fcn.0044ec75
pop esi
mov eax, dword [esp + 8]
add eax, edi
pop edi
ret 4

Function at 0x42b49b
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov ecx, edi
and ecx, 3
je 0x42b4b1
push 4
pop eax
sub eax, ecx
add edi, eax
mov esi, dword [0x4e9254]
mov ebx, dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
jne 0x42b4ea
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push edi
push 8
push dword [0x4e6f0c]
mov dword [0x4e9258], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push dword [0x4e9258]
call ebx
mov esi, dword [0x4e9254]
lea eax, [edi + esi]
push eax
push dword [0x4e9258]
mov dword [0x4e9254], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
push 8
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ebp, eax
push ebp
push dword [0x4e9258]
call ebx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test edi, edi
jne 0x42b529
test ebx, ebx
je 0x42b54a
push 0x14
push 0x4e9250
call fcn.0042bc36
pop ecx
pop ecx
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], ebx
test edi, edi
je 0x42b54a
lea ecx, [esi + ebp]
push ecx
call edi
pop ecx
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x42b5a0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x4e65b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [esp + 0x18]
mov edi, eax
mov ebp, dword [esp + 0x14]
mov esi, dword [edi + 8]
mov ecx, dword [ebp]
sub esi, ebx
lea eax, [esi + 0xa]
push eax
test ecx, ecx
jne 0x42b5d9
push ecx
push dword [0x4e925c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x42b5e8
push ecx
push 0
push dword [0x4e925c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, eax
shr esi, 1
mov dword [ebp], ecx
mov eax, dword [edi]
push esi
add eax, ebx
push eax
push ecx
call fcn.0044eab0
mov dword [edi + 8], ebx
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x42b7e0
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x4e65b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
add dword [eax + 8], 2
ret

Function at 0x42b830
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x4e65b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax + 0x19c]
mov ecx, dword [eax + 8]
mov dword [eax + edx*4 + 0xc], ecx
inc dword [eax + 0x19c]
ret
Function at 0x42b850
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [0x4e65b0]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push edi
dec dword [eax + 0x19c]
mov ecx, dword [eax + 0x19c]
mov esi, dword [eax + ecx*4 + 0xc]
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
ret

Function at 0x42b890
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x4e65b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
dec dword [edx + 0x19c]
mov ecx, dword [edx + 0x19c]
mov eax, dword [edx + ecx*4 + 0xc]
mov dword [edx + 8], eax
ret

Function at 0x42b8c0
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x4e65b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
dec dword [eax + 0x19c]
mov ecx, dword [eax + 0x19c]
mov ecx, dword [eax + ecx*4 + 0xc]
mov dword [eax + 8], ecx
mov eax, dword [eax]
add eax, ecx
ret

Function at 0x42b8f0
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x4e65b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, eax
dec dword [edx + 0x19c]
mov ecx, dword [edx + 0x19c]
mov eax, dword [edx + ecx*4 + 0xc]
add eax, dword [edx]
ret

Function at 0x42c230
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
push esi
push edi
push dword [0x4e65b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [esp + 0x18]
mov esi, eax
cmp ebx, 0xffffffff
jne 0x42c24e
mov ebx, dword [esi + 8]
mov eax, dword [esp + 0x14]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
lea ebp, [eax + eax]
add ecx, ebp
lea eax, [edx - 4]
cmp ecx, eax
jl 0x42c272
lea eax, [ecx + 0x4000]
mov dword [esi + 4], eax
add eax, 0xa
jmp 0x42c28d
cmp edx, 0x100000
jle 0x42c2a0
cmp ecx, 0x100000
jge 0x42c287
mov ecx, 0x100000
mov dword [esi + 4], ecx
lea eax, [ecx + 0xa]
push eax
push dword [esi]
push 0
push dword [0x4e925c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov dword [esi], eax
lea eax, [ebx + ebp]
mov dword [esi + 8], eax
mov eax, dword [esi]
pop edi
pop esi
pop ebp
add eax, ebx
pop ebx
ret 8
Function at 0x42c312
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x42c367
push dword [esp + 0x10]
push 0x42c3c6
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [0x4e926c]
test edi, edi
je 0x42c3c0
xor esi, esi
mov ebx, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x42c35f
cmp byte [edi + 0x10], 0
je 0x42c35f
push 3
push esi
push esi
push esi
push esi
push 0xfffffffffffffffe
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, ebx
test ebx, ebx
jne 0x42c33b
jmp 0x42c3c0
mov edi, dword [0x4e926c]
test edi, edi
je 0x42c3c0
xor esi, esi
push ebp
mov ebp, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 8], eax
jne 0x42c3b9
cmp byte [edi + 0x11], 0
je 0x42c392
push 1
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [edi + 0x10], 0
je 0x42c3a9
push 3
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [edi + 8]
push eax
push 0x4e926c
call fcn.0042bc65
pop ecx
pop ecx
mov edi, ebp
test ebp, ebp
jne 0x42c374
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x42c500
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x4e65b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 4]
neg ecx
add ecx, ecx
add dword [eax + 8], ecx
ret 4
Function at 0x42c74e
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, 0x1000
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebp, ebp
cmp dword [esp + 0x24], 0x18
mov ebx, eax
je 0x42c80d
cmp dword [esp + 0x24], 2
je 0x42c80d
push 0x2000
push ebp
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
jmp 0x42c7dc
cmp dword [esp + 0x18], 2
jne 0x42c7f8
cmp dword [esp + 0x28], 0xffffffff
je 0x42c7a0
cmp ebp, dword [esp + 0x28]
jae 0x42c7f8
add ebp, 2
test ebx, ebx
jne 0x42c7c5
lea eax, [edi*2 + 0x2000]
push eax
push esi
push 8
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov ax, word [esp + 0x14]
cmp ax, 0xa
je 0x42c7f8
cmp ax, 0xd
je 0x42c7dc
mov word [esi + edi*2], ax
inc edi
dec ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 2
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42c78c
push dword [esp + 0x2c]
xor eax, eax
push esi
mov word [esi + edi*2], ax
call fcn.0042e530
jmp 0x42c89f
push eax
push 0
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp dword [esp + 0x28], 0xffffffff
je 0x42c82b
cmp ebp, dword [esp + 0x28]
jae 0x42c883
push 0
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x1f]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42c883
cmp dword [esp + 0x18], 1
jne 0x42c883
inc ebp
test ebx, ebx
jne 0x42c870
lea eax, [edi + 0x1000]
push eax
push esi
push 8
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
mov ebx, 0x1000
mov al, byte [esp + 0x13]
cmp al, 0xa
je 0x42c883
cmp al, 0xd
je 0x42c81e
mov byte [esi + edi], al
inc edi
dec ebx
jmp 0x42c81e
cmp dword [esp + 0x24], 0x18
push dword [esp + 0x2c]
mov byte [esi + edi], 0
push esi
jne 0x42c89a
call fcn.0042e340
jmp 0x42c89f
call fcn.0042e4d0
push esi
push 0
push dword [0x4e6f0c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x10
Function at 0x435f10
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x4e65b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov eax, dword [esp + 4]
mov edx, dword [ecx]
cmp eax, edx
jb 0x435f37
mov ecx, dword [ecx + 8]
add ecx, edx
cmp eax, ecx
ja 0x435f37
sub eax, edx
inc eax
ret 4
xor eax, eax
ret 4

Function at 0x435f40
Capabilities:
Get thread local storage value

Disassembly:
push dword [0x4e65b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
mov eax, dword [esp + 4]
dec eax
add eax, ecx
ret 4

Function at 0x43ac1f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0044a5e0
mov eax, dword [0x4e67d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0045383b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x43ac61
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x43adbd
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0044b970
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x4e9c60]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0045570b
mov ecx, dword [esi*4 + 0x4e9c60]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x43adb6
cmp eax, dword [ecx + edi + 0x24]
jne 0x43adb6
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43adb6
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0045570b
add esp, 0x14
test edx, edx
jl 0x43adb6
jg 0x43ad2c
test eax, eax
jb 0x43adb6
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x43adb6
jl 0x43ad46
cmp dword [ebp - 0x1008], eax
ja 0x43adb6
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x43ad64
test ebx, ebx
je 0x43ad9d
cmp ecx, edi
jae 0x43ad9d
mov al, byte [ecx]
cmp al, 0xd
jne 0x43ad7e
lea eax, [edi - 1]
cmp ecx, eax
jae 0x43ad8a
cmp byte [ecx + 1], 0xa
jne 0x43ad8a
inc ecx
jmp 0x43ad8a
movzx eax, al
movsx eax, byte [eax + 0x4e67e0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x43ad64
cmp edx, ebx
jne 0x43ad64
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x43adbb
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004539bb
leave
ret
Function at 0x43f400
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x43f420
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x43f420
mov eax, dword [eax + 0x44]
test eax, eax
je 0x43f420
push dword [esp + 8]
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x447830
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi + 0x14]
cmp eax, 0xca
jne 0x447864
push esi
call fcn.00447d60
add esp, 4
cmp byte [esi + 0x40], 0
je 0x44785b
pop edi
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
jmp 0x44786b
cmp eax, 0xcb
jne 0x4478e3
mov eax, dword [esi + 0x1a8]
cmp byte [eax + 0x10], 0
je 0x4478ce
mov eax, dword [esi + 8]
test eax, eax
je 0x447886
mov eax, dword [eax]
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x1a8]
push esi
mov eax, dword [eax]
call eax
add esp, 4
test eax, eax
je 0x4478c9
cmp eax, 2
je 0x4478ce
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x447877
cmp eax, 3
je 0x4478ae
cmp eax, 1
jne 0x447877
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x447877
mov eax, dword [esi + 0x128]
add eax, edi
mov dword [edx + 8], eax
jmp 0x447877
pop edi
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.004479c0
add esp, 4
pop edi
pop esi
ret
cmp eax, 0xcc
je 0x447905
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x15
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
call eax
add esp, 4
push esi
call fcn.004479c0
add esp, 4
pop edi
pop esi
ret

Function at 0x4479c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
cmp dword [esi + 0x14], 0xcc
lea ebx, [esi + 0x78]
je 0x4479ef
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
add esp, 4
mov dword [ebx], 0
mov dword [esi + 0x14], 0xcc
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
je 0x447a72
jmp 0x447a00
mov eax, dword [ebx]
cmp eax, dword [esi + 0x60]
jae 0x447a46
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x447a25
mov dword [ecx + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x60]
push esi
mov dword [ecx + 8], eax
mov eax, dword [esi + 8]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esi + 0x19c]
mov edi, dword [ebx]
push 0
push ebx
mov eax, dword [eax + 4]
push 0
push esi
call eax
mov eax, dword [ebx]
add esp, 0x10
cmp eax, edi
je 0x447a89
cmp eax, dword [esi + 0x60]
jb 0x447a07
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax + 4]
call eax
mov eax, dword [esi + 0x198]
push esi
mov eax, dword [eax]
call eax
mov dword [ebx], 0
add esp, 8
mov eax, dword [esi + 0x198]
cmp byte [eax + 8], 0
jne 0x447a00
xor eax, eax
cmp byte [esi + 0x41], al
pop edi
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov al, 1
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
Function at 0x448410
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
cmp dword [ebx + 0x14], 0
jne 0x448432
push ebx
call fcn.0041cb70
mov dword [ebx + 0x14], 1
mov dword [ebx + 0xc], 0
mov ebp, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov esi, dword [esp + 0x1c]
sub ecx, ebp
add ecx, dword [ebx + 0x10]
cmp ebp, esi
jl 0x4484ae
mov eax, esi
sub eax, 1
je 0x44849a
sub eax, 1
je 0x448484
sub eax, 2
je 0x448470
push esi
push ecx
push dword [esp + 0x20]
call fcn.0043b210
add esp, 0xc
mov eax, esi
sub dword [ebx + 0xc], esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx]
pop edi
mov dword [eax], ecx
mov eax, esi
sub dword [ebx + 0xc], esi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [esp + 0x18]
mov cx, word [ecx]
pop edi
mov word [eax], cx
mov eax, esi
sub dword [ebx + 0xc], esi
pop esi
pop ebp
pop ebx
ret 0xc
mov dl, byte [ecx]
mov eax, esi
mov ecx, dword [esp + 0x18]
pop edi
mov byte [ecx], dl
sub dword [ebx + 0xc], esi
pop esi
pop ebp
pop ebx
ret 0xc
mov eax, dword [esp + 0x18]
push ebp
push ecx
push eax
call fcn.0043b210
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [ebx + 8]
add eax, ebp
mov ecx, dword [ebx]
sub esi, ebp
mov dword [esp + 0x18], eax
push 0
cmp esi, edx
jl 0x4484f6
lea edx, [esp + 0x18]
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
pop edi
pop esi
add eax, ebp
mov dword [ebx + 0xc], 0
pop ebp
pop ebx
ret 0xc
lea eax, [esp + 0x18]
push eax
push edx
push dword [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
cmp esi, eax
jle 0x448516
mov esi, eax
mov eax, dword [esp + 0x18]
push esi
push dword [ebx + 4]
push eax
call fcn.0043b210
sub dword [ebx + 0xc], esi
lea eax, [esi + ebp]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret 0xc