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

Disassembly:
push esi
xor esi, esi
mov ecx, 0x417d98
mov eax, esi
mov edx, 8
test al, 1
je 0x40c5bc
shr eax, 1
xor eax, 0xedb88320
jmp 0x40c5be
shr eax, 1
dec edx
jne 0x40c5af
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x40c5a8
pop esi
ret

Function at 0x40c5d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x417d94], 0
jne 0x40c5f7
call fcn.0040c5a0
push 1
push 0x417d94
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x40c622
mov edx, ebx
and edx, 0xff
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x417d98]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x40c5fd
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40e058
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.0040e00c
test al, al
jne 0x40e079
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x40e0c5
xor eax, eax
push ebp
push 0x40e0b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404d24
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e0bc
lea eax, [ebp - 0xc]
call fcn.0040e048
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40e304
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x40e30c
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x40e3f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0040b8ec
mov edx, dword [ebp - 8]
mov ecx, 0x40e414
xor eax, eax
call fcn.0040e1e8
push 0
mov eax, dword [ebp - 4]
call fcn.00404d24
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x40e3c7
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x40e326
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x36
call fcn.0040de10
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.00407e04
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0040be74
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x68
call fcn.0040dde0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x406c78]
call fcn.00409740
call fcn.00403f88
jmp 0x40e326
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404c98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e400
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404c90
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c90
ret
Function at 0x91f730
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x65e00d
lea edi, [esi - 0x25d00d]
push edi
or ebp, 0xffffffff
jmp 0x91f752
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x91f759
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x91f748
mov eax, 1
add ebx, ebx
jne 0x91f76b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x91f760
jne 0x91f77c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x91f760
xor ecx, ecx
sub eax, 3
jb 0x91f790
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x91f802
mov ebp, eax
add ebx, ebx
jne 0x91f79b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x91f7a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x91f7cc
inc ecx
add ebx, ebx
jne 0x91f7b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x91f7ad
jne 0x91f7c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x91f7ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x91f7ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x91f7dd
jmp 0x91f74e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x91f7ec
add edi, ecx
jmp 0x91f74e
pop esi
mov edi, esi
mov ecx, 0x18db
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x91f80a
cmp byte [edi], 0x11
jne 0x91f80a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x91f80f
lea edi, [esi + 0x51b000]
mov eax, dword [edi]
or eax, eax
je 0x91f87e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5270d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x52712c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x91f83c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x527134]
or eax, eax
je 0x91f878
mov dword [ebx], eax
add ebx, 4
jmp 0x91f859
call dword [esi + 0x527130]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x91f8af
cmp al, 0xef
ja 0x91f8a2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x91f884
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x91f891
mov ebp, dword [esi + 0x527138]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x91f8e3
sub esp, 0xffffff80
jmp 0x40f37c
Function at 0x64616220
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x6461625e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x64616256
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x64616260
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x64616246
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x64616330
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x64616361
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x64616361
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x64616361
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x6461d18e
Capabilities:
Encode data using xor

Disassembly:
call 0x6461d107
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x6461d137
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x6461d153
xor edx, 0
jmp 0x6461d15e
xor edx, edx
jmp 0x6461d175
jmp 0x6461d181
xor eax, eax
push 0x8427d7c0
call 0x6461d18e
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x6461d1ca
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x6461d1a3
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x6461d1e1
add eax, 0
jno 0x6461d1e6
add esi, 0
ret 0x10
Function at 0x6461df4f
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x6461df71
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x6461e113
cmp edi, dword [ebp + 0x10]
jb 0x6461e113
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.6461da3b
inc edi
jmp 0x6461dffa
jmp 0x6461e007
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.6461da3b
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.6461da3b
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x6461e05b
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x6461e03f
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.6461e089
add dword [eax], 0x39
jle 0x6461e065
sub al, 0xf5
mov ch, al
call fcn.6461e09e
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x6461fd76
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x6461fd8c
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x6461fd9d
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.6461fdde
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x6462214a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x64622093
add ebx, 0
push ecx
call 0x646220a8
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x7308a201
sub ebx, dword [0x730a9a40]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x730a9a30
call fcn.6461db72
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.6461d080
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x64622206
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x64622206
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x646221bd
mov eax, 1
lock xchg dword [0x730a9a3c], eax
push 0x3dd1fc71
call 0x6462214a
push esi
add esp, 8
cmp eax, 0
jne 0x64622133
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x64622159
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x6462216e
cmp ecx, edx
cmp eax, 0
je 0x64622193
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x6462217d
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.646221ac
dec eax
loope 0x646221af
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x730a9a3c], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x646221e3
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x646221f8
jmp 0x64622203
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x646220f1
Function at 0x6462926b
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x64629541
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x730966b4
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x7308d67a
push 0xffffffffffffffff
call fcn.6462046b
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x646292d5
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.646292ed
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x64629535
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x64629509
Function at 0x64638d3b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x64638d5d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x64638d5d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x64638d5d
ret
cmp word [ebx + 4], 0x14c
jne 0x64638d5d
test word [ebx + 0x16], 2
je 0x64638d5d
test word [ebx + 0x16], 0x100
je 0x64638d5d
cmp word [ebx + 0x18], 0x10b
jne 0x64638d5d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x64638d5d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x64638de9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x64638d7d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.6461fcc8
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x64638d5d
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x64638de9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x64638d5d
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x64638d5d
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x64638d5d
ret
cmp word [ebx + 4], 0x14c
jne 0x64638d5d
test word [ebx + 0x16], 2
je 0x64638d5d
test word [ebx + 0x16], 0x100
je 0x64638d5d
cmp word [ebx + 0x18], 0x10b
jne 0x64638d5d
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x64638d5d
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x64638de9
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x64638d7d
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.6461fcc8
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x64638d5d
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x64638ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x64638ef9
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x64638ea0
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x64638eaf
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x64a3eb52
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x64638f00
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.6461fd76
cmp eax, dword [ebp + 0xc]
pop eax
je 0x64638f9f
add edi, 4
add eax, 2
dec ecx
jne 0x64638ee5
call 0x64638f4c
loope 0x64638f42
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x64638f9c
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x64638fad
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x64638f60
cmp eax, ecx
ja 0x64638f60
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x64638fea
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x64638fe0
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.64620255
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x64638eaf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x64638ef9
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x64638ea0
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x64638eaf
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x64a3eb52
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x64638f00
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.6461fd76
cmp eax, dword [ebp + 0xc]
pop eax
je 0x64638f9f
add edi, 4
add eax, 2
dec ecx
jne 0x64638ee5
call 0x64638f4c
loope 0x64638f42
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x64638f9c
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x64638fad
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x64638f60
cmp eax, ecx
ja 0x64638f60
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x64638fea
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x64638fe0
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.64620255
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x401d81
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov edi, dword [ebp + 0x10]
mov esi, ecx
lea eax, [esp + 8]
lea ecx, [esp + 0x28]
xor ebx, ebx
and dword [eax + 4], 0
and dword [ecx - 4], 0
test edi, edi
setne bl
mov dword [ecx - 8], ebx
mov ebx, dword [ebp + 0x1c]
mov dword [ecx + 4], ebx
mov ebx, dword [ebp + 0x18]
mov dword [ecx], ebx
cmove ecx, edi
mov edi, dword [edx]
mov edx, dword [ebp + 0xc]
mov ebx, 0x103
mov dword [eax], ebx
push 0
push ecx
push edx
push dword [ebp + 8]
push eax
push 0
push 0
push 0
push edi
call dword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, ebx
jne 0x401df3
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
cmp eax, 0x103
je 0x401e1a
test eax, eax
js 0x401e03
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
mov byte [esi], 4
jmp 0x401e10
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
and dword [esi], 0
mov dword [esi + 4], eax
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
lea edx, [esp + 4]
lea esi, [esp + 0x18]
and dword [eax], 0
mov dword [ecx], str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], edx
and dword [ecx + 0xc], 0
mov byte [eax + 4], 0
push ecx
push eax
push esi
call fcn.00406779
add esp, 0xc
mov ecx, esi
call fcn.004017a1
push 7
pop ecx
int 0x29
ud2
Function at 0x40757b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x430
lea eax, [ebp - 0x18]
mov esi, 0x200
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x407d30
mov ecx, dword fs:[0]
mov dword [eax], ecx
lea ecx, [ebp - 0x28]
mov dword fs:[0], eax
and dword [ecx], 0
mov dword [ecx + 4], 2
and dword [ecx + 8], 0
cmp esi, 0x201
jae 0x4075d6
lea eax, [ebp - 0x43c]
mov ebx, esi
mov edi, 0x200
mov esi, eax
jmp 0x4075f4
sub esi, dword [ebp - 0x20]
and dword [ebp - 0x10], 0
push esi
lea eax, [ebp - 0x28]
push eax
call fcn.00405431
pop eax
pop ecx
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
mov ebx, edi
mov dword [ebp - 0x20], edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x2c], esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test eax, eax
jne 0x407617
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40766f
cmp esi, ebx
jne 0x407639
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4076ad
lea esi, [ebx + ebx]
test ebx, ebx
mov eax, 0xffffffff
cmovs esi, eax
jmp 0x4075bd
ja 0x4075bd
and dword [ebp - 0x10], 0
cmp esi, edi
ja 0x4076c7
lea eax, [ebp - 0x3c]
push esi
push dword [ebp - 0x2c]
push eax
call fcn.00407872
add esp, 0xc
mov esi, dword [ebp + 8]
movsd xmm0, qword [ebp - 0x3c]
movsd xmm1, qword [ebp - 0x34]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
jmp 0x40768d
lea esi, [ebp - 0x3c]
mov ecx, esi
call fcn.004072b4
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov esi, dword [ebp + 8]
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov dword [esi], 0x80000000
lea eax, [ebp - 0x28]
push eax
call fcn.00408a8f
pop eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x430
pop esi
pop edi
pop ebx
pop ebp
ret
and dword [ebp - 0x10], 0
push 0x424648
push 0x28
push str.internal_error:_entered_unreachable_codeBEB
call fcn.004216d0
add esp, 0xc
jmp 0x4076d6
push 0x424610
push edi
push esi
call fcn.00421514
add esp, 0xc
ud2