joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e900
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [0x6f8e5c]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [esi + 0x3e58]
mov ecx, edx
mov dword [ebp - 0xc], edx
cmp dword [edx + 0x190], 0
jne 0x40e938
cmp dword [esi + 0x4a14], 0
mov eax, 0x228
je 0x40e93d
mov eax, 0x1f8
movss xmm4, dword [eax + edx]
xorps xmm3, xmm3
movss xmm5, dword [eax + edx + 4]
subss xmm4, dword [ecx + 0xf0]
subss xmm5, dword [ecx + 0xf4]
mov ecx, dword [ebp + 8]
movss xmm2, dword [0x4885ac]
mov dword [ebp - 4], 0
mov dword [ebp + 8], 2
cvttss2si eax, dword [ecx]
movd xmm1, eax
cvttss2si eax, dword [ecx + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm3
cvtdq2ps xmm0, xmm0
lahf
xor ecx, ecx
test ah, 0x44
mov eax, 1
cmovnp ecx, eax
ucomiss xmm0, xmm3
lahf
test ah, 0x44
mov eax, dword [ebp - 4]
cmovnp eax, dword [ebp + 8]
or eax, ecx
comiss xmm3, xmm1
mov dword [ebp - 4], eax
jb 0x40e9c0
addss xmm1, xmm4
comiss xmm1, xmm2
jae 0x40e9c0
movaps xmm1, xmm2
comiss xmm3, xmm0
jb 0x40e9d1
addss xmm0, xmm5
comiss xmm0, xmm2
jae 0x40e9d1
movaps xmm0, xmm2
or dword [esi + 0x470c], 2
movss dword [esi + 0x472c], xmm1
movss dword [esi + 0x4730], xmm0
mov dword [esi + 0x4714], 1
mov eax, dword [edx + 4]
push ebx
test edi, edi
je 0x40ea11
push edi
push eax
push str._s__s__08X
lea eax, [ebp + 8]
push 0
push eax
call fcn.00408820
add esp, 0x18
jmp 0x40ea25
push eax
push str._s__08X
lea eax, [ebp + 8]
push 0
push eax
call fcn.00408820
add esp, 0x14
movss xmm0, dword [esi + 0x37b0]
xor edx, edx
mov ecx, dword [ebp + 8]
push 0x1000107
movss dword [ebp - 8], xmm0
call fcn.00411740
mov edi, dword [esi + 0x3e58]
add esp, 4
movss xmm0, dword [ebp - 8]
movss dword [esi + 0x37b0], xmm0
mov byte [ebp + 0xb], al
cmp word [edi + 0xb6], 1
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edi
mov dword [edi + 0x74], ebx
mov byte [edi + 0xc6], al
jne 0x40ea88
mov edx, dword [ebp - 0xc]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [edx + 0xf0], ecx
mov dword [edx + 0xf4], eax
mov edi, ebx
mov edx, 0x47cde9
not edi
mov al, 0x23
mov ebx, edi
cmp al, 0x23
jne 0x40eaa3
cmp byte [edx], al
jne 0x40eaa3
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x480df8]
test al, al
jne 0x40ea95
mov edi, dword [ebp - 8]
not ebx
cmp dword [esi + 0x3ea4], ebx
jne 0x40ead2
xor edx, edx
xor ecx, ecx
call fcn.0040b110
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x47e8], eax
jne 0x40eb17
cmp word [edi + 0x14c], 0
jne 0x40eaf0
cmp byte [edi + 0x152], 0
je 0x40eb17
xor edx, edx
mov ecx, edi
call fcn.00414780
xor dl, dl
mov ecx, edi
call fcn.0041b160
mov edx, edi
mov ecx, ebx
call fcn.0040b110
mov eax, dword [esi + 0x480c]
mov dword [esi + 0x3ec4], eax
mov al, byte [ebp + 0xb]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40edb0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x40eded
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x40edd3
cmp byte [esi], bl
jne 0x40edd3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x480df8]
test bl, bl
jne 0x40edc4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0040ed50
Function at 0x41eb70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x6f8e5c]
lea edx, [ecx + 1]
push ebx
mov dword [ebp - 4], eax
or ebx, 0xffffffff
mov al, byte [ecx]
push esi
push edi
test al, al
je 0x41ebb7
or esi, 0xffffffff
nop
cmp al, 0x23
jne 0x41eb9e
cmp byte [edx], al
jne 0x41eb9e
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x480df8]
test al, al
jne 0x41eb90
mov ecx, dword [ebp - 4]
xor esi, esi
not ebx
mov eax, dword [ecx + 0x5a74]
test eax, eax
jle 0x41ec0c
xor edi, edi
nop word [eax + eax]
test esi, esi
js 0x41ebd8
cmp esi, eax
jl 0x41ebf2
push 0x731
push str.D:peniswedfghjklimgui_1.89.8examplesexample_win32_directx11_srcimguiimgui.h
push str.i___0__i___Size
call fcn.0044dbe0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ecx + 0x5a7c]
cmp dword [eax + edi + 4], ebx
je 0x41ec15
mov eax, dword [ecx + 0x5a74]
inc esi
add edi, 0x24
cmp esi, eax
jl 0x41ebd0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
js 0x41ec21
cmp esi, dword [ecx + 0x5a74]
jl 0x41ec38
push 0x731
push str.D:peniswedfghjklimgui_1.89.8examplesexample_win32_directx11_srcimguiimgui.h
push str.i___0__i___Size
call fcn.0044dbe0
add esp, 0xc
mov eax, dword [ebp - 4]
lea ecx, [esi + esi*8]
pop edi
pop esi
pop ebx
mov eax, dword [eax + 0x5a7c]
lea eax, [eax + ecx*4]
mov esp, ebp
pop ebp
ret
Function at 0x428130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x428166
mov eax, dword [0x6f8e5c]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x428156
dec dword [eax + 0xac]
push ecx
call fcn.00454982
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x42819a
mov eax, dword [0x6f8e5c]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x42818a
dec dword [eax + 0xac]
push ecx
call fcn.00454982
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4281ce
mov eax, dword [0x6f8e5c]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x4281be
dec dword [eax + 0xac]
push ecx
call fcn.00454982
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x42821e
mov eax, dword [0x6f8e5c]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x42820e
dec dword [eax + 0xac]
push ecx
call fcn.00454982
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x428252
mov eax, dword [0x6f8e5c]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x428242
dec dword [eax + 0xac]
push ecx
call fcn.00454982
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x428286
mov eax, dword [0x6f8e5c]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x428276
dec dword [eax + 0xac]
push ecx
call fcn.00454982
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.0042ae10
Function at 0x43ddf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], 0
jg 0x43de10
jl 0x43de07
cmp dword [ebp + 0xc], 0
ja 0x43de10
xor eax, eax
xor edx, edx
jmp 0x43df93
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x43de32
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.0043eb10
jmp 0x43df93
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
cmp dword [edx], 0
je 0x43de5c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
jmp 0x43de63
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x43dee5
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.0043a730
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043a310
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
mov edx, dword [ecx]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x4c], 0
je 0x43df84
mov ecx, dword [ebp - 4]
call fcn.0043f620
mov dword [ebp - 0x28], 0xfff
cmp dword [ebp - 8], 0xfff
jbe 0x43df53
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
push 0xfff
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00454b76
add esp, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0xfff
je 0x43df51
xor ecx, ecx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 8]
mov edx, dword [ebp - 0x2c]
sbb edx, ecx
jmp 0x43df93
jmp 0x43df01
cmp dword [ebp - 8], 0
jbe 0x43df84
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00454b76
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x24]
mov dword [ebp - 8], ecx
xor edx, edx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4466e0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0xf
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x446777
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop
mov eax, esi
lea ecx, [ebp - 0x10c]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x446748
test dl, dl
je 0x446744
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x446748
add ecx, 2
add eax, 2
test dl, dl
jne 0x446728
xor eax, eax
jmp 0x44674d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x446769
push dword [ebp - 0x128]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x446785
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x130]
push eax
push edi
call ebx
test eax, eax
jne 0x446720
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 9
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
call fcn.00459b33
int3

Function at 0x4467a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
push edi
push 0
push 2
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x128], 0x128
lea eax, [ebp - 0x128]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32First]
mov edx, ebx
lea ecx, [ebp - 0x104]
nop word [eax + eax]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x446800
test al, al
je 0x4467fc
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x446800
add ecx, 2
add edx, 2
test al, al
jne 0x4467e0
xor eax, eax
jmp 0x446805
sbb eax, eax
or eax, 1
test eax, eax
je 0x44684f
mov esi, dword [sym.imp.KERNEL32.dll_Process32Next]
nop
lea eax, [ebp - 0x128]
push eax
push edi
call esi
test eax, eax
je 0x446858
mov eax, ebx
lea ecx, [ebp - 0x104]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x446846
test dl, dl
je 0x446842
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x446846
add ecx, 2
add eax, 2
test dl, dl
jne 0x446826
xor eax, eax
jmp 0x44684b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x446810
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x446870
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490a00
push 0x46e490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov ecx, 0xa
mov eax, 0x564d5868
mov dx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete al
movzx eax, al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446900
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x490a10
push 0x46e490
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x48]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x446985
xor al, al
jmp 0x446a0e
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x28]
push edx
push 0x140
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4469b0
xor al, al
jmp 0x446a0e
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
push 0x4469fb
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4481fc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x44823b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x44823b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44823b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x44823b
cmp dword [ecx + 0x74], 0xe
jbe 0x44823b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x44e4fc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0046dec0
mov eax, dword [0x493040]
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.0045f069
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x44e53e
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x44e69a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0046de10
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 + 0x6f89f0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0045f278
mov ecx, dword [esi*4 + 0x6f89f0]
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 0x44e693
cmp eax, dword [ecx + edi + 0x24]
jne 0x44e693
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 0x44e693
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0045f278
add esp, 0x14
test edx, edx
jl 0x44e693
jg 0x44e609
test eax, eax
jb 0x44e693
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x44e693
jl 0x44e623
cmp dword [ebp - 0x1008], eax
ja 0x44e693
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x44e641
test ebx, ebx
je 0x44e67a
cmp ecx, edi
jae 0x44e67a
mov al, byte [ecx]
cmp al, 0xd
jne 0x44e65b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x44e667
cmp byte [ecx + 1], 0xa
jne 0x44e667
inc ecx
jmp 0x44e667
movzx eax, al
movsx eax, byte [eax + 0x493320]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x44e641
cmp edx, ebx
jne 0x44e641
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x44e698
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0044848a
leave
ret

Function at 0x45ea35
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0045e9b7
Function at 0x45f2f4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x6f89f0]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45f334
cmp byte [ebx], 0xa
jne 0x45f334
or byte [edi + eax + 0x28], 4
jmp 0x45f339
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x45f438
mov dl, byte [eax]
cmp dl, 0x1a
je 0x45f41b
inc eax
cmp dl, 0xd
je 0x45f365
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x45f38b
cmp eax, ecx
jae 0x45f399
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x45f34d
jmp 0x45f438
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45f416
cmp dword [ebp - 0x10], 0
je 0x45f416
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x6f89f0]
test byte [eax + edi + 0x28], 0x48
je 0x45f3f0
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x45f3db
mov byte [esi], dl
jmp 0x45f3ec
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x6f89f0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x45f438
cmp byte [ebp - 1], 0xa
jne 0x45f3ff
cmp esi, ebx
jne 0x45f3ff
mov byte [esi], 0xa
jmp 0x45f437
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0045f296
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x45f438
mov byte [esi], 0xd
jmp 0x45f437
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x6f89f0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x45f435
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x45f438
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x45f441
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x6f89f0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45f487
cmp word [ebx], dx
jne 0x45f487
or byte [eax + edi + 0x28], 4
jmp 0x45f48c
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x45f5ef
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x45f5cf
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x45f4cd
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x45f503
cmp eax, edx
jae 0x45f511
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x45f4a8
jmp 0x45f5ef
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45f5ca
cmp dword [ebp - 0x18], 0
je 0x45f5ca
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x6f89f0]
test byte [eax + edi + 0x28], 0x48
je 0x45f5a0
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x45f564
mov word [esi], cx
jmp 0x45f59b
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x6f89f0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x6f89f0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x6f89f0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x45f5ef
pop eax
cmp word [ebp - 4], ax
jne 0x45f5b0
cmp esi, ebx
jne 0x45f5b0
mov word [esi], ax
jmp 0x45f5ec
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0045f296
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x45f5ef
push 0xd
pop eax
jmp 0x45f5ab
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x6f89f0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x45f5e9
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x45f5ef
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x46038e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x477598
push 0x477590
push str.FlsAlloc
push 0x1f
call fcn.004601d6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4603c2
push dword [ebp + 8]
mov ecx, esi
call dword [0x4732cc]
call esi
jmp 0x4603c8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x46040c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4775a8
push 0x4775a0
push str.FlsGetValue
push 0x21
call fcn.004601d6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x460443
push dword [ebp + 8]
mov ecx, esi
call dword [0x4732cc]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x46044b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4775b0
push 0x4775a8
push str.FlsSetValue
push 0x22
call fcn.004601d6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x460485
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4732cc]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]