joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10015bd
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1001a38
call fcn.01001764
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x1002370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1001378
cmp eax, esi
jne 0x100136b
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100137b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001352
xor esi, esi
inc esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x100138e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10013bd
mov eax, dword [0x100236c]
test eax, eax
jne 0x10013b7
mov dword [0x100236c], esi
push 0x10010ac
push 0x10010a0
call fcn.010012b4
pop ecx
pop ecx
test eax, eax
je 0x10013bd
jmp 0x10014e1
mov dword [0x1002034], esi
mov eax, dword [0x100236c]
cmp eax, esi
jne 0x10013e1
push 0x100109c
push 0x1001094
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100236c], 2
cmp dword [ebp - 0x20], ebx
jne 0x10013ee
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1002374], ebx
je 0x100140f
push 0x1002374
call fcn.010016d9
pop ecx
test eax, eax
je 0x100140f
push ebx
push 2
push ebx
call dword [0x1002374]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x10014e1
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x1001479
cmp cx, bx
je 0x1001434
cmp dword [ebp - 0x1c], ebx
jne 0x1001479
movzx ecx, word [eax]
cmp cx, bx
je 0x1001449
cmp cx, 0x20
ja 0x1001449
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1001434
test byte [ebp - 0x40], 1
je 0x1001455
movzx ecx, word [ebp - 0x3c]
jmp 0x1001458
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x1002030], eax
cmp dword [0x1002024], ebx
jne 0x10014be
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x100148a
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x100141e
cmp dword [0x1002034], ebx
jne 0x10014cc
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1002030]
jmp 0x10014ed
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010017a9
ret
call fcn.010018b1
jmp 0x1001315
Function at 0x401146
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x47b0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x1c]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xf8]
push eax
push 0xf1
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov al, byte [ebp - 0xf8]
mov byte [esi], al
movsx eax, al
sub eax, 0x40
mov dword [edi], eax
lea eax, [ebp - 0xf8]
push eax
push 0x469230
push ebx
call fcn.00401381
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
push str._sSDIR_s_
push dword [ebp - 0x104]
call fcn.00401381
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041836a
leave
ret
Function at 0x403246
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f8
mov eax, dword [0x47b0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xf8]
push 0x47e360
push str.GL_AS
push 0x47dc60
push str._s_s_s
push eax
xor esi, esi
call fcn.00401381
lea eax, [ebp - 0xf8]
push eax
call fcn.00402994
mov ebx, 0x4694e0
lea eax, [ebp - 0xf8]
push ebx
push eax
call fcn.0043ed2e
add esp, 0x20
mov dword [0x5ff13c], eax
test eax, eax
je 0x4032cf
push eax
call fcn.00444902
push eax
call fcn.00444c03
push dword [0x5ff13c]
cdq
and edx, 7
lea esi, [edx + eax]
sar esi, 3
call fcn.0043e7de
add esp, 0xc
lea eax, [ebp - 0xf8]
push ebx
push eax
call fcn.0043ed2e
mov dword [0x5ff13c], eax
pop ecx
pop ecx
test eax, eax
je 0x403377
push edi
push 0x47dc60
lea eax, [ebp - 0x1ec]
push 0x469fc8
push eax
call fcn.00401381
lea eax, [ebp - 0x1ec]
push 0x4694e4
push eax
call fcn.0043ed2e
mov edi, eax
add esp, 0x18
test edi, edi
je 0x40336b
cmp esi, 1
jl 0x403364
push dword [0x5ff13c]
lea eax, [ebp - 0x1f8]
push 1
push 8
push eax
call fcn.0043efcb
movsd xmm0, qword [ebp - 0x1f8]
lea eax, [ebp - 0x1f0]
cvtpd2ps xmm0, xmm0
push edi
push 1
push 4
push eax
movss dword [ebp - 0x1f0], xmm0
call fcn.0043f495
add esp, 0x20
sub esi, 1
jne 0x403321
push edi
call fcn.0043e7de
pop ecx
push dword [0x5ff13c]
call fcn.0043e7de
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041836a
leave
ret
Function at 0x4035a5
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push str.TRANSFER1
push 0x47dc60
push 0x469fc8
mov ebx, 0x47da60
push ebx
call fcn.00401381
push 0x4694e0
push ebx
call fcn.0043ed2e
xor edi, edi
mov dword [0x5ff13c], eax
add esp, 0x18
inc edi
test eax, eax
je 0x4034fe
push eax
push edi
push 0x504
push 0x5fec20
call fcn.0043efcb
push dword [0x5ff13c]
push edi
push 0x28
push 0x5febe0
call fcn.0043efcb
push dword [0x5ff13c]
call fcn.0043e7de
movsd xmm0, qword [0x5ff090]
add esp, 0x24
movzx eax, byte [0x5ff0a6]
movsd qword [0x5fcac0], xmm0
movsd xmm0, qword [0x5ff098]
mov word [0x5febc4], ax
movsd qword [0x5fcab8], xmm0
cmp byte [0x5ff0a4], 0
jne 0x403533
call fcn.0040da4e
call fcn.0041386f
cmp byte [0x5febc7], 0
je 0x40351f
call fcn.004033d8
mov esi, 0x47d460
push esi
call fcn.0043e5ff
mov dword [esp], str.Bemessung
jmp 0x40354a
call fcn.0041181e
mov esi, 0x47d460
push esi
call fcn.0043e5ff
mov dword [esp], str.Durchstanznachweis
push 0x46945c
push 0x47d46c
mov dword [0x47d468], edi
call fcn.00401381
push 0x47dc60
push str._sTTABLE
push ebx
call fcn.00401381
push 0x46a6ec
push ebx
call fcn.0043ed2e
add esp, 0x20
mov dword [0x5ff13c], eax
test eax, eax
je 0x4035a1
push eax
push edi
push 0x100
push esi
call fcn.0043f495
push dword [0x5ff13c]
call fcn.0043e7de
add esp, 0x14
pop edi
pop esi
pop ebx
ret
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 1
push 1
mov esi, 0x47e360
mov dword [0x550ae8], eax
push esi
call fcn.00401332
push esi
mov ebx, 0x47dc60
mov edi, 0x47e260
push ebx
push 0x47d560
push edi
push 0x550ae0
push 0x5febb8
call fcn.00401146
mov eax, 0x46a703
push eax
push eax
push esi
push 0x46a704
push esi
call fcn.004012af
push 1
push 0xc
push 0x20
push str.IN_STEEL.EXE
call fcn.00402a5b
add esp, 0x48
push edi
push str._s1TRACE
push 0x47d760
call fcn.00401381
movsd xmm0, qword [0x46a810]
pop ecx
movsd qword [esp], xmm0
call fcn.0043f4d0
fmul qword [0x46a868]
mov esi, 0x47da60
push ebx
push str._sISBDATEI
push esi
mov byte [0x5febc6], 1
fstp qword [0x5fcae8]
call fcn.00401381
mov edi, 0x469460
push edi
push esi
call fcn.0043ed2e
add esp, 0x1c
mov dword [0x5ff13c], eax
test eax, eax
setne byte [0x5febc7]
test eax, eax
je 0x403678
push eax
call fcn.0043e7de
pop ecx
push ebx
push str._sSTKDATEI
push esi
call fcn.00401381
push edi
push esi
call fcn.0043ed2e
add esp, 0x14
mov dword [0x5ff13c], eax
test eax, eax
setne byte [0x5febc0]
pop edi
pop esi
pop ebx
test eax, eax
je 0x4036c1
push eax
push 0xf1
push 0x47d660
call fcn.0043ea5a
push dword [0x5ff13c]
call fcn.0043e7de
add esp, 0x10
pop ebp
jmp 0x403468
Function at 0x403930
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
push edi
push dword [ebp + 8]
push str._sLASTD
push esi
call fcn.00401381
push esi
call fcn.00402994
push 0x4694e0
push esi
call fcn.0043ed2e
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4039e6
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 4]
inc ebx
push ebx
push 2
push eax
call fcn.0043efcb
push edi
call fcn.0043e7de
add esp, 0x14
cmp word [ebp + 0x14], bx
jne 0x4039bf
push dword [ebp + 8]
inc word [ebp - 4]
push str._sLASTD
push esi
call fcn.00401381
push 0x4694e4
push esi
call fcn.0043ed2e
mov edi, eax
lea eax, [ebp - 4]
push edi
push ebx
push 2
push eax
call fcn.0043f495
add esp, 0x24
test edi, edi
je 0x4039bf
push edi
call fcn.0043e7de
pop ecx
movsx eax, word [ebp - 4]
push eax
push 0x4694e8
push dword [ebp + 0xc]
call fcn.00401381
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s.TXT
push esi
call fcn.00401381
add esp, 0x1c
pop ebx
pop edi
pop esi
leave
ret
Function at 0x40f276
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x2fc]
xor ebx, ebx
push edi
mov di, word [ebp + 0x14]
inc ebx
test di, di
jle 0x40f2fd
push dword [ebp + 0x300]
push 0x46b3d4
push dword [ebp + 0x304]
push str._s_s_s
push esi
call fcn.00401381
push esi
call fcn.00402994
push 0x4694e0
push esi
call fcn.0043ed2e
add esp, 0x20
mov dword [0x5ff13c], eax
cmp bx, di
jg 0x40f2f2
mov ebx, dword [ebp + 0x2f0]
add ebx, 0x64
movzx edi, di
push eax
push 1
push 0x64
push ebx
call fcn.0043efcb
mov eax, dword [0x5ff13c]
add esp, 0x10
add ebx, 0x64
sub edi, 1
jne 0x40f2d4
xor ebx, ebx
inc ebx
test eax, eax
je 0x40f2fd
push eax
call fcn.0043e7de
pop ecx
push dword [ebp + 0x300]
push str.DOMAINS
push dword [ebp + 0x304]
push str._s_s_s
push esi
call fcn.00401381
push esi
call fcn.00402994
push 0x4694e0
push esi
call fcn.0043ed2e
mov dx, word [ebp + 0x3c]
add esp, 0x20
mov dword [0x5ff13c], eax
cmp bx, dx
jg 0x40f36d
mov edi, dword [ebp + 0x2f4]
xor esi, esi
add edi, 0x5c
movzx ebx, dx
inc esi
push eax
push esi
push 0x5c
push edi
call fcn.0043efcb
mov eax, dword [0x5ff13c]
add esp, 0x10
add edi, 0x5c
sub ebx, 1
jne 0x40f34a
mov esi, dword [ebp + 0x2fc]
xor ebx, ebx
inc ebx
test eax, eax
je 0x40f378
push eax
call fcn.0043e7de
pop ecx
push dword [ebp + 0x300]
push str.NODES
push dword [ebp + 0x304]
push str._s_s_s
push esi
call fcn.00401381
push esi
call fcn.00402994
push 0x4694e0
push esi
call fcn.0043ed2e
mov dx, word [ebp + 0xa]
add esp, 0x20
mov dword [0x5ff13c], eax
cmp bx, dx
jg 0x40f3dc
mov esi, dword [ebp + 0x2f8]
add esi, 0x64
movzx edi, dx
push eax
push ebx
push 0x64
push esi
call fcn.0043efcb
mov eax, dword [0x5ff13c]
add esp, 0x10
add esi, 0x64
sub edi, 1
jne 0x40f3c2
pop edi
pop esi
pop ebx
test eax, eax
je 0x40f3ea
push eax
call fcn.0043e7de
pop ecx
pop ebp
ret
Function at 0x418f57
Capabilities:
Parse pe header

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

Function at 0x43f9c2
Capabilities:
Parse pe header

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

Function at 0x44ad4b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46f88c
push 0x46f884
push str.FlsAlloc
push 0x1f
call fcn.0044aa19
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44ad7f
push dword [ebp + 8]
mov ecx, esi
call dword [0x4691d4]
call esi
jmp 0x44ad85
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44adc9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46f89c
push 0x46f894
push str.FlsGetValue
push 0x21
call fcn.0044aa19
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44ae00
push dword [ebp + 8]
mov ecx, esi
call dword [0x4691d4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x44ae08
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x46f8a4
push 0x46f89c
push str.FlsSetValue
push 0x22
call fcn.0044aa19
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44ae42
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4691d4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x44cc52
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 + 0x47c8d0]
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 0x44cc92
cmp byte [ebx], 0xa
jne 0x44cc92
or byte [edi + eax + 0x28], 4
jmp 0x44cc97
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 0x44cd96
mov dl, byte [eax]
cmp dl, 0x1a
je 0x44cd79
inc eax
cmp dl, 0xd
je 0x44ccc3
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x44cce9
cmp eax, ecx
jae 0x44ccf7
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 0x44ccab
jmp 0x44cd96
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 0x44cd74
cmp dword [ebp - 0x10], 0
je 0x44cd74
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x47c8d0]
test byte [eax + edi + 0x28], 0x48
je 0x44cd4e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x44cd39
mov byte [esi], dl
jmp 0x44cd4a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x47c8d0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x44cd96
cmp byte [ebp - 1], 0xa
jne 0x44cd5d
cmp esi, ebx
jne 0x44cd5d
mov byte [esi], 0xa
jmp 0x44cd95
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00450132
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44cd96
mov byte [esi], 0xd
jmp 0x44cd95
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x47c8d0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x44cd93
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x44cd96
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44cd9f
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 + 0x47c8d0]
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 0x44cde5
cmp word [ebx], dx
jne 0x44cde5
or byte [eax + edi + 0x28], 4
jmp 0x44cdea
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 0x44cf4d
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 0x44cf2d
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x44ce2b
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x44ce61
cmp eax, edx
jae 0x44ce6f
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 0x44ce06
jmp 0x44cf4d
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 0x44cf28
cmp dword [ebp - 0x18], 0
je 0x44cf28
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x47c8d0]
test byte [eax + edi + 0x28], 0x48
je 0x44cefe
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 0x44cec2
mov word [esi], cx
jmp 0x44cef9
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x47c8d0]
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 + 0x47c8d0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x47c8d0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x44cf4d
pop eax
cmp word [ebp - 4], ax
jne 0x44cf0e
cmp esi, ebx
jne 0x44cf0e
mov word [esi], ax
jmp 0x44cf4a
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00450132
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x44cf4d
push 0xd
pop eax
jmp 0x44cf09
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x47c8d0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x44cf47
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x44cf4d
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 0x4506b4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00418690
mov eax, dword [0x47b0c0]
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.00444902
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4506f6
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x450852
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00464f20
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 + 0x47c8d0]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00450114
mov ecx, dword [esi*4 + 0x47c8d0]
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 0x45084b
cmp eax, dword [ecx + edi + 0x24]
jne 0x45084b
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 0x45084b
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00450114
add esp, 0x14
test edx, edx
jl 0x45084b
jg 0x4507c1
test eax, eax
jb 0x45084b
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x45084b
jl 0x4507db
cmp dword [ebp - 0x1008], eax
ja 0x45084b
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x4507f9
test ebx, ebx
je 0x450832
cmp ecx, edi
jae 0x450832
mov al, byte [ecx]
cmp al, 0xd
jne 0x450813
lea eax, [edi - 1]
cmp ecx, eax
jae 0x45081f
cmp byte [ecx + 1], 0xa
jne 0x45081f
inc ecx
jmp 0x45081f
movzx eax, al
movsx eax, byte [eax + 0x47b320]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x4507f9
cmp edx, ebx
jne 0x4507f9
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x450850
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0041836a
leave
ret

Function at 0x4512f8
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004511cc
Function at 0x451b35
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47b0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x451b80
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00451f07
test al, al
jne 0x451b7a
sub edx, 2
cmp edx, edi
jne 0x451b60
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x451ba2
lea eax, [edi + 2]
cmp edx, eax
je 0x451ba2
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004517fc
add esp, 0x10
jmp 0x451c9c
push esi
lea ecx, [ebp - 0x255]
call fcn.00451f07
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x451be5
push dword [ebp - 0x25c]
jmp 0x451b92
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x451c22
cmp word [ebp - 0x226], 0
je 0x451c43
cmp word [ebp - 0x226], ax
jne 0x451c22
cmp word [ebp - 0x224], 0
je 0x451c43
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004517fc
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x451c8f
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x451bfc
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x451c77
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x451c9c
push 0x45131b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0045fd90
add esp, 0x10
jmp 0x451c6c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041836a
leave
ret