joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ba30
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call sym.___pthread_self_lite
mov ebx, eax
mov dword [eax + 4], esi
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41ba52
call sym.__pthread_cleanup_dest.part.8
test byte [ebx + 0x20], 0x30
jne 0x41ba6b
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call sym._longjmp
mov eax, dword [0x4b80ac]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
push edx
test eax, eax
je 0x41baae
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x41baf2
mov esi, dword [ebx + 4]
mov dword [ebx + 0x68], 1
test eax, eax
je 0x41baa1
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [ebx + 0x18], 0
test byte [ebx + 0x24], 4
jne 0x41bab7
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
mov dword [ebx + 0x14], 0
mov eax, ebx
call sym._push_pthread_mem
mov eax, dword [0x4b80ac]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push eax
jmp 0x41baae
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41bb06
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov dword [ebx + 0x18], 0
mov esi, dword [ebx + 4]
jmp 0x41bad1

Function at 0x420090
Capabilities:
Read file on windows

Disassembly:
push esi
push ebx
mov ebx, ecx
sub esp, 0x14
mov eax, dword [ecx + 0x20]
mov esi, dword [esp + 0x20]
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._fread
mov edx, 0xffffffff
test eax, eax
jle 0x4200c8
movzx edx, byte [esi + eax - 1]
mov dword [ebx + 0x24], edx
add esp, 0x14
pop ebx
pop esi
ret 8

Function at 0x4200e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
mov eax, dword [ecx + 0x20]
mov dword [esp + 4], 1
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._fwrite
add esp, 0x1c
ret 8
Function at 0x420c30
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
cmp byte [0x4b9bd0], 0
jne 0x420d56
mov byte [0x4b9bd0], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x420d24
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym.___cxa_demangle
mov dword [esp], 2
mov esi, dword [sym.___acrt_iob_func]
mov edi, eax
call esi
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sym._fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp], 2
test edx, edx
je 0x420d14
call esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._fputs
mov dword [esp], 2
call esi
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4bbb35
call sym._fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4b0ae4
jmp 0x4b0adc
call esi
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._fputs
jmp 0x420cda
mov dword [esp], 2
call dword [0x4b8098]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sym._fwrite
jmp 0x4b0ad7
mov dword [esp], 2
call dword [0x4b8098]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sym._fwrite
call sym._abort
nop
nop
nop
nop
nop
nop
nop
nop
call sym._abort
mov dword [esp], edi
call sym._free
call sym.___cxa_rethrow
call sym.___cxa_begin_catch
call sym.___cxa_end_catch
jmp 0x4b0ad7
Function at 0x426920
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebx
sub esp, 0x60
lea eax, [esp + 0x3c]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
lea ebx, [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x80]
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov eax, dword [ecx + 8]
mov byte [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x3c], 0
call sym.__ZNSt13__facet_shims11__money_getIcEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb1EEPKNSt6locale5
mov edi, edx
mov edx, dword [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x5c]
test edx, edx
je 0x4269c8
mov ecx, dword [esp + 0x88]
mov dword [ecx], edx
test eax, eax
je 0x4269b7
mov dword [esp], ebx
call eax
add esp, 0x60
mov eax, esi
mov edx, edi
pop ebx
pop esi
pop edi
ret 0x20
test eax, eax
je 0x426a27
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x3b]
add edx, eax
call fcn.00471890
mov dword [esp + 0x40], eax
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x8c]
mov dword [esp], eax
call method.std::string.swap_std::string_
mov edx, 0xffffffff
sub esp, 4
mov ecx, dword [esp + 0x40]
lock xadd dword [ecx - 4], edx
mov eax, dword [esp + 0x5c]
test edx, edx
jg 0x4269ae
lea eax, [esp + 0x3b]
sub ecx, 0xc
mov dword [esp], eax
call method.std::string::_Rep._M_destroy_std::allocator_char__const_
sub esp, 4
mov eax, dword [esp + 0x5c]
jmp 0x4269ae
mov dword [esp], 0x4ba1d6
call method.std.__throw_logic_error_char_const_
mov esi, eax
jmp 0x4afca0

Function at 0x426a40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x54
lea ebx, [esp + 0x40]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], ebx
lea ebx, [esp + 0x3c]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
movzx ebx, byte [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [ecx + 8]
mov byte [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x3c], 0
call sym.__ZNSt13__facet_shims11__money_getIcEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb1EEPKNSt6locale5
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x426ac0
fld xword [esp + 0x40]
mov ecx, dword [esp + 0x7c]
fstp xword [ecx]
add esp, 0x54
pop ebx
pop esi
ret 0x20
mov ebx, dword [esp + 0x78]
mov dword [ebx], ecx
add esp, 0x54
pop ebx
pop esi
ret 0x20
Function at 0x426ad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x54
lea ebx, [esp + 0x40]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], ebx
lea ebx, [esp + 0x3c]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ebx
movzx ebx, byte [esp + 0x70]
mov dword [esp + 8], eax
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
mov eax, dword [ecx + 8]
mov byte [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x3c], 0
call sym.__ZNSt13__facet_shims11__money_getIcEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb0EEPKNSt6locale5
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x426b50
fld xword [esp + 0x40]
mov ecx, dword [esp + 0x7c]
fstp xword [ecx]
add esp, 0x54
pop ebx
pop esi
ret 0x20
mov ebx, dword [esp + 0x78]
mov dword [ebx], ecx
add esp, 0x54
pop ebx
pop esi
ret 0x20

Function at 0x426e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x60
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x80]
mov dword [esp + 0xc], ebx
xor bx, bx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 8]
mov byte [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x4c], 0
call sym.__ZNSt13__facet_shims11__money_getIwEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb1EEPKNSt6locale5
mov dword [esp + 0x3c], edx
mov ecx, eax
mov edx, ebx
mov dword [esp + 0x38], eax
movzx eax, word [esp + 0x3c]
or edx, eax
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x426f38
fld xword [esp + 0x50]
mov eax, dword [esp + 0x8c]
fstp xword [eax]
add esp, 0x60
mov eax, ecx
pop ebx
pop esi
pop edi
ret 0x20
mov ebx, dword [esp + 0x88]
mov dword [ebx], eax
add esp, 0x60
mov eax, ecx
pop ebx
pop esi
pop edi
ret 0x20
Function at 0x426f50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0x60
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x4c]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], ecx
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x80]
mov dword [esp + 0xc], ebx
xor bx, bx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 8]
mov byte [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 0x4c], 0
call sym.__ZNSt13__facet_shims11__money_getIwEESt19istreambuf_iteratorIT_St11char_traitsIS2_EESt17integral_constantIbLb0EEPKNSt6locale5
mov dword [esp + 0x3c], edx
mov ecx, eax
mov edx, ebx
mov dword [esp + 0x38], eax
movzx eax, word [esp + 0x3c]
or edx, eax
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x426ff8
fld xword [esp + 0x50]
mov eax, dword [esp + 0x8c]
fstp xword [eax]
add esp, 0x60
mov eax, ecx
pop ebx
pop esi
pop edi
ret 0x20
mov ebx, dword [esp + 0x88]
mov dword [ebx], eax
add esp, 0x60
mov eax, ecx
pop ebx
pop esi
pop edi
ret 0x20
Function at 0x42f2a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x3c], ecx
lea ebp, [esp + 0x44]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x78]
lea eax, [edx + 0x6c]
mov dword [esp], eax
call method.std::__timepunct_char__const_std::use_facet_std.__timepunct_char____std::locale_const_
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.00430cf0
mov ecx, ebp
sub esp, 0x24
mov esi, eax
mov ebx, edx
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call method.std::__time_get_state._M_finalize_state_tm_
sub esp, 4
cmp ebx, 0xffffffff
sete dl
test esi, esi
setne al
and al, dl
jne 0x42f3b8
cmp dword [esp + 0x38], 0xffffffff
sete al
test edi, edi
je 0x42f372
test al, al
jne 0x42f390
cmp dl, al
jne 0x42f380
mov eax, dword [esp + 0x84]
or dword [eax], 2
add esp, 0x5c
mov eax, esi
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov ecx, dword [edi + 0xc]
xor eax, eax
cmp dword [edi + 8], ecx
jb 0x42f372
mov eax, dword [edi]
mov byte [esp + 0x38], dl
mov ecx, edi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
sete al
jmp 0x42f372
mov ebp, eax
xor edx, edx
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
jb 0x42f362
mov eax, dword [esi]
mov byte [esp + 0x3c], dl
mov ecx, esi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3c]
cmp eax, 0xffffffff
mov eax, 0
cmove edx, ebp
cmove esi, eax
jmp 0x42f362
Function at 0x42f3f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x3c], ecx
lea ebp, [esp + 0x44]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x78]
lea eax, [edx + 0x6c]
mov dword [esp], eax
call method.std::__timepunct_char__const_std::use_facet_std.__timepunct_char____std::locale_const_
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x4c], 0
call fcn.00430cf0
mov ecx, ebp
sub esp, 0x24
mov esi, eax
mov ebx, edx
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call method.std::__time_get_state._M_finalize_state_tm_
sub esp, 4
cmp ebx, 0xffffffff
sete dl
test esi, esi
setne al
and al, dl
jne 0x42f508
cmp dword [esp + 0x38], 0xffffffff
sete al
test edi, edi
je 0x42f4c2
test al, al
jne 0x42f4e0
cmp dl, al
jne 0x42f4d0
mov eax, dword [esp + 0x84]
or dword [eax], 2
add esp, 0x5c
mov eax, esi
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov ecx, dword [edi + 0xc]
xor eax, eax
cmp dword [edi + 8], ecx
jb 0x42f4c2
mov eax, dword [edi]
mov byte [esp + 0x38], dl
mov ecx, edi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
sete al
jmp 0x42f4c2
mov ebp, eax
xor edx, edx
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
jb 0x42f4b2
mov eax, dword [esi]
mov byte [esp + 0x3c], dl
mov ecx, esi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3c]
cmp eax, 0xffffffff
mov eax, 0
cmove edx, ebp
cmove esi, eax
jmp 0x42f4b2
Function at 0x454af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov edi, dword [esi + 0xc]
mov eax, edi
and eax, 0xffffffb5
or eax, 8
mov dword [esi + 0xc], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, ebp
mov dword [esp + 4], ebx
xor bx, bx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call method.std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t____std::num_get_wchar_t__std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t_____._M_extract_int_unsigned_long__std::istreambuf_iterator_wchar_t__std::char_traits_wchar_t_____std::is
sub esp, 0x1c
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
movzx eax, word [esp + 0x2c]
mov dword [esp + 0x28], edx
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x3c]
or edx, eax
mov eax, dword [esp + 0x78]
mov dword [esi + 0xc], edi
mov dword [eax], ebx
add esp, 0x4c
mov eax, ecx
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
Function at 0x4596b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x3c], ecx
lea ebp, [esp + 0x44]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x78]
lea eax, [edx + 0x6c]
mov dword [esp], eax
call method.std::__timepunct_char__const_std::use_facet_std.__timepunct_char____std::locale_const_
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.0045aca0
mov ecx, ebp
sub esp, 0x24
mov esi, eax
mov ebx, edx
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call method.std::__time_get_state._M_finalize_state_tm_
sub esp, 4
cmp ebx, 0xffffffff
sete dl
test esi, esi
setne al
and al, dl
jne 0x4597c8
cmp dword [esp + 0x38], 0xffffffff
sete al
test edi, edi
je 0x459782
test al, al
jne 0x4597a0
cmp dl, al
jne 0x459790
mov eax, dword [esp + 0x84]
or dword [eax], 2
add esp, 0x5c
mov eax, esi
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov ecx, dword [edi + 0xc]
xor eax, eax
cmp dword [edi + 8], ecx
jb 0x459782
mov eax, dword [edi]
mov byte [esp + 0x38], dl
mov ecx, edi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
sete al
jmp 0x459782
mov ebp, eax
xor edx, edx
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
jb 0x459772
mov eax, dword [esi]
mov byte [esp + 0x3c], dl
mov ecx, esi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3c]
cmp eax, 0xffffffff
mov eax, 0
cmove edx, ebp
cmove esi, eax
jmp 0x459772
Function at 0x459800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x3c], ecx
lea ebp, [esp + 0x44]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x78]
lea eax, [edx + 0x6c]
mov dword [esp], eax
call method.std::__timepunct_char__const_std::use_facet_std.__timepunct_char____std::locale_const_
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov eax, dword [eax + 8]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x4c], 0
call fcn.0045aca0
mov ecx, ebp
sub esp, 0x24
mov esi, eax
mov ebx, edx
mov eax, dword [esp + 0x88]
mov dword [esp], eax
call method.std::__time_get_state._M_finalize_state_tm_
sub esp, 4
cmp ebx, 0xffffffff
sete dl
test esi, esi
setne al
and al, dl
jne 0x459918
cmp dword [esp + 0x38], 0xffffffff
sete al
test edi, edi
je 0x4598d2
test al, al
jne 0x4598f0
cmp dl, al
jne 0x4598e0
mov eax, dword [esp + 0x84]
or dword [eax], 2
add esp, 0x5c
mov eax, esi
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov ecx, dword [edi + 0xc]
xor eax, eax
cmp dword [edi + 8], ecx
jb 0x4598d2
mov eax, dword [edi]
mov byte [esp + 0x38], dl
mov ecx, edi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x38]
cmp eax, 0xffffffff
sete al
jmp 0x4598d2
mov ebp, eax
xor edx, edx
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
jb 0x4598c2
mov eax, dword [esi]
mov byte [esp + 0x3c], dl
mov ecx, esi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3c]
cmp eax, 0xffffffff
mov eax, 0
cmove edx, ebp
cmove esi, eax
jmp 0x4598c2
Function at 0x477c50
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x1c
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov eax, dword [ebx]
mov dword [esp], eax
call sym._fileno
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._read
mov ebp, eax
cmp eax, 0xffffffff
je 0x477c90
add esp, 0x1c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 8
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 4
je 0x477c61
add esp, 0x1c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x4948f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x57000]
push edi
or ebp, 0xffffffff
jmp 0x494912
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x494919
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x494908
mov eax, 1
add ebx, ebx
jne 0x49492b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x494920
jne 0x49493c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x494920
xor ecx, ecx
sub eax, 3
jb 0x494950
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4949c2
mov ebp, eax
add ebx, ebx
jne 0x49495b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x494968
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x49498c
inc ecx
add ebx, ebx
jne 0x494978
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49496d
jne 0x494989
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49496d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4949ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49499d
jmp 0x49490e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4949ac
add edi, ecx
jmp 0x49490e
pop esi
mov edi, esi
mov ecx, 0x12
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4949ca
cmp byte [edi], 0
jne 0x4949ca
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 0x4949cf
lea edi, [esi + 0x92000]
mov eax, dword [edi]
or eax, eax
je 0x494a3e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x94c10]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x94c60]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4949fc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x94c64]
or eax, eax
je 0x494a38
mov dword [ebx], eax
add ebx, 4
jmp 0x494a19
call dword [esi + 0x94c74]
mov ebp, dword [esi + 0x94c68]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x494a72
sub esp, 0xffffff80
jmp section.UPX0