joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4076e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push 0x40
push 0
push esi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x4076fa
mov eax, 1
pop ebp
ret
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x4077a8
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4077a8
push edi
push ebx
push 0xf8
push eax
lea edi, [esi + 0x40]
push edi
call dword [ebp + 8]
add esp, 0x10
test eax, eax
jne 0x407731
mov eax, 1
pop edi
pop ebp
ret
cmp dword [edi], 0x4550
jne 0x4077a0
mov ecx, 0x10b
cmp word [esi + 0x58], cx
jne 0x4077a0
movzx eax, word [esi + 0x46]
test ax, ax
je 0x4077a0
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
add eax, eax
push eax
mov dword [esi + 0x140], eax
call fcn.0040fab0
add esp, 4
mov dword [esi + 0x138], eax
test eax, eax
jne 0x407777
mov eax, 3
pop edi
pop ebp
ret
movzx edx, word [esi + 0x54]
mov ecx, dword [esi + 0x3c]
lea ecx, [edx + ecx + 0x18]
mov edx, dword [esi + 0x140]
push ebx
push edx
push ecx
push eax
mov dword [esi + 0x13c], ecx
call dword [ebp + 8]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
pop edi
pop ebp
ret
mov eax, 2
pop edi
pop ebp
ret
mov eax, 2
pop ebp
ret

Function at 0x407ee0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407f1c
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x407f1c
mov edx, 0x10b
cmp word [eax + ecx + 0x18], dx
jne 0x407f1c
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + ecx + 0x78]
push edx
push ecx
push eax
call fcn.00407e20
add esp, 0xc
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x415530
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x415545
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x41553e
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi], 0x4550
jne 0x41553e
push ebx
push esi
mov esi, dword [eax + edi + 0x78]
mov eax, dword [esi + edi + 0x1c]
add esi, edi
add eax, edi
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x24]
add eax, edi
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x20]
add eax, edi
xor ebx, ebx
mov dword [ebp + 8], eax
cmp dword [esi + 0x18], ebx
ja 0x415593
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + ebx*4]
push ecx
add edx, edi
push edx
call fcn.00410390
add esp, 8
test eax, eax
je 0x4155b8
inc ebx
cmp ebx, dword [esi + 0x18]
jb 0x415590
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
movzx ecx, word [eax + ebx*2]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4e5f00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x91000]
push edi
jmp 0x4e5f1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4e5f21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e5f10
mov eax, 1
add ebx, ebx
jne 0x4e5f33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4e5f44
jne 0x4e5f63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e5f63
dec eax
add ebx, ebx
jne 0x4e5f50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4e5f28
add ebx, ebx
jne 0x4e5f5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4e5fb5
xor ecx, ecx
sub eax, 3
jb 0x4e5f7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4e5fea
sar eax, 1
mov ebp, eax
jmp 0x4e5f86
add ebx, ebx
jne 0x4e5f86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e5f54
inc ecx
add ebx, ebx
jne 0x4e5f94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4e5f54
add ebx, ebx
jne 0x4e5fa1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4e5f96
jne 0x4e5fb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4e5f96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4e5fd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4e5fc6
jmp 0x4e5f16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4e5fd4
add edi, ecx
jmp 0x4e5f16
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4e5ff2
cmp byte [edi], 0x11
jne 0x4e5ff2
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 0x4e5ff7
lea edi, [esi + 0xde000]
mov eax, dword [edi]
or eax, eax
je 0x4e606f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf2fb0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf312c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4e6024
mov ecx, edi
jns 0x4e6053
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf3130]
or eax, eax
je 0x4e6069
mov dword [ebx], eax
add ebx, 4
jmp 0x4e6041
call dword [esi + 0xf3140]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4e60a0
cmp al, 0xef
ja 0x4e6093
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4e6075
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4e6082
mov ebp, dword [esi + 0xf3134]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x4e60d4
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x41c8e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41c90d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41c90d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x6e4ac6d0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
invalid
push esp
invalid

Function at 0x6e4ac730
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6f89e068]
test esi, esi
jle 0x6e4ac850
mov eax, dword [0x6f89e06c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x6e4ac764
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6e4ac7e7
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6e4ac750
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x6e4ac877
mov eax, dword [0x6f89e06c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x6f89e06c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6e4ac857
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6e4ac7e0
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6e4ac7f0
add dword [0x6f89e068], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6f89e06c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6e4ac7e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6e4ac76e
mov eax, dword [0x6f89e06c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x6e4acb90
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6f89e078
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6f89e070]
sub esp, 4
test ebx, ebx
je 0x6e4acbe5
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6e4acbde
test esi, esi
je 0x6e4acbde
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6e4acbc0
mov dword [esp], 0x6f89e078
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6e4acf20
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x6e400000], 0x5a4d
jne 0x6e4acf45
mov ecx, dword [0x6e40003c]
cmp dword [ecx + 0x6e400000], 0x4550
lea edx, [ecx + 0x6e400000]
je 0x6e4acf50
ret
cmp word [ecx + 0x6e400018], 0x10b
jne 0x6e4acf45
push esi
movzx eax, word [ecx + 0x6e400014]
push ebx
movzx esi, word [ecx + 0x6e400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x6e400000
test si, si
je 0x6e4acf98
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6e4acf8e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6e4acf9a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6e4acf80
xor eax, eax
pop ebx
pop esi
ret

Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2d2b0843
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x285c030a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x930612f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
je 0x4320d2
nop
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x6e565556
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x75b76e94
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x345d58ad
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x1000c3f8
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor al, al
mov ecx, dword [esi + 0x4c]
cmp ecx, 0xffffffff
je 0x1000c554
mov edx, 0x10000000
cmp ecx, 0x7c
je 0x1000c554
cmp ecx, 0x29
jne 0x1000c45f
cmp dword [esi + 0x10], 0
jne 0x1000c554
lea edi, [esi + 0x50]
test dword [edi], edx
je 0x1000c55c
cmp ecx, 0x5d
jne 0x1000c440
test dword [edi], edx
je 0x1000c54c
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.1000bd64
mov ecx, esi
call fcn.1000f505
mov ecx, esi
call fcn.1000f611
mov al, 1
jmp 0x1000c3ff
lea edi, [esi + 0x50]
cmp ecx, 0x2e
jne 0x1000c473
push 5
lea ecx, [esi + 0x24]
call fcn.1000f4c7
jmp 0x1000c44d
cmp ecx, 0x5c
jne 0x1000c4be
mov ecx, esi
call fcn.1000f505
test byte [edi], 0x80
je 0x1000c4b5
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x1000c49e
push 4
lea ecx, [esi + 0x24]
call fcn.1000f4c7
mov ecx, esi
call fcn.1000f505
jmp 0x1000c45b
cmp al, 0x42
jne 0x1000c4b5
push 4
lea ecx, [esi + 0x24]
call fcn.1000f4c7
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x1000c495
mov ecx, esi
call fcn.1000c566
jmp 0x1000c454
cmp ecx, 0x5b
jne 0x1000c4e1
mov ecx, esi
call fcn.1000f505
mov ecx, esi
call fcn.1000cd46
push 4
push 0x5d
mov ecx, esi
call fcn.1000dc30
jmp 0x1000c454
cmp ecx, 0x28
jne 0x1000c50e
mov ecx, esi
call fcn.1000f505
mov ecx, esi
call fcn.1000fdd0
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.1000dc30
test bl, bl
je 0x1000c45b
jmp 0x1000c454
cmp ecx, 0x5e
jne 0x1000c51a
push 2
jmp 0x1000c48d
cmp ecx, 0x24
jne 0x1000c526
push 3
jmp 0x1000c48d
cmp ecx, 0x2a
je 0x1000c550
cmp ecx, 0x2b
je 0x1000c550
cmp ecx, 0x3f
je 0x1000c550
cmp ecx, 0x7b
je 0x1000c550
cmp ecx, 0x7d
jne 0x1000c433
test dword [edi], edx
je 0x1000c558
jmp 0x1000c440
push 4
jmp 0x1000c55e
push 0xa
jmp 0x1000c55e
pop edi
pop esi
pop ebx
ret
push 6
jmp 0x1000c55e
push 5
mov ecx, esi
call fcn.1000dbff
int3
Function at 0x100128a7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push ebp
push esi
push edi
push dword [esp + 0xa4]
mov edi, dword [esp + 0xa4]
mov ecx, edi
mov dword [esp + 0x58], str.ABEHKMOPTXaceopx
mov dword [esp + 0x5c], 0x100498ec
mov dword [esp + 0x60], 0x100494c0
mov dword [esp + 0x64], 0x100498f0
mov dword [esp + 0x68], 0x100498f4
mov dword [esp + 0x6c], 0x100498f8
mov dword [esp + 0x70], 0x100498fc
mov dword [esp + 0x74], 0x10049900
mov dword [esp + 0x78], 0x10049904
mov dword [esp + 0x7c], 0x10049908
mov dword [esp + 0x80], 0x1004990c
mov dword [esp + 0x84], 0x10049910
mov dword [esp + 0x88], 0x10049914
mov dword [esp + 0x8c], 0x10049918
mov dword [esp + 0x90], 0x1004991c
mov dword [esp + 0x94], 0x10049920
mov dword [esp + 0x98], 0x10049924
mov dword [esp + 0x14], 0x10049928
mov dword [esp + 0x18], 0x1004992c
mov dword [esp + 0x1c], 0x10049930
mov dword [esp + 0x20], 0x10049934
mov dword [esp + 0x24], 0x10049938
mov dword [esp + 0x28], 0x1004993c
mov dword [esp + 0x2c], 0x10049940
mov dword [esp + 0x30], 0x10049944
mov dword [esp + 0x34], 0x10049948
mov dword [esp + 0x38], 0x1004994c
mov dword [esp + 0x3c], 0x10049950
mov dword [esp + 0x40], 0x10049954
mov dword [esp + 0x44], 0x10049958
mov dword [esp + 0x48], 0x1004995c
mov dword [esp + 0x4c], 0x10049960
mov dword [esp + 0x50], 0x10049964
mov dword [esp + 0x54], 0x10049968
call fcn.10009a86
push 0
call fcn.1002ee09
push eax
call fcn.1002a382
cmp dword [edi + 0x14], 0x10
mov esi, edi
pop ecx
pop ecx
jb 0x10012a03
mov esi, dword [edi]
mov eax, edi
jb 0x10012a09
mov eax, dword [edi]
mov ebp, dword [edi + 0x10]
add ebp, eax
cmp esi, ebp
je 0x10012a59
push ebx
mov cl, byte [esi]
xor ebx, ebx
mov eax, dword [esp + ebx*4 + 0x58]
cmp cl, byte [eax]
je 0x10012a42
mov eax, dword [esp + ebx*4 + 0x14]
cmp cl, byte [eax]
je 0x10012a2f
inc ebx
cmp ebx, 0x11
jb 0x10012a17
jmp 0x10012a53
call fcn.1002a361
test al, 1
jne 0x10012a53
mov eax, dword [esp + ebx*4 + 0x58]
mov al, byte [eax]
mov byte [esi], al
jmp 0x10012a53
call fcn.1002a361
test al, 1
jne 0x10012a53
mov eax, dword [esp + ebx*4 + 0x14]
mov cl, byte [eax]
mov byte [esi], cl
inc esi
cmp esi, ebp
jne 0x10012a13
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x90
ret
Function at 0x1001d033
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ebp, ecx
test esi, esi
jg 0x1001d053
jl 0x1001d04a
test ebx, ebx
jne 0x1001d053
xor eax, eax
xor edx, edx
jmp 0x1001d116
cmp dword [ebp + 0x38], 0
je 0x1001d069
push esi
push ebx
push dword [esp + 0x18]
call fcn.10014f6c
jmp 0x1001d116
mov eax, dword [ebp + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x1001d0ad
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jbe 0x1001d0ad
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [esp + 0x14]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.10021350
mov eax, dword [ebp + 0x2c]
add edi, esi
mov dword [esp + 0x20], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebp + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x1001d0b5
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
cmp dword [ebp + 0x4c], 0
je 0x1001d10c
mov ecx, ebp
call fcn.1001ac93
mov ecx, dword [esp + 0x14]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x1001d0f7
push dword [ebp + 0x4c]
push eax
push 1
push ecx
call fcn.1002fb45
mov ecx, dword [esp + 0x24]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [esp + 0x14], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x1001d10c
jmp 0x1001d0c8
test edx, edx
je 0x1001d10c
push dword [ebp + 0x4c]
push edi
push 1
push ecx
call fcn.1002fb45
add esp, 0x10
sub edi, eax
sub ebx, edi
mov eax, ebx
sbb esi, 0
mov edx, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc

Function at 0x1001dd83
Capabilities:
Create thread

Disassembly:
xor eax, eax
mov byte [0x1005c7cc], 1
push eax
push eax
push eax
push 0x1001d5ff
push eax
push eax
mov byte [0x1005c7cd], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x1001ddba
push str.Failed_to_create_thread_n
push 0x1005c9e8
call fcn.10017875
pop ecx
xor eax, eax
pop ecx
inc eax
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret

Function at 0x1001f279
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov esi, dword [ebp + 0xc]
neg eax
sbb eax, eax
xor ecx, ecx
and eax, dword [ebp - 4]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1001f255
pop esi
leave
ret 8
Function at 0x10030e80
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1005b0d8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x1004eeb8
push esi
call fcn.1003af0e
pop ecx
pop ecx
test eax, eax
jne 0x10030eae
xor al, al
jmp 0x10030f2b
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.10030bc1
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x10030ee8
push dword [ebp - 0x210]
call fcn.1002a33b
xor al, al
jmp 0x10030f29
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10030eee
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x10030f0e
push edx
call fcn.10030db7
pop ecx
test al, al
je 0x10030ed9
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x10030f1c
mov bl, 1
push dword [ebp - 0x210]
call fcn.1002a33b
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10020631
leave
ret

Function at 0x100322da
Capabilities:
Parse pe header

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

Function at 0x10037327
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100372a9

Function at 0x10037b29
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100507f8
push 0x100507f0
push str.FlsAlloc
push 0x1f
call fcn.10037914
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10037b5d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10049214]
call esi
jmp 0x10037b63
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10037ba7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10050808
push 0x10050800
push str.FlsGetValue
push 0x21
call fcn.10037914
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10037bde
push dword [ebp + 8]
mov ecx, esi
call dword [0x10049214]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10037be6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10050810
push 0x10050808
push str.FlsSetValue
push 0x22
call fcn.10037914
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10037c20
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10049214]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]