joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444a10
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.00446310
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 0x444b28
cmp dword [esp + 0x38], 0xffffffff
sete al
test edi, edi
je 0x444ae2
test al, al
jne 0x444b00
cmp dl, al
jne 0x444af0
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 0x444ae2
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 0x444ae2
mov ebp, eax
xor edx, edx
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
jb 0x444ad2
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 0x444ad2
Function at 0x46a530
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 0x46ec60
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.00470250
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 0x46ed78
cmp dword [esp + 0x38], 0xffffffff
sete al
test edi, edi
je 0x46ed32
test al, al
jne 0x46ed50
cmp dl, al
jne 0x46ed40
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 0x46ed32
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 0x46ed32
mov ebp, eax
xor edx, edx
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
jb 0x46ed22
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 0x46ed22
Function at 0x46edb0
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.00470250
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 0x46eec8
cmp dword [esp + 0x38], 0xffffffff
sete al
test edi, edi
je 0x46ee82
test al, al
jne 0x46eea0
cmp dl, al
jne 0x46ee90
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 0x46ee82
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 0x46ee82
mov ebp, eax
xor edx, edx
mov eax, dword [esi + 0xc]
cmp dword [esi + 8], eax
jb 0x46ee72
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 0x46ee72
Function at 0x48dd00
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 0x48dd40
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 0x48dd11
add esp, 0x1c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x401f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x8c
mov eax, 0x129
mov ecx, 0x9e
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov ecx, eax
shl ecx, 5
add ecx, eax
push ebx
push ebp
push esi
movsx edx, word [ecx*8 + 0x7999ea]
sub eax, edx
mov ebp, dword [esp + 0xa4]
mov ecx, eax
mov eax, dword [0xbca2e0]
cdq
sub eax, edx
lea edx, [esp + 0x28]
mov dword [esp + 0x14], edx
mov edx, ecx
mov ebx, dword [esp + 0xa0]
push edi
shl edx, 5
xor esi, esi
xor edi, edi
sar eax, 1
add edx, ecx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0x1e
lea ecx, [edx*8 + 0x799a39]
mov dword [esp + 0x38], 0x46
mov dword [esp + 0x20], 0x30
mov dword [esp + 0x24], 0xcb
mov dword [esp + 0x28], 0x153
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], 0xffffffb1
mov dword [esp + 0x50], 0xffffff6f
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], 0xffffffc4
mov dword [esp + 0x60], 0xffffff75
mov dword [esp + 0x68], 0xffffff33
mov dword [esp + 0x6c], 0xfffffff1
mov dword [esp + 0x70], 0xffffff56
mov dword [esp + 0x74], 0x8f
mov dword [esp + 0x78], 0xffffff07
mov dword [esp + 0x7c], 0x11a
mov dword [esp + 0x80], 0xfffffec5
mov dword [esp + 0x84], 0xffffffdd
mov dword [esp + 0x88], 0xfffffee3
mov dword [esp + 0x8c], 0x7b
mov dword [esp + 0x90], 0xfffffe94
mov dword [esp + 0x94], 0x106
mov dword [esp + 0x98], 0xfffffe52
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
jmp 0x4020c5
xor esi, esi
lea edx, [esp + 0x20]
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x10]
cmp byte [ecx + esi], 0
je 0x402160
cmp edi, 3
mov ecx, eax
jg 0x4020ed
mov edx, dword [0xf57584]
and ecx, 1
jmp 0x4020f6
mov edx, dword [0xf5758c]
and ecx, 1
add ecx, edx
test eax, eax
jne 0x402119
lea eax, [edi + esi]
shl eax, 3
mov edx, dword [esp + eax + 0x40]
mov eax, dword [esp + eax + 0x3c]
lea edx, [edx + ebp - 0x63]
push edx
lea edx, [eax + ebx + 0xf3]
push edx
jmp 0x402151
cmp eax, 3
jne 0x402160
mov ebx, dword [esp + 0x14]
lea eax, [edi + esi]
shl eax, 3
mov edx, dword [esp + eax + 0x40]
mov eax, dword [esp + eax + 0x3c]
add edx, dword [ebx]
lea edx, [edx + ebp - 0x127]
push edx
mov edx, dword [esp + 0x1c]
mov ebx, dword [edx]
add eax, ebx
mov ebx, dword [esp + 0xa8]
lea eax, [eax + ebx - 0x19b]
push eax
push ecx
mov ecx, 0xf55bb0
call fcn.0053e590
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
inc esi
add edx, 4
cmp esi, 3
mov dword [esp + 0x14], edx
jl 0x4020cd
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edi, 3
add esi, 3
add edx, 4
cmp edi, 0xc
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edx
jl 0x4020c3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 0xc
Function at 0x413580
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x64
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x413594
push eax
call dword [sym.imp.binkw32.dll__BinkClose_4]
mov eax, dword [0x12663ac]
test eax, eax
je 0x4135da
push 0
mov ecx, 0xe92bf8
call fcn.0055f561
push 2
mov ecx, 0xe92bf8
call fcn.0055f561
push 1
mov ecx, 0xe92bf8
call fcn.0055f561
mov eax, dword [0x12663ac]
mov edx, dword [sym.imp.binkw32.dll__BinkOpenMiles_4]
mov ecx, dword [eax + 0x178]
push ecx
push edx
call dword [sym.imp.binkw32.dll__BinkSetSoundSystem_8]
push edi
mov edi, dword [esp + 0x70]
push edi
lea eax, [esp + 0xc]
push 0x5763c0
push eax
call fcn.00561a36
lea ecx, [esp + 0x14]
push 0x5763bc
push ecx
call fcn.00561a0a
add esp, 0x14
test eax, eax
jne 0x413623
xor edx, edx
push edi
mov dl, byte [0xe38e62]
lea eax, [esp + 0xc]
push edx
push str._c:_s
push eax
call fcn.00561a36
add esp, 0x10
jmp 0x41362c
push eax
call fcn.00561994
add esp, 4
lea ecx, [esp + 8]
push 0
push ecx
call dword [sym.imp.binkw32.dll__BinkOpen_8]
test eax, eax
mov dword [esi + 0x10], eax
pop edi
jne 0x413655
push str.Unable_to_load_BINK__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop esi
add esp, 0x64
ret 0xc
mov ecx, dword [esp + 0x74]
xor edx, edx
mov dl, byte [0xe38dda]
mov eax, dword [esp + 0x70]
mov dword [esi], edx
mov byte [0xe38dda], 0x4a
mov byte [esi + 4], 0
mov byte [0xe38dca], 0
mov dword [esi + 0x18], ecx
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.00413690
mov al, 1
pop esi
add esp, 0x64
ret 0xc
Function at 0x41c8f0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x14c
push ebx
mov ebx, dword [esp + 0x158]
push ebp
mov ebp, ecx
mov ecx, dword [esp + 0x158]
push esi
mov esi, dword [esp + 0x164]
lea eax, [esp + 0x18]
push eax
mov dword [ebx], 0
push ecx
mov byte [esp + 0x17], 1
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x41c944
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x14c
ret 0xc
push edi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi]
not ecx
dec ecx
inc eax
mov edx, ecx
mov dword [esi], eax
mov edi, dword [ebx]
lea eax, [edx + 1]
add edi, eax
mov dword [ebx], edi
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jge 0x41c9cb
mov ecx, dword [ebp + 0x18]
lea edi, [ecx + edx + 1]
cmp edi, dword [ebp + 0x14]
jge 0x41c9cb
mov esi, dword [ebp + 4]
lea edi, [esp + 0x48]
mov dword [esi + eax*4], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov esi, dword [eax + ecx*4]
mov ecx, dword [ebp + 0x10]
add esi, ecx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x18], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x168]
inc ecx
inc edx
mov dword [ebp + 8], ecx
add eax, edx
mov dword [ebp + 0x18], eax
jmp 0x41c9d0
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41c945
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14c
ret 0xc

Function at 0x41d050
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x64
mov eax, dword [esp + 0x68]
push 0x64
lea ecx, [esp + 4]
push eax
push ecx
call fcn.00562240
mov cl, byte [esp + 0xc]
add esp, 0xc
test cl, cl
mov byte [esp + 0x63], 0
je 0x41d085
lea eax, [esp]
xor cl, 3
mov byte [eax], cl
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x41d078
mov al, byte [0x7027e0]
test al, al
jne 0x41d095
or eax, 0xffffffff
add esp, 0x64
ret
lea edx, [esp]
test edx, edx
jne 0x41d0a4
or eax, 0xffffffff
add esp, 0x64
ret
mov al, byte [0x578c68]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
mov edi, 0x57c3c8
test al, al
je 0x41d0bf
mov cl, byte [edi + 8]
test cl, cl
je 0x41d0f2
mov esi, dword [edi]
lea ecx, [esp + 0x10]
mov bl, byte [ecx]
mov dl, bl
cmp bl, byte [esi]
jne 0x41d0e9
test dl, dl
je 0x41d0e5
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x41d0e9
add ecx, 2
add esi, 2
test dl, dl
jne 0x41d0c5
xor ecx, ecx
jmp 0x41d0ee
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
je 0x41d0fe
add edi, 0xc
inc ebp
cmp edi, 0x57c560
jl 0x41d0b4
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
Function at 0x426810
Capabilities:
Get disk information

Disassembly:
sub esp, 8
or ecx, 0xffffffff
xor eax, eax
push ebx
push ebp
push esi
push edi
mov edi, 0x7027d4
mov ebx, dword [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov esi, 0x41
push esi
lea ecx, [esp + 0x14]
push str._c:_
push ecx
call fcn.00561a36
add esp, 0xc
lea edx, [esp + 0x10]
push edx
call edi
cmp eax, 5
jne 0x426881
push ebx
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.004265d0
add esp, 0xc
cmp eax, 7
je 0x42688f
inc esi
cmp esi, 0x5a
jle 0x42684e
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x434400
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
mov eax, dword [esp + 4]
push ebp
mov ebp, eax
shl ebp, 5
add ebp, eax
shl ebp, 3
mov ax, word [ebp + 0x7999e8]
cmp ax, 0x62
jne 0x434420
xor eax, eax
pop ebp
ret
cmp ax, 0x96
jne 0x43442a
xor eax, eax
pop ebp
ret
cmp ax, 0x3c
jne 0x434434
xor eax, eax
pop ebp
ret
cmp ax, 0x3d
jne 0x43443e
xor eax, eax
pop ebp
ret
cmp ax, 0x3e
jne 0x434448
xor eax, eax
pop ebp
ret
cmp ax, 0x3f
jne 0x434452
xor eax, eax
pop ebp
ret
cmp ax, 0x40
jne 0x43445c
xor eax, eax
pop ebp
ret
cmp ax, 0x41
jne 0x434466
xor eax, eax
pop ebp
ret
cmp ax, 0x42
jne 0x434470
xor eax, eax
pop ebp
ret
cmp ax, 0x43
jne 0x43447a
xor eax, eax
pop ebp
ret
cmp ax, 0x44
jne 0x434484
xor eax, eax
pop ebp
ret
cmp ax, 0x45
jne 0x43448e
xor eax, eax
pop ebp
ret
cmp ax, 0xd2
jne 0x434498
xor eax, eax
pop ebp
ret
mov al, byte [ebp + 0x7999dd]
test al, al
jne 0x4344a6
xor eax, eax
pop ebp
ret
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
xor esi, esi
push esi
push ebx
call fcn.004c06e0
mov edx, dword [eax*4 + 0x70573c]
add esp, 8
add edi, edx
inc esi
cmp esi, 3
jl 0x4344af
inc ebx
cmp ebx, 5
jl 0x4344ad
mov eax, dword [0x705c78]
add eax, edi
pop edi
pop esi
pop ebx
test eax, eax
jne 0x4344de
pop ebp
ret
movsx eax, byte [ebp + 0x799a5b]
mov ecx, eax
pop ebp
shl ecx, 4
add ecx, eax
mov eax, 0x66666667
imul ecx
mov eax, edx
sar eax, 2
mov ecx, eax
shr ecx, 0x1f
add eax, ecx
ret
Function at 0x442280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x74]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov bl, byte [eax + 0xb67d1c]
call fcn.005596d0
mov eax, 0xffffffd1
xor esi, esi
test bl, 0x40
mov dword [esp + 0x3c], 0x6e
mov dword [esp + 0x40], 0xffffffb7
mov dword [esp + 0x44], 0x7e
mov dword [esp + 0x48], 0xffffffc0
mov dword [esp + 0x4c], 0x91
mov dword [esp + 0x50], 0xffffffc9
mov dword [esp + 0x54], 0xa1
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0x5e
mov dword [esp + 0x60], 0xffffffbe
mov dword [esp + 0x64], 0x6f
mov dword [esp + 0x68], 0xffffffc7
mov dword [esp + 0x6c], 0x82
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x93
mov dword [esp + 0x78], 0xffffffda
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x10], esi
je 0x442490
mov ecx, dword [0xf53dd8]
cmp ecx, esi
jle 0x4423f7
mov eax, dword [esp + 0x80]
mov dword [esp + 0x84], 0xf53ddc
mov ebx, eax
mov dword [esp + 0x80], ecx
shl ebx, 5
add ebx, eax
shl ebx, 2
mov ecx, dword [esp + 0x84]
xor edx, edx
mov ebp, dword [ecx]
lea eax, [ebx + ebp]
mov di, word [eax*2 + 0x799a2e]
mov eax, 0x258
cmp di, si
je 0x4423b4
cmp eax, 0xc80
mov ecx, 0xc80
jg 0x4423ab
mov ecx, eax
movsx esi, di
cmp esi, ecx
jle 0x4423c3
xor esi, esi
add eax, 0x190
inc edx
cmp eax, 0xed8
jl 0x442398
jmp 0x4423cf
cmp edx, 8
jge 0x4423cd
inc edx
mov dword [esp + ebp*4 + 0x14], edx
xor esi, esi
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
add ecx, 4
dec eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x80], eax
jne 0x44237d
mov ecx, dword [0xf53dd8]
cmp ecx, esi
mov dword [esp + 0x80], esi
jle 0x442490
mov ebp, dword [esp + 0x8c]
mov dword [esp + 0x84], 0xf53ddc
mov ecx, dword [esp + 0x84]
mov ebx, dword [ecx]
mov edi, dword [esp + ebx*4 + 0x14]
cmp edi, esi
jle 0x442466
mov eax, dword [esp + 0x10]
lea esi, [esp + eax*8 + 0x3c]
add eax, edi
mov dword [esp + 0x10], eax
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov ecx, dword [0xf5648c]
add edx, ebp
push edx
mov edx, dword [esp + 0x8c]
add eax, edx
lea edx, [ebx + ecx - 1]
push eax
push edx
mov ecx, 0xf55bb0
call fcn.0053e590
add esi, 8
dec edi
jne 0x442437
xor esi, esi
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
mov ecx, dword [0xf53dd8]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
jl 0x442418
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x6c
ret
Function at 0x46a280
Capabilities:
Print debug messages

Disassembly:
xor ecx, ecx
mov eax, 0x9783c0
cmp byte [eax], 0
je 0x46a2a3
add eax, 0x1c
inc ecx
cmp eax, 0x9784d8
jl 0x46a287
push str.unable_to_find_a_repair_queue_for_this_shipyard__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
ret
mov edx, dword [esp + 4]
push esi
mov esi, edx
mov al, cl
shl esi, 5
add esi, edx
inc al
mov byte [esi*8 + 0x799aa3], al
lea eax, [ecx*8]
sub eax, ecx
pop esi
shl eax, 2
mov byte [eax + 0x9783c0], 1
mov dword [eax + 0x9783d8], edx
ret
Function at 0x4802c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [esp + 0x74]
push ebx
push ebp
push esi
lea ecx, [eax + eax*8]
push edi
or edi, 0xffffffff
xor ebp, ebp
lea eax, [eax + ecx*2]
mov ecx, 0xfffffffe
mov dword [esp + 0x38], ecx
mov dword [esp + 0x60], ecx
lea edx, [eax + eax*2]
mov eax, dword [0xbca2d8]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x1c]
lea esi, [eax + edx*4]
mov eax, dword [esp + 0x80]
add esi, eax
mov eax, 1
mov edx, 2
mov dword [esp + 0x20], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x1c], 0xffffff1c
mov dword [esp + 0x24], 0xe4
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0xfffffe38
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x1c8
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], edx
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], esi
xor eax, eax
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [edx]
cmp ecx, ebp
je 0x48041c
lea edx, [ecx + esi]
mov ebx, dword [edx*4 + 0xaf598c]
test bl, 8
je 0x4803c1
movsx edx, word [edx*2 + 0xb4e6fc]
mov edi, edx
shl edi, 5
add edi, edx
mov dx, word [edi*8 + 0x7999e8]
cmp dx, 0x8a
je 0x480407
cmp dx, 0x88
je 0x480407
test bl, 0x40
je 0x480407
xor ebx, ebx
xor edx, edx
mov bl, byte [ecx + esi + 0xa76aec]
mov ecx, dword [0xeaac28]
imul ecx, ecx, 0x49d8
mov edi, 0xb
add ecx, 0xea5f1c
cmp dword [ecx], ebx
je 0x4803f7
inc edx
add ecx, 8
cmp edx, 0xa
jl 0x4803e8
jmp 0x4803f9
mov edi, edx
cmp edi, dword [esp + 0x14]
jge 0x480407
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x10]
inc eax
add edx, 4
cmp eax, 8
mov dword [esp + 0x10], edx
jl 0x48037f
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
cmp eax, 0xc
pop ebx
jge 0x480456
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + eax*8 + 0x2c]
add ecx, edx
mov edx, dword [esp + eax*8 + 0x30]
mov eax, dword [esp + 0x74]
mov dword [0xd3b4e4], ecx
add edx, eax
mov eax, 1
mov dword [0xd3b4e0], edx
add esp, 0x6c
ret
xor eax, eax
add esp, 0x6c
ret