joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a6f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2f000]
push edi
jmp 0x43a70a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43a711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43a700
mov eax, 1
add ebx, ebx
jne 0x43a723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43a718
jne 0x43a734
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a718
xor ecx, ecx
sub eax, 3
jb 0x43a748
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43a7ba
mov ebp, eax
add ebx, ebx
jne 0x43a753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43a760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43a784
inc ecx
add ebx, ebx
jne 0x43a770
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43a765
jne 0x43a781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a765
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43a7a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43a795
jmp 0x43a706
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43a7a4
add edi, ecx
jmp 0x43a706
pop esi
mov edi, esi
mov ecx, 0x6d0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43a7c2
cmp byte [edi], 0x11
jne 0x43a7c2
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 0x43a7c7
lea edi, [esi + 0x38000]
mov eax, dword [edi]
or eax, eax
je 0x43a83f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x51a50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x51b18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43a7f4
mov ecx, edi
jns 0x43a823
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 + 0x51b1c]
or eax, eax
je 0x43a839
mov dword [ebx], eax
add ebx, 4
jmp 0x43a811
call dword [esi + 0x51b2c]
mov ebp, dword [esi + 0x51b20]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x43a873
sub esp, 0xffffff80
jmp 0x40a7b1
Function at 0x1eb5690
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf63000]
push edi
jmp 0x1eb56aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1eb56b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1eb56a0
mov eax, 1
add ebx, ebx
jne 0x1eb56c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1eb56d4
jne 0x1eb56f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1eb56f3
dec eax
add ebx, ebx
jne 0x1eb56e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1eb56b8
add ebx, ebx
jne 0x1eb56ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1eb5745
xor ecx, ecx
sub eax, 3
jb 0x1eb570b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1eb577a
sar eax, 1
mov ebp, eax
jmp 0x1eb5716
add ebx, ebx
jne 0x1eb5716
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1eb56e4
inc ecx
add ebx, ebx
jne 0x1eb5724
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1eb56e4
add ebx, ebx
jne 0x1eb5731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1eb5726
jne 0x1eb5742
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1eb5726
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1eb5764
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1eb5756
jmp 0x1eb56a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1eb5764
add edi, ecx
jmp 0x1eb56a6
pop esi
mov edi, esi
mov ecx, 0x22743
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1eb5782
cmp byte [edi], 0xb7
jne 0x1eb5782
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 0x1eb5787
lea edi, [esi + 0x1a79000]
mov eax, dword [edi]
or eax, eax
je 0x1eb57ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1ad2ad0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1ad2c60]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1eb57b4
mov ecx, edi
jns 0x1eb57e3
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 + 0x1ad2c64]
or eax, eax
je 0x1eb57f9
mov dword [ebx], eax
add ebx, 4
jmp 0x1eb57d1
call dword [esi + 0x1ad2c74]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1eb5830
cmp al, 0xef
ja 0x1eb5823
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1eb5805
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1eb5812
mov ebp, dword [esi + 0x1ad2c68]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x1eb5864
sub esp, 0xffffff80
jmp 0x8f8acd
Function at 0x1002e1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1002e1cf
pop dword [ebp - 0x20]
mov eax, 0x878461ed
add eax, 0x887e7fe2
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x9d65a3c3
add dword [ebp - 0x30], 0xb0eca188
mov dword [ebp - 0x2c], 0xb3cce3f5
sub dword [ebp - 0x2c], 0x819997b0
mov dword [ebp - 0x28], 0x959efe9b
add dword [ebp - 0x28], 0xb6ad4593
mov dword [ebp - 0x24], 0x92062663
add dword [ebp - 0x24], 0x6df9d99d
lea eax, [ebp - 0x30]
push eax
mov eax, 0x347646aa
add eax, 0xdb8dd98a
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xb50182b2
add dword [ebp - 0x30], 0xbf70e6a4
mov dword [ebp - 0x2c], 0x72d05243
add dword [ebp - 0x2c], 0xce9c0f32
mov dword [ebp - 0x28], 0xe090470f
sub dword [ebp - 0x28], 0x7d20daa3
mov dword [ebp - 0x24], 0x4b73a7ac
add dword [ebp - 0x24], 0xb48c5854
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x7383977
sub eax, 0xf734192b
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x4838f
push 0
call eax
mov ecx, 0x7dec0171
sub ecx, 0x7debb585
mov edx, eax
mov esi, 0x6ed08cda
add esi, 0xa134f126
add esi, dword [ebp - 0x20]
mov ebx, 0xb41626eb
sub dword [ebp - 0x14], eax
mov edi, dword [esi]
xor dword [ebp - 0x14], edi
sub edi, ebx
mov dword [edx], edi
add dword [ebp - 0x14], 0x370228ad
add edx, 0x4bbc7203
add edx, 0xb4438e01
add esi, 0x8453ceb0
add esi, 0x7bac3154
loop 0x1002e2eb
add eax, 0xe62f1f43
add eax, 0x19d20340
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x100346a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100512d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100346d0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10034700
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10034700
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x100347fa
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10034729
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1003475d
push dword [esi + 0x4c]
movsx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x100347fa
cmp eax, 1
jle 0x100347bb
cmp eax, 3
jne 0x100347fa
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.1002e1c0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100347d9
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x100347fa
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x100347fa
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003af70
mov esp, ebp
pop ebp
ret 4
Function at 0x100396b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100412f8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100512d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1005128c]
cmp eax, 0xffffffff
jne 0x100396e6
xor ebx, ebx
jmp 0x100396ef
push eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1003972f
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0xc]
test eax, eax
jne 0x1003976e
test esi, esi
jne 0x10039772
push 0x10038230
push 0x10052ad8
call fcn.1002e1c0
mov eax, dword [0x1005128c]
add esp, 8
cmp eax, 0xffffffff
je 0x1003972f
push esi
push eax
call dword [sym.imp.kernel32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003975c
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003975c
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x100397b4
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003979d
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10039772
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x10039700
nop
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100397d9
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x100397d9
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.1002e1c0
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x100397c0
jmp 0x10039700
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
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
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x38927151
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x46d63080
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
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
nop
mov eax, section..rdata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x3ab430e
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0xfac7573
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x73205e91
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..pdata_1
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x6d221f80
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x401670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562b9a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5db100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.00431d0a
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x401730
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00538fe1
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x5d8a14
push eax
call fcn.0053b17a
push edi
push esi
call fcn.00432080
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448b50
mov esp, ebp
pop ebp
ret 4

Function at 0x405ae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x562cc6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5db100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00448da2
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00431f7d
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40a200
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563ae6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x5db100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp + 8]
lea eax, [esi + 0x30]
mov dword [esi + 4], 0xffffffff
xorps xmm0, xmm0
movups xmmword [esi + 8], xmm0
mov dword [ebp - 0x18], esi
movups xmmword [esi + 0x18], xmm0
movq qword [esi + 0x28], xmm0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x40a264
mov eax, dword [eax]
mov byte [eax], 0
lea eax, [esi + 0x4c]
mov dword [ebp - 4], 0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x40a289
mov ecx, dword [eax]
jmp 0x40a28b
mov ecx, eax
add eax, 0x24
mov byte [ecx], 0
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x40a2a7
mov eax, dword [eax]
mov byte [eax], 0
push edx
push 4
push esi
mov byte [ebp - 4], 1
call fcn.00543901
add esp, 0xc
mov ecx, esi
call fcn.0040a330
mov ecx, esi
call fcn.0040a4a0
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov ecx, esi
mov dword [esi + 0x48], eax
call fcn.0040a540
mov al, byte [esi]
push 0
push 0x80
push 3
push 0
push 3
mov byte [ebp - 0x14], al
lea eax, [ebp - 0x18]
push 0xc0000000
push eax
mov dword [ebp - 0x18], 0x5c2e5c5c
mov word [ebp - 0x13], 0x3a
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esi + 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448b50
mov esp, ebp
pop ebp
ret 4
Function at 0x40a330
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x5db100]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x40]
lea esi, [edi + 0x30]
cmp ecx, 0x64
jb 0x40a371
mov dword [esi + 0x10], 0x64
cmp dword [esi + 0x14], 0x10
jb 0x40a369
mov eax, dword [esi]
mov byte [eax + 0x64], 0
jmp 0x40a382
mov eax, esi
mov byte [eax + 0x64], 0
jmp 0x40a382
mov eax, 0x64
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.004058d0
mov al, byte [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [esp + 0x10], al
mov word [esp + 0x11], 0x3a
cmp dword [esi + 0x14], 0x10
jb 0x40a39f
mov eax, dword [esi]
jmp 0x40a3a1
mov eax, esi
push dword [edi + 0x40]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
xor edx, edx
mov ecx, eax
or ecx, edx
jne 0x40a3f6
call ebx
cmp eax, 0x7a
jne 0x40a449
mov eax, dword [edi + 0x40]
mov ecx, dword [esi + 0x10]
add eax, eax
cmp eax, ecx
ja 0x40a3e8
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0x10
jb 0x40a3e0
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x40a395
mov ecx, esi
mov byte [ecx + eax], 0
jmp 0x40a395
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.004058d0
jmp 0x40a395
test edx, edx
jl 0x40a449
jg 0x40a401
cmp eax, 2
jbe 0x40a449
mov ecx, dword [esi + 0x10]
add eax, 0xfffffffe
cmp eax, ecx
ja 0x40a42b
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 0x10
jb 0x40a416
mov esi, dword [esi]
mov byte [esi + eax], dl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00448b50
mov esp, ebp
pop ebp
ret
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.004058d0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00448b50
mov esp, ebp
pop ebp
ret
call ebx
push eax
push ecx
mov edx, str.QueryDosDeviceA_failed_w_e
mov ecx, 0x5e3888
call fcn.00406d90
add esp, 4
mov ecx, eax
call fcn.00413750
mov edx, 0x5cda9c
mov ecx, eax
call fcn.00406d90
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x40a481
mov esi, dword [esi]
mov ecx, dword [esp + 0x14]
pop edi
mov byte [esi], 0
pop esi
pop ebx
xor ecx, esp
call fcn.00448b50
mov esp, ebp
pop ebp
ret
Function at 0x40a4a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
lea eax, [esi + 0x18]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x40a4ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.GetDiskFreeSpaceExA_failed_w_e
mov ecx, 0x5e3888
call fcn.00406d90
add esp, 4
mov ecx, eax
call fcn.00413750
mov edx, 0x5cda9c
mov ecx, eax
call fcn.00406d90
lea eax, [esi + 0x2c]
push eax
lea eax, [esi + 0x28]
push eax
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x40a536
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.GetDiskFreeSpaceA_failed_w_e
mov ecx, 0x5e3888
call fcn.00406d90
add esp, 4
mov ecx, eax
call fcn.00413750
mov edx, 0x5cda9c
mov ecx, eax
call fcn.00406d90
pop esi
mov esp, ebp
pop ebp
ret