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

Disassembly:
push 0xffffffffffffffff
push 0x43d27a
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f008]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x144], 1
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
cmp dword [esi + 4], 0
lea ebp, [esi + 4]
mov byte [esp + 0x23], 0
mov dword [esp + 0x48], ebp
mov ebx, 0x4a4418
jne 0x417df7
push 0x14
push 0x10
call fcn.00420870
add esp, 8
xor ecx, ecx
cmp eax, ecx
je 0x417d93
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
jmp 0x417d95
xor eax, eax
mov byte [esp + 0x144], 1
mov edx, dword [0x44f27c]
test edx, edx
mov edi, dword [0x44f280]
mov dword [ebp], eax
mov dword [esp + 0x6c], ebx
je 0x417dea
mov ecx, dword [0x44f284]
mov eax, edi
sub eax, edx
sub ecx, edx
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x417dea
mov ecx, dword [ebp]
mov eax, edi
add eax, 4
mov dword [edi], ecx
mov byte [esp + 0x46], 0
mov byte [esp + 0x4f], 0
mov byte [esp + 0x4e], 0
mov dword [0x44f280], eax
jmp 0x417df7
push edi
push 0x44f278
mov eax, ebp
call fcn.00419370
mov eax, dword [ebp]
lea edi, [esi + 8]
mov dword [eax + 0x10], 0
cmp dword [edi], 0
mov dword [esp + 0x54], edi
jne 0x417e95
push 0x14
push 0x10
call fcn.00420870
add esp, 8
xor ebp, ebp
cmp eax, ebp
je 0x417e31
mov dword [eax + 4], ebp
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
jmp 0x417e33
xor eax, eax
mov byte [esp + 0x144], 1
mov edx, dword [0x44f27c]
cmp edx, ebp
mov esi, dword [0x44f280]
mov dword [edi], eax
mov dword [esp + 0x70], ebx
je 0x417e86
mov ecx, dword [0x44f284]
mov eax, esi
sub eax, edx
sub ecx, edx
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x417e86
mov edx, dword [edi]
mov eax, esi
add eax, 4
mov dword [esi], edx
mov byte [esp + 0x47], 0
mov byte [esp + 0x45], 0
mov byte [esp + 0x44], 0
mov dword [0x44f280], eax
jmp 0x417e97
push esi
push 0x44f278
mov eax, edi
call fcn.00419370
jmp 0x417e97
xor ebp, ebp
mov eax, dword [edi]
mov dword [eax + 0x10], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov byte [esp + 0x144], 4
mov esi, dword [esp + 0x154]
cmp esi, ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], esi
je 0x417eca
add dword [esi + 4], 1
mov esi, dword [esp + 0x154]
cmp esi, ebp
mov dword [esp + 0x28], esi
je 0x417edd
add dword [esi + 4], 1
mov esi, dword [esp + 0x154]
xor ebp, ebp
cmp esi, ebp
mov dword [esp + 0x2c], ebp
je 0x417ef7
add dword [esi + 4], 0xffffffff
jne 0x417ef7
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x60], ebp
mov byte [esp + 0x144], 6
mov eax, dword [esi + 0xc]
add esi, 0x10
cmp dword [esi], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], esi
ja 0x417f19
xor bl, bl
jmp 0x417f1b
mov bl, byte [eax]
mov edi, dword [esp + 0x30]
nop
cmp bl, 0x20
je 0x417f38
cmp bl, 9
je 0x417f38
cmp bl, 0xd
je 0x417f38
cmp bl, 0xa
jne 0x417fc4
mov esi, dword [esp + 0x3c]
mov ecx, dword [esi]
cmp ebp, ecx
jae 0x417fb6
add ebp, 1
cmp ebp, ecx
mov dword [esp + 0x2c], ebp
jae 0x417fb6
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov al, byte [eax + ebp]
cmp al, 0x20
je 0x417f67
cmp al, 9
je 0x417f67
cmp al, 0xd
je 0x417f67
cmp al, 0xa
jne 0x417f72
cmp ebp, ecx
jae 0x417f72
add ebp, 1
cmp ebp, ecx
jb 0x417f51
mov dword [esp + 0x2c], ebp
cmp ebp, ecx
jb 0x417fbc
xor bl, bl
mov ecx, dword [esi]
cmp ebp, ecx
jb 0x41840c
test edi, edi
je 0x4183e2
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0xc8]
push eax
mov ecx, edi
call edx
or dword [esp + 0x24], 2
cmp dword [eax + 0x18], 0x10
jb 0x4183dd
mov eax, dword [eax + 4]
jmp 0x4183e7
mov edx, dword [esp + 0x28]
jmp 0x417f76
mov eax, dword [edx + 0xc]
mov bl, byte [eax + ebp]
jmp 0x417fcc
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
cmp bl, 0x3c
jne 0x417f7c
mov ecx, dword [esi]
cmp ebp, ecx
jae 0x41802a
add ebp, 1
cmp ebp, ecx
mov dword [esp + 0x2c], ebp
jae 0x41802a
mov eax, dword [edx + 0xc]
mov al, byte [eax + ebp]
cmp al, 0x21
jne 0x418009
push edi
lea ecx, [esp + 0x2c]
call fcn.00417910
mov ebp, dword [esp + 0x30]
add esp, 4
test al, al
sete byte [esp + 0x23]
jmp 0x4183b4
cmp al, 0x3f
jne 0x418026
lea eax, [esp + 0x28]
call fcn.00417c70
mov ebp, dword [esp + 0x2c]
test al, al
sete byte [esp + 0x23]
jmp 0x4183b4
cmp ebp, ecx
jb 0x41802e
xor al, al
jmp 0x418034
mov eax, dword [edx + 0xc]
mov al, byte [eax + ebp]
cmp al, 0x2f
sete dl
test dl, dl
je 0x418048
cmp ebp, ecx
jae 0x418048
add ebp, 1
mov dword [esp + 0x2c], ebp
cmp ebp, ecx
mov eax, dword [esp + 0x40]
lea edi, [eax + ebp]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
jae 0x4180c2
lea ebx, [ebx]
mov bl, byte [eax + ebp]
add ebp, 1
cmp bl, 0x3e
je 0x418082
cmp ebp, ecx
jb 0x418060
mov dword [esp + 0x2c], ebp
call fcn.00411140
mov byte [esp + 0x23], 1
jmp 0x4183b4
lea ebx, [eax + ebp - 1]
test ebx, ebx
mov dword [esp + 0x2c], ebp
je 0x4180c2
cmp ebx, edi
mov byte [ebx], 0
jbe 0x4180af
mov al, byte [ebx - 1]
cmp al, 0x20
je 0x4180a8
cmp al, 9
je 0x4180a8
cmp al, 0xd
je 0x4180a8
cmp al, 0xa
jne 0x4180af
add ebx, 0xffffffff
cmp ebx, edi
ja 0x418095
mov esi, dword [esp + 0x30]
test esi, esi
mov byte [ebx], 0
jne 0x418169
test dl, dl
je 0x4180d1
call fcn.00411140
mov byte [esp + 0x23], 1
jmp 0x4183b4
push 0x6c
push 0x10
call fcn.00420870
add esp, 8
mov dword [esp + 0x58], eax
test eax, eax
mov byte [esp + 0x144], 7
je 0x4180f8
push edi
push eax
call fcn.00415b90
mov esi, eax
jmp 0x4180fa
xor esi, esi
test esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x58], esi
je 0x41810e
add dword [esi + 4], 1
mov ebp, dword [esp + 0x2c]
mov byte [esp + 0x144], 8
mov ecx, dword [esp + 0x38]
cmp ecx, esi
je 0x418140
test esi, esi
mov dword [esp + 0x38], esi
je 0x41812e
add dword [esi + 4], 1
mov ebp, dword [esp + 0x2c]
test ecx, ecx
je 0x418140
add dword [ecx + 4], 0xffffffff
jne 0x418140
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
test esi, esi
mov byte [esp + 0x144], 6
je 0x41815c
add dword [esi + 4], 0xffffffff
jne 0x41815c
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x58], 0
jmp 0x4183b4
test dl, dl
je 0x41826f
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x90]
push eax
mov ecx, esi
call edx
push edi
push eax
mov byte [esp + 0x14c], 9
call dword [sym.imp.MSVCP80.dll_bool___cdecl_std::operator__char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
add esp, 8
lea ecx, [esp + 0x90]
mov bl, al
mov byte [esp + 0x144], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x4181ed
mov ebx, dword [esi + 8]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4181b8
sub eax, edx
mov esi, eax
push esi
push edi
push ebx
call dword [sym.imp.MSVCR80.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4186e6
mov al, byte [esi + ebx]
call fcn.004178b0
test al, al
je 0x4186e6
mov byte [esi + ebx], 0
mov ebx, dword [esp + 0x54]
mov eax, dword [ebx]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 4]
mov esi, dword [esp + 0x30]
lea ecx, [ecx + edx*4]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x10]
lea eax, [edx + eax*4]
mov edx, dword [esi + 0x68]
lea edi, [esi + 0x68]
add edx, edx
add edx, edx
sub eax, edx
mov edx, dword [esp + 0x64]
push edx
push ecx
add esi, 0x54
push eax
call fcn.00419d40
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x10]
sub eax, dword [edi]
mov dword [ecx + 0x10], eax
lea eax, [esp + 0x154]
push eax
mov ecx, edi
mov dword [edi], 0
call fcn.0040afa0
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
cmp dword [eax + 0x10], 0
je 0x418262
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0x10]
mov edx, dword [ecx + edx*4 - 4]
add dword [eax + 0x10], 0xffffffff
jmp 0x4183b0
mov dword [esp + 0x30], 0
jmp 0x4183b4
mov eax, edi
mov byte [esp + 0x37], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x418280
sub eax, edx
mov esi, eax
cmp byte [esi + edi - 1], 0x2f
jne 0x41829d
mov byte [esi + edi - 1], cl
mov byte [esp + 0x37], 1
push 0x6c
push 0x10
call fcn.00420870
add esp, 8
mov dword [esp + 0x5c], eax
test eax, eax
mov byte [esp + 0x144], 0xa
je 0x4182c6
push edi
push eax
call fcn.00415b90
mov dword [esp + 0x3c], eax
jmp 0x4182ce
mov dword [esp + 0x3c], 0
cmp byte [esp + 0x37], 0
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x144], 6
mov dword [esp + 0x5c], eax
je 0x4182ea
mov byte [esi + edi - 1], 0x2f
mov ecx, dword [esp + 0x54]
mov esi, dword [ecx]
lea eax, [esp + 0x5c]
call fcn.00418f30
mov eax, dword [esp + 0x30]
add dword [eax + 0x68], 1
cmp byte [ebx - 1], 0x2f
lea ecx, [ebx - 1]
jne 0x41839d
cmp ecx, edi
jbe 0x41832c
mov al, byte [ecx - 1]
cmp al, 0x20
je 0x418325
cmp al, 9
je 0x418325
cmp al, 0xd
je 0x418325
cmp al, 0xa
jne 0x41832c
add ecx, 0xffffffff
cmp ecx, edi
ja 0x418312
mov byte [ecx], 0
cmp byte [edi], 0
mov esi, edi
je 0x418350
mov al, byte [esi]
cmp al, 0x20
je 0x418350
cmp al, 9
je 0x418350
cmp al, 0xd
je 0x418350
cmp al, 0xa
je 0x418350
add esi, 1
cmp byte [esi], 0
jne 0x418336
cmp byte [esi], 0
je 0x418387
push 0x3d
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
add esp, 8
test eax, eax
je 0x41837e
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x154]
push edx
add ecx, 0x68
mov byte [esi], 0
call fcn.0040afa0
jmp 0x4183b4
push edi
call fcn.00411140
add esp, 4
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x154]
push edx
add ecx, 0x68
call fcn.0040afa0
jmp 0x4183b4
mov ecx, dword [esp + 0x48]
mov esi, dword [ecx]
lea eax, [esp + 0x30]
call fcn.00418f30
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x30]
add eax, 0x10
cmp ebp, dword [eax]
mov dword [esp + 0x3c], eax
jb 0x4183ce
xor bl, bl
jmp 0x4185a3
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
mov bl, byte [eax + ebp]
jmp 0x4185a3
add eax, 4
jmp 0x4183e7
mov eax, str.NULL
push eax
call fcn.00411140
add esp, 4
test byte [esp + 0x24], 2
je 0x41859e
and dword [esp + 0x24], 0xfffffffd
lea ecx, [esp + 0xc8]
jmp 0x418598
test edi, edi
jne 0x41841f
call fcn.00411140
mov byte [esp + 0x23], 1
jmp 0x4185a7
cmp ebp, ecx
mov dword [esp + 0x50], ebp
mov esi, ebp
jae 0x41846a
mov ebx, dword [esp + 0x28]
mov edx, ebp
mov eax, dword [ebx + 0xc]
cmp byte [eax + ebp], 0x3c
je 0x418462
cmp ebp, ecx
jb 0x418440
xor al, al
jmp 0x418449
mov eax, dword [ebx + 0xc]
mov al, byte [eax + ebp]
add ebp, 1
add edx, 1
cmp al, 0x20
je 0x41845e
cmp al, 9
je 0x41845e
cmp al, 0xd
je 0x41845e
cmp al, 0xa
je 0x41845e
mov esi, edx
cmp ebp, ecx
jb 0x41842f
cmp ebp, ecx
mov dword [esp + 0x2c], ebp
jb 0x41846e
xor bl, bl
jmp 0x418478
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
mov bl, byte [eax + ebp]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov byte [esi + ecx], 0
cmp ebp, dword [edx]
jae 0x418558
cmp dword [edi + 0xc], 0
je 0x418541
push 0x4439a3
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0
mov byte [esp + 0x148], 0xb
mov eax, dword [edi]
mov eax, dword [eax + 0x60]
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0xb4]
push edx
mov ecx, edi
call eax
mov esi, eax
mov byte [esp + 0x144], 0xc
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0x100]
push eax
mov ecx, edi
call edx
cmp dword [esi + 0x18], 0x10
jb 0x4184eb
mov esi, dword [esi + 4]
jmp 0x4184ee
add esi, 4
cmp dword [eax + 0x18], 0x10
jb 0x4184f9
mov eax, dword [eax + 4]
jmp 0x4184fc
add eax, 4
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x50]
add ecx, edx
push ecx
push esi
push eax
call fcn.00411140
add esp, 0xc
lea ecx, [esp + 0x100]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xac]
mov byte [esp + 0x144], 0xb
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x144], 6
lea ecx, [esp + 0x74]
jmp 0x418598
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
lea esi, [eax + ecx]
mov ecx, esi
call fcn.0041d820
mov dword [edi + 0xc], esi
jmp 0x4185a3
mov edx, dword [edi]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0xe4]
push eax
mov ecx, edi
call edx
or dword [esp + 0x24], 4
cmp dword [eax + 0x18], 0x10
jb 0x418579
mov eax, dword [eax + 4]
jmp 0x41857c
add eax, 4
push eax
call fcn.00411140
add esp, 4
test byte [esp + 0x24], 4
je 0x41859e
and dword [esp + 0x24], 0xfffffffb
lea ecx, [esp + 0xe4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [esp + 0x23], 1
test edi, edi
jne 0x4185b2
cmp dword [esp + 0x38], 0
jne 0x418792
cmp byte [esp + 0x23], 0
je 0x417f20
test edi, edi
je 0x4185c8
mov dword [edi + 0x68], 0
mov edx, dword [esp + 0x48]
mov eax, dword [edx]
or esi, 0xffffffff
cmp dword [eax + 0x10], 0
je 0x418600
jmp 0x4185e0
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0x10]
mov eax, dword [ecx + eax*4 - 4]
add eax, 0x68
mov dword [eax], 0
mov eax, dword [edx]
add dword [eax + 0x10], esi
mov eax, dword [edx]
cmp dword [eax + 0x10], 0
jne 0x4185e0
xor edi, edi
mov dword [esp + 0x68], edi
mov byte [esp + 0x144], 0xd
mov ecx, dword [esp + 0x38]
cmp ecx, edi
je 0x418627
add dword [ecx + 4], esi
mov dword [esp + 0x38], edi
jne 0x418627
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov byte [esp + 0x144], 6
mov dword [esp + 0x68], edi
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x418659
mov eax, dword [esp + 0x150]
cmp dword [eax + 0x14], 0
je 0x418659
mov dword [ecx + 8], 0
push eax
add ecx, 0x10
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edi, dword [esp + 0x38]
test edi, edi
mov esi, dword [esp + 0x14c]
mov dword [esi], edi
je 0x418672
add dword [edi + 4], 1
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
or dword [esp + 0x24], 1
or ebx, 0xffffffff
mov byte [esp + 0x144], 4
add dword [ecx + 4], ebx
jne 0x418693
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
test edi, edi
mov byte [esp + 0x144], 1
je 0x4186ae
add dword [edi + 4], ebx
jne 0x4186ae
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov byte [esp + 0x144], 0
mov ecx, dword [esp + 0x154]
add dword [ecx + 4], ebx
jne 0x4186ca
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, esi
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x11c]
push edx
call eax
cmp dword [eax + 0x18], 0x10
jb 0x418704
mov eax, dword [eax + 4]
jmp 0x418707
add eax, 4
push edi
push eax
call fcn.00411140
add esp, 8
lea ecx, [esp + 0x11c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x14c]
add dword [esi + 4], 1
add esi, 4
mov dword [edi], 0
or dword [esp + 0x24], 1
mov byte [esp + 0x144], 4
mov ecx, dword [esp + 0x28]
or ebx, 0xffffffff
add dword [ecx + 4], ebx
jne 0x418757
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov byte [esp + 0x144], 1
add dword [esi], ebx
jne 0x41876f
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov byte [esp + 0x144], 0
mov ecx, dword [esp + 0x154]
add dword [ecx + 4], ebx
jne 0x41878b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, edi
jmp 0x4186cc
cmp byte [esp + 0x23], 0
je 0x418633
jmp 0x4185c8