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

Disassembly:
push 0xffffffffffffffff
push 0x44c618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
mov ebp, ecx
xor eax, eax
push esi
xor ecx, ecx
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov esi, dword [ebp + 0x7c]
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov dword [esp + 0x58], eax
cmp esi, dword [ebp + 0x80]
jbe 0x404f21
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], esi
jmp 0x404f30
mov edi, dword [ebp + 0x80]
lea esi, [ebp + 0x78]
mov dword [esp + 0x18], esi
cmp dword [esi + 4], edi
jbe 0x404f4c
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
test esi, esi
je 0x404f54
cmp esi, esi
je 0x404f5e
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x24], edi
je 0x405359
mov byte [esp + 0x13], 0xf7
test ecx, ecx
je 0x404f8f
mov esi, dword [esp + 0x3c]
mov edx, eax
sub edx, ecx
sub esi, ecx
cmp edx, esi
jae 0x404f8f
lea ecx, [eax + 1]
mov byte [eax], 0xf7
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
jmp 0x40500e
mov ebp, eax
cmp ecx, eax
jbe 0x404f9f
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea ebx, [esp + 0x30]
test ecx, ecx
je 0x404fad
mov edx, eax
sub edx, ecx
jne 0x404fb1
xor esi, esi
jmp 0x404fc1
mov edi, ecx
cmp ecx, eax
jbe 0x404fbd
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov esi, ebp
sub esi, edi
lea eax, [esp + 0x13]
push eax
push 1
push ebp
push ebx
lea ecx, [esp + 0x40]
call fcn.004023e0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edi, eax
cmp eax, ecx
jbe 0x404fef
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea edx, [edi + esi]
cmp edx, ecx
ja 0x404ffa
cmp edx, eax
jae 0x405008
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov byte [esp + 0x13], 0x11
test eax, eax
je 0x405033
mov esi, dword [esp + 0x3c]
mov edx, ecx
sub edx, eax
sub esi, eax
cmp edx, esi
jae 0x405033
mov eax, ecx
mov byte [ecx], 0x11
lea ecx, [eax + 1]
mov dword [esp + 0x38], ecx
jmp 0x4050a8
mov ebp, ecx
cmp eax, ecx
jbe 0x405043
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea ebx, [esp + 0x30]
test eax, eax
je 0x405051
mov edx, ecx
sub edx, eax
jne 0x405055
xor esi, esi
jmp 0x405065
mov edi, eax
cmp eax, ecx
jbe 0x405061
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov esi, ebp
sub esi, edi
lea eax, [esp + 0x13]
push eax
push 1
push ebp
push ebx
lea ecx, [esp + 0x40]
call fcn.004023e0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edi, eax
cmp eax, ecx
jbe 0x405093
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea edx, [edi + esi]
cmp edx, ecx
ja 0x40509e
cmp edx, eax
jae 0x4050ac
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x13], 9
test eax, eax
je 0x4050cf
mov esi, dword [esp + 0x3c]
mov edx, ecx
sub edx, eax
sub esi, eax
cmp edx, esi
jae 0x4050cf
lea eax, [ecx + 1]
mov byte [ecx], 9
mov dword [esp + 0x38], eax
jmp 0x405148
mov ebp, ecx
cmp eax, ecx
jbe 0x4050e3
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea ebx, [esp + 0x30]
test eax, eax
je 0x4050f1
mov edx, ecx
sub edx, eax
jne 0x4050f5
xor esi, esi
jmp 0x405105
mov edi, eax
cmp eax, ecx
jbe 0x405101
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov esi, ebp
sub esi, edi
lea eax, [esp + 0x13]
push eax
push 1
push ebp
push ebx
lea ecx, [esp + 0x40]
call fcn.004023e0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov edi, ecx
cmp ecx, eax
jbe 0x405133
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea edx, [edi + esi]
cmp edx, eax
ja 0x40513e
cmp edx, ecx
jae 0x40514c
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov byte [esp + 0x13], 0
test ecx, ecx
je 0x405175
mov esi, dword [esp + 0x3c]
mov edx, eax
sub edx, ecx
sub esi, ecx
cmp edx, esi
jae 0x405175
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea ecx, [eax + 1]
mov byte [eax], 0
mov dword [esp + 0x38], ecx
jmp 0x4051ec
mov ebp, eax
cmp ecx, eax
jbe 0x405189
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea ebx, [esp + 0x30]
test ecx, ecx
je 0x405197
mov edx, eax
sub edx, ecx
jne 0x40519b
xor esi, esi
jmp 0x4051ab
mov edi, ecx
cmp ecx, eax
jbe 0x4051a7
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov esi, ebp
sub esi, edi
lea eax, [esp + 0x13]
push eax
push 1
push ebp
push ebx
lea ecx, [esp + 0x40]
call fcn.004023e0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov edi, eax
cmp eax, ecx
jbe 0x4051db
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea edx, [edi + esi]
cmp edx, ecx
ja 0x4051e6
cmp edx, eax
jae 0x4051f0
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x405202
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
cmp edi, dword [esi + 8]
jb 0x405215
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40523a
mov esi, dword [esp + 0x3c]
mov edx, ecx
sub edx, eax
sub esi, eax
cmp edx, esi
jae 0x40523a
mov dl, byte [edi]
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea eax, [ecx + 1]
mov byte [ecx], dl
mov dword [esp + 0x38], eax
jmp 0x4052a5
mov edi, ecx
cmp eax, ecx
jbe 0x40524a
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea ebx, [esp + 0x30]
test eax, eax
je 0x405258
mov edx, ecx
sub edx, eax
jne 0x40525c
xor esi, esi
jmp 0x40526c
mov ebp, eax
cmp eax, ecx
jbe 0x405268
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov esi, edi
sub esi, ebp
mov eax, dword [esp + 0x24]
push eax
push 1
push edi
push ebx
lea ecx, [esp + 0x40]
call fcn.004023e0
mov eax, dword [esp + 0x34]
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov edi, eax
cmp eax, dword [esp + 0x38]
jbe 0x405296
call ebx
mov eax, dword [esp + 0x34]
lea ecx, [edi + esi]
cmp ecx, dword [esp + 0x38]
ja 0x4052a3
cmp ecx, eax
jae 0x4052a5
call ebx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xea60
push ecx
call fcn.00403b90
lea edx, [esp + 0x48]
add esp, 8
push edx
call fcn.00403940
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x30]
add esp, 0x14
lea eax, [esp + 0x30]
push eax
call fcn.00409310
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edi, eax
cmp ecx, eax
jbe 0x4052f2
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov esi, ecx
cmp ecx, eax
jbe 0x405302
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp esi, edi
je 0x40532c
sub eax, edi
lea ebp, [eax + esi]
test eax, eax
jle 0x405320
push eax
push edi
push eax
push esi
call dword [sym.imp.MSVCR80.DLL_memmove_s]
mov ecx, dword [esp + 0x44]
add esp, 0x10
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov eax, ebp
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
cmp esi, dword [edx + 0x80]
jb 0x405346
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
inc dword [esp + 0x24]
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov ebp, dword [esp + 0x14]
jmp 0x404f30
mov ecx, dword [ebp + 0x30]
lea edx, [ebp + 0x88]
push edx
call fcn.00409310
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x405736
mov eax, dword [ebp + 0x80]
sub eax, ecx
je 0x405736
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov esi, dword [esp + 0x34]
cmp esi, eax
mov eax, dword [esp + 0x38]
mov byte [esp + 0x58], 1
mov byte [esp + 0x13], 0xf7
je 0x4053c3
mov edx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, esi
sub edx, esi
cmp ecx, edx
jae 0x4053c3
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov byte [eax], 0xf7
inc eax
mov dword [esp + 0x38], eax
jmp 0x4053ec
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov edi, eax
cmp esi, eax
jbe 0x4053d1
call ebx
lea ecx, [esp + 0x13]
push ecx
lea eax, [esp + 0x34]
push edi
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00402f30
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov byte [esp + 0x13], 0x10
test esi, esi
je 0x405411
mov edx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, esi
sub edx, esi
cmp ecx, edx
jae 0x405411
mov byte [eax], 0x10
inc eax
mov dword [esp + 0x38], eax
jmp 0x405434
mov edi, eax
cmp esi, eax
jbe 0x405419
call ebx
lea ecx, [esp + 0x13]
push ecx
lea eax, [esp + 0x34]
push edi
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00402f30
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov byte [esp + 0x13], 0
test esi, esi
je 0x405459
mov edx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, esi
sub edx, esi
cmp ecx, edx
jae 0x405459
mov byte [eax], 0
inc eax
mov dword [esp + 0x38], eax
jmp 0x40547c
mov edi, eax
cmp esi, eax
jbe 0x405461
call ebx
lea ecx, [esp + 0x13]
push ecx
lea eax, [esp + 0x34]
push edi
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00402f30
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov byte [esp + 0x13], 0
test esi, esi
je 0x4054a1
mov edx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, esi
sub edx, esi
cmp ecx, edx
jae 0x4054a1
mov byte [eax], 0
inc eax
mov dword [esp + 0x38], eax
jmp 0x4054c4
mov edi, eax
cmp esi, eax
jbe 0x4054a9
call ebx
lea ecx, [esp + 0x13]
push ecx
lea eax, [esp + 0x34]
push edi
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00402f30
mov eax, dword [esp + 0x38]
mov edx, dword [ebp + 0x7c]
test edx, edx
jne 0x4054cf
xor bl, bl
jmp 0x4054d7
mov ebx, dword [ebp + 0x80]
sub bl, dl
mov esi, dword [esp + 0x34]
mov byte [esp + 0x13], bl
test esi, esi
je 0x405502
mov edx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, esi
sub edx, esi
cmp ecx, edx
jae 0x405502
mov byte [eax], bl
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea ecx, [eax + 1]
mov dword [esp + 0x38], ecx
jmp 0x40552b
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov edi, eax
cmp esi, eax
jbe 0x405510
call ebx
lea ecx, [esp + 0x13]
push ecx
lea eax, [esp + 0x34]
push edi
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00402f30
mov ecx, dword [esp + 0x38]
mov esi, dword [ebp + 0x7c]
cmp esi, dword [ebp + 0x80]
jbe 0x40553c
call ebx
mov ecx, dword [esp + 0x38]
mov ebp, esi
mov dword [esp + 0x24], ebp
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0x80]
add edi, 0x78
cmp dword [edi + 4], esi
jbe 0x40555a
call ebx
mov ecx, dword [esp + 0x38]
test edi, edi
jne 0x405564
call ebx
mov ecx, dword [esp + 0x38]
cmp ebp, esi
je 0x405663
test edi, edi
jne 0x405576
call ebx
mov ecx, dword [esp + 0x38]
cmp ebp, dword [edi + 8]
jb 0x405581
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4055a5
mov esi, dword [esp + 0x3c]
mov edx, ecx
sub edx, eax
sub esi, eax
cmp edx, esi
jae 0x4055a5
mov dl, byte [ebp]
lea eax, [ecx + 1]
mov byte [ecx], dl
mov dword [esp + 0x38], eax
jmp 0x405612
mov edi, ecx
cmp eax, ecx
jbe 0x4055b5
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea ebx, [esp + 0x30]
test eax, eax
je 0x4055c3
mov edx, ecx
sub edx, eax
jne 0x4055c7
xor esi, esi
jmp 0x4055d7
mov ebp, eax
cmp eax, ecx
jbe 0x4055d3
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov esi, edi
sub esi, ebp
mov eax, dword [esp + 0x24]
push eax
push 1
push edi
push ebx
lea ecx, [esp + 0x40]
call fcn.004023e0
mov eax, dword [esp + 0x34]
mov edi, eax
cmp eax, dword [esp + 0x38]
jbe 0x4055ff
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
lea ecx, [edi + esi]
cmp ecx, dword [esp + 0x38]
ja 0x40560c
cmp ecx, eax
jae 0x405612
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xea60
push ecx
call fcn.00403b90
lea edx, [esp + 0x48]
add esp, 8
push edx
call fcn.00403940
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp ecx, dword [eax + 0x80]
jb 0x40564c
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
inc dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x24]
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
jmp 0x405542
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x40566f
xor ecx, ecx
jmp 0x405671
sub ecx, eax
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00403ac0
add esp, 8
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 2
call fcn.00402060
mov eax, dword [esp + 0x24]
mov byte [esp + 0x58], 1
test eax, eax
je 0x4056a4
push eax
call sub.MSVCR80.DLL_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4056b4
mov ecx, dword [esp + 0x48]
sub ecx, eax
jne 0x4056ba
call ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov esi, eax
test ecx, ecx
je 0x4056cf
mov eax, dword [esp + 0x38]
sub eax, ecx
cmp eax, 2
ja 0x4056d5
call ebx
mov ecx, dword [esp + 0x34]
mov dl, byte [esi]
mov byte [ecx + 2], dl
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4056ed
mov eax, dword [esp + 0x48]
sub eax, ecx
cmp eax, 1
ja 0x4056f3
call ebx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
lea esi, [ecx + 1]
test eax, eax
je 0x405709
mov ecx, dword [esp + 0x38]
sub ecx, eax
cmp ecx, 3
ja 0x40570f
call ebx
mov eax, dword [esp + 0x34]
mov cl, byte [esi]
mov byte [eax + 3], cl
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x30]
lea edx, [esp + 0x30]
push edx
call fcn.00409310
mov eax, dword [esp + 0x44]
test eax, eax
je 0x405736
push eax
call sub.MSVCR80.DLL_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x405747
push eax
call sub.MSVCR80.DLL_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x4c
ret