joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433fad
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, ecx
test ebx, ebx
jne 0x433fbb
mov eax, 0xffffff53
pop ebx
ret
mov eax, dword [ebx + 0x60]
push ebp
push esi
push edi
push 0x40
pop edi
lea ebp, [ebx + 0x20]
mov byte [eax + ebp], 0x80
inc dword [ebx + 0x60]
mov ecx, dword [ebx + 0x60]
push 0x38
pop esi
cmp ecx, esi
jbe 0x434008
push edi
pop eax
sub eax, ecx
push eax
lea eax, [ecx + ebp]
push 0
push eax
call fcn.00436dd0
push edi
push ebp
pop edx
mov dword [ebx + 0x60], edi
mov ecx, ebp
call fcn.004337f6
add esp, 0x10
mov edx, ebp
push ebx
pop ecx
call fcn.00433894
test eax, eax
jne 0x434064
and dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x60]
sub esi, eax
push esi
add eax, ebp
push 0
push eax
call fcn.00436dd0
lea edi, [ebx + 0x64]
push ebp
pop edx
mov ecx, dword [edi]
lea esi, [ebx + 0x68]
mov eax, dword [esi]
shr ecx, 0x1d
push 0x40
lea eax, [ecx + eax*8]
push ebp
pop ecx
mov dword [esi], eax
mov eax, dword [edi]
shl eax, 3
mov dword [edi], eax
call fcn.004337f6
push 4
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.00436850
push 4
lea eax, [ebp + 0x3c]
push edi
push eax
call fcn.00436850
add esp, 0x28
mov edx, ebp
push ebx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
jmp fcn.00433894
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x434069
Capabilities:
Hash data using sha256

Disassembly:
push esi
push ecx
pop esi
push edi
push edx
pop edi
test esi, esi
je 0x4340a0
test edi, edi
je 0x4340a0
call fcn.00433fad
or eax, eax
jne 0x4340a5
push 0x20
mov edx, esi
mov ecx, esi
call fcn.004337f6
push 0x20
push esi
push edi
call fcn.00436850
add esp, 0x10
mov ecx, esi
pop edi
pop esi
jmp 0x433820
mov eax, 0xffffff53
pop edi
pop esi
ret

Function at 0x434158
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov eax, edx
push ecx
pop ebp
neg eax
mov dword [esp + 8], eax
test ebp, ebp
je 0x4341f2
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4341f2
mov edx, dword [ebp]
push ebx
pop ecx
inc edx
call fcn.0042f83b
mov dword [esp + 0xc], eax
test eax, eax
jne 0x4341f7
sub edx, edx
push esi
push edi
cmp dword [ebp], edx
jle 0x4341b8
mov edi, dword [ebx + 0xc]
push ebp
pop ecx
call fcn.00434142
mov ecx, ebx
push eax
pop esi
call fcn.00434142
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebp]
jl 0x434192
jmp 0x4341dd
mov ecx, dword [esp + 0x10]
jmp 0x4341dd
mov edi, dword [ebx + 0xc]
mov ecx, ebp
call fcn.00434142
mov ecx, ebx
mov esi, eax
call fcn.00434142
mov ecx, dword [esp + 0x10]
xor esi, eax
and esi, ecx
xor dword [edi + edx*4], esi
inc edx
cmp edx, dword [ebx]
jl 0x4341be
mov eax, dword [ebp]
xor eax, dword [ebx]
and eax, ecx
xor dword [ebx], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
jmp 0x4341f7
mov eax, 0xffffff53
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x43446b
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x4344a6
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x43449f
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x4344ab
add edx, 0x28
cmp edx, esi
jne 0x434490
sub eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x4344a8

Function at 0x43493d
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x46e420
call fcn.00434d70
push 1
call fcn.004344e4
pop ecx
test al, al
jne 0x4347f4
push 7
call fcn.00434947
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004344af
mov byte [ebp - 0x24], al
mov eax, dword [0x471cf0]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x4347ed
test eax, eax
jne 0x43485e
mov dword [0x471cf0], ecx
push 0x459628
push 0x459604
call fcn.00444191
pop ecx
pop ecx
or eax, eax
je 0x434841
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x434937
push 0x459600
push 0x459500
call fcn.00444135
pop ecx
pop ecx
mov dword [0x471cf0], 2
jmp 0x434863
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0043463e
pop ecx
call fcn.00434ec9
push eax
pop esi
sub edi, edi
cmp dword [esi], edi
je 0x434893
push esi
call fcn.004345b4
pop ecx
test al, al
je 0x434893
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00434aea
call esi
call fcn.00434ecf
mov esi, eax
cmp dword [esi], edi
je 0x4348b1
push esi
call fcn.004345b4
pop ecx
test al, al
je 0x4348b1
push dword [esi]
call fcn.00443346
pop ecx
call fcn.00434a62
movzx eax, ax
push eax
call fcn.004440e2
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00443255
test al, al
jne 0x4348dc
push esi
call fcn.0044337e
test bl, bl
jne 0x4348e5
call fcn.00443321
push edi
push 1
call fcn.0043465b
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
push esi
pop eax
jmp 0x434937
call fcn.00434db6
ret
call fcn.00434dcb
jmp 0x4347d5

Function at 0x438cd4
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x45c900
push 0x45c8f8
push str.FlsAlloc
push 4
call fcn.00438bb3
mov esi, eax
add esp, 0x10
or esi, esi
je 0x438d06
push dword [ebp + 8]
push esi
pop ecx
call fcn.00434aea
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x438d82
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x45c918
push 0x45c910
push str.FlsSetValue
push 7
call fcn.00438bb3
add esp, 0x10
push eax
pop esi
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x438db6
mov ecx, esi
call fcn.00434aea
call esi
jmp 0x438dbc
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret
Function at 0x43bc59
Capabilities:
Terminate process

Disassembly:
push 0x17
call sub.KERNEL32.dll_IsProcessorFeaturePresent
or eax, eax
je 0x43bc69
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0043ba62
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x43f867
Capabilities:
Move file

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
push 2
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
or eax, eax
jne 0x43f890
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004404e7
pop ecx
or eax, 0xffffffff
pop ebp
ret
sub eax, eax
pop ebp
ret
Function at 0x442449
Capabilities:
Read file on windows

Disassembly:
push edx
pop edx
push ebp
push esp
pop ebp
mov eax, 0x1018
call fcn.004575f0
mov eax, dword [0x47100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push dword [ebp + 8]
call fcn.0044a9a7
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x442482
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x4425d5
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00457480
push ebx
pop ecx
mov dword [ebp - 0x1008], eax
and ecx, 0x3f
mov dword [ebp - 0x1018], edx
mov esi, ebx
imul edi, ecx, 0x30
sar esi, 6
push 0
mov ecx, dword [esi*4 + 0x472810]
push dword [ecx + edi + 0x24]
push dword [ecx + edi + 0x20]
push ebx
call fcn.0044c191
mov ecx, dword [esi*4 + 0x472810]
add esp, 0x10
mov dword [ebp - 0x100c], eax
mov eax, edx
mov edx, dword [ebp - 0x100c]
mov dword [ebp - 0x1014], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x4425ce
cmp eax, dword [ecx + edi + 0x24]
jne 0x4425ce
push 0
lea eax, [ebp - 0x1010]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
or eax, eax
je 0x4425ce
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044c191
add esp, 0x10
or edx, edx
jg 0x442541
jl 0x4425ce
test eax, eax
jb 0x4425ce
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1010]
test ebx, ebx
jl 0x44255b
jg 0x4425ce
cmp dword [ebp - 0x1008], eax
ja 0x4425ce
lea edi, [ebp - 0x1004]
sub edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
sub esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x442579
or ebx, ebx
je 0x4425b5
cmp ecx, edi
jae 0x4425b5
mov al, byte [ecx]
cmp al, 0xd
jne 0x442596
lea eax, [edi - 1]
cmp ecx, eax
jae 0x4425a2
lea eax, [ecx + 1]
cmp byte [eax], 0xa
jne 0x4425a2
mov ecx, eax
jmp 0x4425a2
movzx eax, al
movsx eax, byte [eax + 0x471380]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x442579
cmp edx, ebx
jne 0x442579
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x100c]
adc edx, dword [ebp - 0x1014]
jmp 0x4425d3
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00434f2b
push ebp
pop esp
pop ebp
ret

Function at 0x443214
Capabilities:
Terminate process

Disassembly:
pushal
popal
push ebp
mov ebp, esp
call fcn.00448b89
test al, al
je 0x443242
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x68]
shr eax, 8
test al, 1
jne 0x443242
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp + 8]
call fcn.00443299
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x443255
Capabilities:
Parse pe header

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

Function at 0x443346
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
mov eax, dword [0x47100c]
and eax, 0x1f
push 0x20
pop ecx
sub ecx, eax
sub eax, eax
ror eax, cl
xor eax, dword [0x47100c]
cmp dword [0x4723cc], eax
jne fcn.004454c0
push dword [ebp + 8]
call fcn.004430c9
pop ecx
mov dword [0x4723cc], eax
pop ebp
ret

Function at 0x4485d0
Capabilities:
Allocate thread local storage

Disassembly:
push esi
pop esi
push ebp
push esp
pop ebp
push ecx
mov eax, dword [0x47100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x45f150
push 0x45f148
push str.FlsAlloc
push 3
call fcn.0044838a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44860f
push dword [ebp + 8]
mov ecx, esi
call dword [0x4594fc]
call esi
jmp 0x448615
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00434f2b
push ebp
pop esp
pop ebp
ret 4

Function at 0x44886d
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
push ecx
mov eax, dword [0x47100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.GetTimeFormatEx
push 0x45f194
push str.GetTimeFormatEx
push 0x10
call fcn.0044838a
add esp, 0x10
mov esi, eax
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
test esi, esi
je 0x4488bb
push dword [ebp + 8]
mov ecx, esi
call dword [0x4594fc]
call esi
jmp 0x4488cc
push 0
push dword [ebp + 8]
call fcn.00448afb
push eax
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00434f2b
push ebp
pop esp
pop ebp
ret 0x18
Function at 0x44b27c
Capabilities:
Write file on windows

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
sub esp, 0x38
mov eax, dword [0x47100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
and eax, 0x3f
sar ecx, 6
push ebx
imul ebx, eax, 0x30
push esi
mov eax, dword [ecx*4 + 0x472810]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax + ebx + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
add eax, edi
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
sub eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
cmp edi, ecx
jae 0x44b41c
mov ch, byte [edi]
xor eax, eax
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x1b], ch
mov edx, dword [eax*4 + 0x472810]
mov cl, byte [edx + ebx + 0x2d]
test cl, 4
je 0x44b316
mov al, byte [edx + ebx + 0x2e]
and cl, 0xfb
mov byte [ebp - 0xc], al
lea eax, [ebp - 0xc]
push 2
mov byte [ebp - 0xb], ch
mov byte [edx + ebx + 0x2d], cl
push eax
jmp 0x44b350
call fcn.00445a90
movzx ecx, byte [edi]
mov edx, 0x8000
test word [eax + ecx*2], dx
je 0x44b34d
cmp edi, dword [ebp - 0x24]
jae 0x44b3f3
push 2
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00449ce2
add esp, 0xc
cmp eax, 0xffffffff
je 0x44b41c
inc edi
jmp 0x44b365
push 1
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.00449ce2
add esp, 0xc
cmp eax, 0xffffffff
je 0x44b41c
xor ecx, ecx
lea eax, [ebp - 0x14]
push ecx
push ecx
push 5
push eax
push 1
lea eax, [ebp - 0x18]
inc edi
push eax
push ecx
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x34], eax
or eax, eax
je 0x44b41c
push 0
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44b414
mov eax, dword [esi + 8]
sub eax, dword [ebp - 0x30]
add eax, edi
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x20], eax
jb 0x44b41c
cmp byte [ebp - 0x1b], 0xa
jne 0x44b3e8
push 0xd
pop eax
push 0
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x20]
push eax
push 1
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
or eax, eax
je 0x44b414
cmp dword [ebp - 0x20], 1
jb 0x44b41c
inc dword [esi + 8]
inc dword [esi + 4]
cmp edi, dword [ebp - 0x24]
jb 0x44b2df
jmp 0x44b41c
mov edx, dword [ebp - 0x2c]
mov al, byte [edi]
mov ecx, dword [edx*4 + 0x472810]
mov byte [ecx + ebx + 0x2e], al
mov eax, dword [edx*4 + 0x472810]
or byte [eax + ebx + 0x2d], 4
inc dword [esi + 4]
jmp 0x44b41c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov ecx, dword [ebp - 4]
push esi
pop eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434f2b
push ebp
pop esp
pop ebp
ret
Function at 0x44b5f1
Capabilities:
Write file on windows

Disassembly:
push edi
pop edi
push ebp
mov ebp, esp
mov eax, 0x1410
call fcn.004575f0
mov eax, dword [0x47100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
pop eax
sar eax, 6
and ecx, 0x3f
imul ecx, ecx, 0x30
push ebx
mov ebx, dword [ebp + 0x10]
mov eax, dword [eax*4 + 0x472810]
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [eax + ecx + 0x18]
mov eax, dword [ebp + 0x14]
add eax, ebx
mov dword [ebp - 0x1410], ecx
xor edx, edx
mov dword [ebp - 0x1408], eax
mov dword [esi], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
jmp 0x44b6be
lea edi, [ebp - 0x1404]
cmp ebx, eax
jae 0x44b67e
movzx eax, word [ebx]
add ebx, 2
cmp eax, 0xa
jne 0x44b66b
add dword [esi + 8], 2
push 0xd
pop edx
mov word [edi], dx
add edi, 2
mov word [edi], ax
lea eax, [ebp - 6]
add edi, 2
cmp edi, eax
mov eax, dword [ebp - 0x1408]
jb 0x44b64f
lea eax, [ebp - 0x1404]
sub edi, eax
lea eax, [ebp - 0x140c]
push 0
push eax
and edi, 0xfffffffe
lea eax, [ebp - 0x1404]
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
or eax, eax
je 0x44b6c4
mov eax, dword [ebp - 0x140c]
add dword [esi + 4], eax
cmp eax, edi
jb 0x44b6cc
mov eax, dword [ebp - 0x1408]
mov ecx, dword [ebp - 0x1410]
cmp ebx, eax
jb 0x44b649
jmp 0x44b6cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov ecx, dword [ebp - 4]
push esi
pop eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434f2b
mov esp, ebp
pop ebp
ret
Function at 0x44b6df
Capabilities:
Write file on windows

Disassembly:
push edi
pop edi
push ebp
mov ebp, esp
mov eax, 0x1418
call fcn.004575f0
mov eax, dword [0x47100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
push ecx
pop eax
sar eax, 6
and ecx, 0x3f
imul ecx, ecx, 0x30
push ebx
push esi
mov eax, dword [eax*4 + 0x472810]
xor ebx, ebx
mov esi, dword [ebp + 8]
push edi
mov eax, dword [eax + ecx + 0x18]
mov ecx, dword [ebp + 0x10]
push ecx
pop edi
mov dword [ebp - 0x1414], eax
mov eax, dword [ebp + 0x14]
add eax, ecx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [ebp - 0x140c], eax
mov dword [esi + 8], ebx
cmp ecx, eax
jae 0x44b7f9
mov esi, dword [ebp - 0x140c]
lea eax, [ebp - 0x6b0]
cmp edi, esi
jae 0x44b770
movzx ecx, word [edi]
add edi, 2
cmp ecx, 0xa
jne 0x44b763
push 0xd
pop edx
mov word [eax], dx
add eax, 2
mov word [eax], cx
add eax, 2
lea ecx, [ebp - 8]
cmp eax, ecx
jb 0x44b74b
push ebx
push ebx
push 0xd55
lea ecx, [ebp - 0x1408]
push ecx
lea ecx, [ebp - 0x6b0]
sub eax, ecx
sar eax, 1
push eax
push ecx
pop eax
push eax
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1418], eax
or eax, eax
je 0x44b7f1
push 0
lea ecx, [ebp - 0x1410]
sub eax, ebx
push ecx
push eax
lea eax, [ebp - 0x1408]
add eax, ebx
push eax
push dword [ebp - 0x1414]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44b7f1
add ebx, dword [ebp - 0x1410]
mov eax, dword [ebp - 0x1418]
cmp ebx, eax
jb 0x44b7a5
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
cmp edi, dword [ebp - 0x140c]
jae 0x44b7f9
sub ebx, ebx
jmp 0x44b73f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434f2b
push ebp
pop esp
pop ebp
ret
Function at 0x44bfa6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
push esp
pop ebp
mov eax, dword [ebp + 8]
push esi
or eax, eax
jne 0x44be4a
call fcn.0044051d
mov dword [eax], 0x16
call fcn.0043bc2c
or eax, 0xffffffff
jmp 0x44bfa3
mov eax, dword [eax + 0xc]
push ebx
sub ebx, ebx
shr eax, 0xd
inc ebx
test bl, al
je 0x44bf9f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
shr eax, 0xc
test bl, al
jne 0x44bf9f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
shr eax, 1
test bl, al
mov eax, dword [ebp + 8]
je 0x44be8a
push 0x10
pop ecx
add eax, 0xc
lock or dword [eax], ecx
jmp 0x44bf9f
add eax, 0xc
lock or dword [eax], ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, 0x4c0
jne 0x44bea6
push dword [ebp + 8]
call fcn.0044bfb1
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [eax], ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x18]
push dword [esi + 4]
push esi
call fcn.0044a9a7
pop ecx
push eax
call fcn.0044cb2d
mov dword [esi + 8], eax
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
or edx, edx
je 0x44bf84
cmp edx, 0xffffffff
je 0x44bf84
mov eax, dword [eax + 0xc]
test al, 6
jne 0x44bf45
push dword [ebp + 8]
call fcn.0044a9a7
pop ecx
cmp eax, 0xffffffff
je 0x44bf2b
push dword [ebp + 8]
call fcn.0044a9a7
pop ecx
cmp eax, 0xfffffffe
je 0x44bf2b
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0044a9a7
mov edi, eax
push esi
sar edi, 6
call fcn.0044a9a7
and eax, 0x3f
imul eax, eax, 0x30
pop ecx
pop ecx
add eax, dword [edi*4 + 0x472810]
pop edi
jmp 0x44bf30
mov eax, 0x471350
mov al, byte [eax + 0x28]
and al, 0x82
cmp al, 0x82
jne 0x44bf45
mov eax, dword [ebp + 8]
push 0x20
pop ecx
add eax, 0xc
lock or dword [eax], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x200
jne 0x44bf75
mov eax, dword [eax + 0xc]
shr eax, 6
test bl, al
je 0x44bf72
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
shr eax, 8
test bl, al
jne 0x44bf72
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x1000
mov eax, dword [ebp + 8]
dec dword [eax + 8]
mov ecx, dword [eax]
mov dl, byte [ecx]
inc ecx
mov dword [eax], ecx
movzx eax, dl
jmp 0x44bfa2
sub ecx, ecx
test edx, edx
setne cl
add eax, 0xc
lea ecx, [ecx*8 + 8]
lock or dword [eax], ecx
mov ecx, dword [ebp + 8]
and dword [ecx + 8], 0
or eax, 0xffffffff
pop ebx
pop esi
pop ebp
ret
push edi
pop edi
push ebp
push esp
pop ebp
pop ebp
jmp 0x44be25
Function at 0x44c645
Capabilities:
Read file on windows

Disassembly:
pushal
popal
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
mov edx, dword [ebp + 0xc]
push ebx
sar ecx, 6
push esi
push edi
imul edi, eax, 0x30
mov eax, dword [ecx*4 + 0x472810]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
or ecx, ecx
je 0x44c686
cmp byte [edx], 0xa
jne 0x44c686
or byte [eax + edi + 0x28], 4
jmp 0x44c68b
and byte [eax + edi + 0x28], 0xfb
lea eax, [edx + ecx]
push edx
pop ebx
mov dword [ebp - 8], eax
mov esi, edx
cmp edx, eax
jae 0x44c791
lea eax, [edx + 1]
mov cl, byte [ebx]
cmp cl, 0x1a
je 0x44c772
cmp cl, 0xd
je 0x44c6ba
mov byte [esi], cl
inc esi
inc ebx
inc eax
jmp 0x44c765
mov ecx, dword [ebp - 8]
cmp eax, ecx
jae 0x44c6e0
cmp byte [eax], 0xa
jne 0x44c6d5
add ebx, 2
mov byte [esi], 0xa
add eax, 2
inc esi
jmp 0x44c768
mov byte [esi], 0xd
inc esi
inc ebx
inc eax
jmp 0x44c768
inc ebx
inc eax
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
or eax, eax
je 0x44c75b
cmp dword [ebp - 0x18], 0
je 0x44c75b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x472810]
test byte [eax + edi + 0x28], 0x48
je 0x44c731
mov dl, byte [ebp - 1]
cmp dl, 0xa
jne 0x44c721
mov byte [esi], dl
jmp 0x44c75f
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x472810]
mov byte [eax + edi + 0x2a], dl
jmp 0x44c75f
cmp byte [ebp - 1], 0xa
jne 0x44c744
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x44c744
mov byte [esi], 0xa
inc esi
jmp 0x44c762
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0044c1ac
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44c75f
mov byte [esi], 0xd
inc esi
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp ebx, ecx
jb 0x44c6a0
jmp 0x44c791
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x472810]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x44c78c
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44c791
mov cl, byte [ebx]
mov byte [esi], cl
inc esi
sub esi, edx
pop edi
mov eax, esi
pop esi
pop ebx
push ebp
pop esp
pop ebp
ret