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

Disassembly:
push 0xffffffffffffffff
push 0x433aea
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
mov ebp, ecx
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x10]
xor esi, esi
mov dword [esp + 0x18], ebx
call fcn.0041cb30
mov al, byte [esp + 0x7c]
mov dword [esp + 0x70], ebx
mov byte [esp + 0x38], al
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov cl, byte [esp + 0x7c]
xor eax, eax
xor edi, edi
mov byte [esp + 0x28], cl
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x7c]
mov byte [esp + 0x70], 2
cmp ecx, ebx
jbe 0x407eee
mov edi, dword [esp + 0x78]
cmp byte [esi + edi], 0x3a
je 0x407ce0
inc esi
jmp 0x407ec1
lea edx, [esi + 2]
cmp edx, ecx
jae 0x407ed1
mov al, byte [edi + esi + 2]
mov cl, byte [esi + edi + 1]
inc esi
push eax
push ecx
mov ecx, ebp
call fcn.00407bf0
test al, al
mov byte [esp + 0x1c], al
je 0x407ed1
mov eax, dword [esp + 0x1c]
add esi, 2
and eax, 0xff
mov dword [esp + 0x20], eax
lea edx, [esi + eax*2 + 8]
mov eax, dword [esp + 0x7c]
cmp edx, eax
jae 0x407ed1
mov al, byte [edi + esi + 1]
mov cl, byte [esi + edi]
push eax
push ecx
mov ecx, ebp
call fcn.00407bf0
mov dl, byte [edi + esi + 3]
xor ebx, ebx
mov bh, al
mov al, byte [edi + esi + 2]
push edx
push eax
mov ecx, ebp
call fcn.00407bf0
mov cl, byte [edi + esi + 5]
mov dl, byte [esi + edi + 4]
add esi, 4
mov bl, al
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.00407bf0
add esi, 2
cmp al, 1
je 0x407ecf
cmp al, 2
jne 0x407daf
mov al, byte [edi + esi + 1]
mov cl, byte [esi + edi]
push eax
push ecx
mov ecx, ebp
call fcn.00407bf0
mov dl, byte [edi + esi + 3]
xor ebx, ebx
mov bh, al
mov al, byte [edi + esi + 2]
push edx
push eax
mov ecx, ebp
call fcn.00407bf0
mov bl, al
mov eax, ebx
shl eax, 4
mov dword [esp + 0x18], eax
add esi, 4
jmp 0x407ebf
cmp al, 4
jne 0x407deb
mov cl, byte [edi + esi + 1]
mov dl, byte [esi + edi]
push ecx
push edx
mov ecx, ebp
call fcn.00407bf0
mov cl, byte [edi + esi + 2]
xor ebx, ebx
mov bh, al
mov al, byte [edi + esi + 3]
push eax
push ecx
mov ecx, ebp
call fcn.00407bf0
mov bl, al
mov eax, ebx
shl eax, 0x10
mov dword [esp + 0x18], eax
add esi, 4
jmp 0x407ebf
test al, al
jne 0x407ecf
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push 0
call fcn.0041cb87
lea ecx, [esp + 0x14]
call fcn.0041d132
mov edx, dword [esp + 0x20]
mov byte [esp + 0x78], 0
lea eax, [esi + edx*2]
cmp esi, eax
mov dword [esp + 0x20], eax
jae 0x407e57
mov al, byte [edi + esi + 1]
mov cl, byte [esi + edi]
push eax
push ecx
mov ecx, ebp
call fcn.00407bf0
mov bl, al
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
mov edx, dword [esp + 0x24]
push edx
call fcn.0041d4d0
mov dl, byte [esp + 0x78]
mov eax, dword [esp + 0x20]
add esi, 2
add dl, bl
cmp esi, eax
mov byte [esp + 0x78], dl
jb 0x407e1e
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x78]
mov ebx, eax
shr ebx, 8
add bl, al
mov al, byte [esp + 0x1c]
add bl, cl
mov cl, byte [esi + edi]
add bl, al
mov al, byte [edi + esi + 1]
push eax
push ecx
mov ecx, ebp
neg bl
call fcn.00407bf0
cmp al, bl
jne 0x407ecf
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x40]
push ecx
push 1
push edx
lea ecx, [esp + 0x44]
call fcn.00409780
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push 1
push ecx
lea ecx, [esp + 0x34]
call fcn.00409520
add esi, 2
xor ebx, ebx
mov ecx, dword [esp + 0x7c]
cmp esi, ecx
jb 0x407cd4
jmp 0x407ed1
xor ebx, ebx
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x407ee6
mov ecx, dword [esp + 0x40]
sub ecx, eax
sar ecx, 2
cmp ecx, ebx
jg 0x407f25
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp eax, edi
mov byte [esp + 0x70], 1
mov esi, eax
je 0x407f08
push ebx
mov ecx, esi
call fcn.0040a070
add esi, 4
cmp esi, edi
jne 0x407ef9
mov edx, dword [esp + 0x2c]
push edx
call fcn.004331e6
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push eax
jmp 0x407f77
mov esi, dword [esp + 0x2c]
cmp esi, ebx
jne 0x407f35
mov edi, dword [esp + 0x30]
xor eax, eax
jmp 0x407f40
mov edi, dword [esp + 0x30]
mov eax, edi
sub eax, esi
sar eax, 2
cmp ecx, eax
je 0x407fa3
cmp esi, edi
mov byte [esp + 0x70], 1
je 0x407f5c
push ebx
mov ecx, esi
call fcn.0040a070
add esi, 4
cmp esi, edi
jne 0x407f4d
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004331e6
mov edx, dword [esp + 0x40]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
push edx
call fcn.004331e6
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x70], 0xffffffff
call fcn.0041ceba
xor al, al
jmp 0x4082a7
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
lea esi, [ebp + 0x10]
push ecx
push eax
push eax
call fcn.00409c90
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.004094c0
mov dword [esi + 8], edi
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
lea edi, [ebp + 0x20]
push eax
push ecx
mov ecx, edi
call fcn.00409440
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x38]
lea ebx, [ebp + 0x30]
push ecx
push eax
push eax
call fcn.00409cc0
mov ecx, dword [ebx + 8]
add esp, 0xc
mov dword [esp + 0x7c], eax
push ecx
push eax
mov ecx, ebx
call fcn.004094d0
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 8], eax
push 0
mov edx, dword [ecx]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], edx
call fcn.00409400
push ecx
mov ecx, esp
mov dword [esp + 0x80], esp
push eax
call fcn.0041cb47
lea ecx, [esp + 0x14]
call fcn.0041d132
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 4
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x40804f
xor eax, eax
jmp 0x408058
mov eax, dword [esp + 0x40]
sub eax, ecx
sar eax, 2
mov edx, dword [esp + 0x7c]
dec eax
cmp edx, eax
jae 0x408118
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x78]
lea ecx, [ecx + eax - 4]
call fcn.0041d635
mov ecx, dword [esp + 0x24]
mov edx, eax
mov eax, dword [esp + 0x78]
add edx, dword [eax + ecx - 4]
mov ecx, dword [esp + 0x20]
cmp edx, dword [eax + ecx]
jne 0x4080a7
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
add edx, eax
push edx
call fcn.0041d0c4
jmp 0x4080ff
mov ecx, dword [esi + 8]
lea eax, [esp + 0x14]
push eax
push 1
push ecx
mov ecx, esi
call fcn.00409780
mov eax, dword [edi + 8]
lea edx, [esp + 0x10]
push edx
push 1
push eax
mov ecx, edi
call fcn.00409520
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x78]
mov eax, dword [ecx + edx]
mov ecx, dword [esp + 0x7c]
inc ecx
mov dword [esp + 0x14], eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00409400
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0041cb47
lea ecx, [esp + 0x14]
call fcn.0041d132
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x78]
inc ecx
add eax, 4
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], eax
jmp 0x408043
mov eax, dword [esi + 8]
lea edx, [esp + 0x14]
push edx
push 1
push eax
mov ecx, esi
call fcn.00409780
mov eax, dword [edi + 8]
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov ecx, edi
call fcn.00409520
mov dl, byte [esp + 0x7c]
xor edi, edi
push edi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
xor eax, eax
mov byte [esp + 0x70], 3
mov dword [esp + 0x7c], eax
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x408213
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
cmp eax, edx
jae 0x408213
mov edi, dword [ebp + 0x24]
lea ecx, [edi + eax*4]
call fcn.0041d635
push eax
mov eax, dword [esp + 0x80]
lea ecx, [edi + eax*4]
call fcn.0041d6b4
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, ebp
call fcn.004082c0
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor edi, edi
mov byte [esp + 0x70], 4
mov ecx, dword [edx]
push ecx
push edi
push eax
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x70], 3
cmp eax, edi
je 0x4081e5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4081dc
cmp al, 0xff
je 0x4081dc
dec al
mov byte [ecx], al
jmp 0x4081e5
push ecx
call fcn.004331e6
add esp, 4
mov eax, dword [ebx + 8]
lea edx, [esp + 0x48]
push edx
push 1
push eax
mov ecx, ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
call fcn.00409990
mov eax, dword [esp + 0x7c]
inc eax
xor edi, edi
mov dword [esp + 0x7c], eax
jmp 0x40815c
mov eax, dword [esp + 0x4c]
cmp eax, edi
je 0x408238
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40822f
cmp al, 0xff
je 0x40822f
dec al
mov byte [ecx], al
jmp 0x408238
push ecx
call fcn.004331e6
add esp, 4
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp esi, eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov byte [esp + 0x70], 1
mov ebx, eax
je 0x408269
mov ecx, esi
call fcn.0041ceba
add esi, 4
cmp esi, ebx
jne 0x408257
mov esi, dword [esp + 0x2c]
push esi
call fcn.004331e6
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], edi
push ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call fcn.004331e6
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x70], 0xffffffff
call fcn.0041ceba
mov al, 1
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 8