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

Disassembly:
push 0xffffffffffffffff
push 0x441918
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 0x404f01
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], esi
jmp 0x404f10
mov edi, dword [ebp + 0x80]
lea esi, [ebp + 0x78]
mov dword [esp + 0x18], esi
cmp dword [esi + 4], edi
jbe 0x404f2c
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
test esi, esi
je 0x404f34
cmp esi, esi
je 0x404f3e
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x24], edi
je 0x405339
mov byte [esp + 0x13], 0xf7
test ecx, ecx
je 0x404f6f
mov esi, dword [esp + 0x3c]
mov edx, eax
sub edx, ecx
sub esi, ecx
cmp edx, esi
jae 0x404f6f
lea ecx, [eax + 1]
mov byte [eax], 0xf7
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
jmp 0x404fee
mov ebp, eax
cmp ecx, eax
jbe 0x404f7f
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea ebx, [esp + 0x30]
test ecx, ecx
je 0x404f8d
mov edx, eax
sub edx, ecx
jne 0x404f91
xor esi, esi
jmp 0x404fa1
mov edi, ecx
cmp ecx, eax
jbe 0x404f9d
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.004023c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edi, eax
cmp eax, ecx
jbe 0x404fcf
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 0x404fda
cmp edx, eax
jae 0x404fe8
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 0x405013
mov esi, dword [esp + 0x3c]
mov edx, ecx
sub edx, eax
sub esi, eax
cmp edx, esi
jae 0x405013
mov eax, ecx
mov byte [ecx], 0x11
lea ecx, [eax + 1]
mov dword [esp + 0x38], ecx
jmp 0x405088
mov ebp, ecx
cmp eax, ecx
jbe 0x405023
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea ebx, [esp + 0x30]
test eax, eax
je 0x405031
mov edx, ecx
sub edx, eax
jne 0x405035
xor esi, esi
jmp 0x405045
mov edi, eax
cmp eax, ecx
jbe 0x405041
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.004023c0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edi, eax
cmp eax, ecx
jbe 0x405073
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 0x40507e
cmp edx, eax
jae 0x40508c
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 0x4050af
mov esi, dword [esp + 0x3c]
mov edx, ecx
sub edx, eax
sub esi, eax
cmp edx, esi
jae 0x4050af
lea eax, [ecx + 1]
mov byte [ecx], 9
mov dword [esp + 0x38], eax
jmp 0x405128
mov ebp, ecx
cmp eax, ecx
jbe 0x4050c3
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 0x4050d1
mov edx, ecx
sub edx, eax
jne 0x4050d5
xor esi, esi
jmp 0x4050e5
mov edi, eax
cmp eax, ecx
jbe 0x4050e1
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.004023c0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov edi, ecx
cmp ecx, eax
jbe 0x405113
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 0x40511e
cmp edx, ecx
jae 0x40512c
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 0x405155
mov esi, dword [esp + 0x3c]
mov edx, eax
sub edx, ecx
sub esi, ecx
cmp edx, esi
jae 0x405155
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea ecx, [eax + 1]
mov byte [eax], 0
mov dword [esp + 0x38], ecx
jmp 0x4051cc
mov ebp, eax
cmp ecx, eax
jbe 0x405169
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 0x405177
mov edx, eax
sub edx, ecx
jne 0x40517b
xor esi, esi
jmp 0x40518b
mov edi, ecx
cmp ecx, eax
jbe 0x405187
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.004023c0
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 0x4051bb
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea edx, [edi + esi]
cmp edx, ecx
ja 0x4051c6
cmp edx, eax
jae 0x4051d0
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x4051e2
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
cmp edi, dword [esi + 8]
jb 0x4051f5
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40521a
mov esi, dword [esp + 0x3c]
mov edx, ecx
sub edx, eax
sub esi, eax
cmp edx, esi
jae 0x40521a
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 0x405285
mov edi, ecx
cmp eax, ecx
jbe 0x40522a
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea ebx, [esp + 0x30]
test eax, eax
je 0x405238
mov edx, ecx
sub edx, eax
jne 0x40523c
xor esi, esi
jmp 0x40524c
mov ebp, eax
cmp eax, ecx
jbe 0x405248
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.004023c0
mov eax, dword [esp + 0x34]
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov edi, eax
cmp eax, dword [esp + 0x38]
jbe 0x405276
call ebx
mov eax, dword [esp + 0x34]
lea ecx, [edi + esi]
cmp ecx, dword [esp + 0x38]
ja 0x405283
cmp ecx, eax
jae 0x405285
call ebx
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xea60
push ecx
call fcn.00403b70
lea edx, [esp + 0x48]
add esp, 8
push edx
call fcn.00403920
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + 0x30]
add esp, 0x14
lea eax, [esp + 0x30]
push eax
call fcn.004092f0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edi, eax
cmp ecx, eax
jbe 0x4052d2
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov esi, ecx
cmp ecx, eax
jbe 0x4052e2
call ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp esi, edi
je 0x40530c
sub eax, edi
lea ebp, [eax + esi]
test eax, eax
jle 0x405300
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 0x405326
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 0x404f10
mov ecx, dword [ebp + 0x30]
lea edx, [ebp + 0x88]
push edx
call fcn.004092f0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x405716
mov eax, dword [ebp + 0x80]
sub eax, ecx
je 0x405716
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 0x4053a3
mov edx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, esi
sub edx, esi
cmp ecx, edx
jae 0x4053a3
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov byte [eax], 0xf7
inc eax
mov dword [esp + 0x38], eax
jmp 0x4053cc
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov edi, eax
cmp esi, eax
jbe 0x4053b1
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.00402f10
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov byte [esp + 0x13], 0x10
test esi, esi
je 0x4053f1
mov edx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, esi
sub edx, esi
cmp ecx, edx
jae 0x4053f1
mov byte [eax], 0x10
inc eax
mov dword [esp + 0x38], eax
jmp 0x405414
mov edi, eax
cmp esi, eax
jbe 0x4053f9
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.00402f10
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov byte [esp + 0x13], 0
test esi, esi
je 0x405439
mov edx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, esi
sub edx, esi
cmp ecx, edx
jae 0x405439
mov byte [eax], 0
inc eax
mov dword [esp + 0x38], eax
jmp 0x40545c
mov edi, eax
cmp esi, eax
jbe 0x405441
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.00402f10
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov byte [esp + 0x13], 0
test esi, esi
je 0x405481
mov edx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, esi
sub edx, esi
cmp ecx, edx
jae 0x405481
mov byte [eax], 0
inc eax
mov dword [esp + 0x38], eax
jmp 0x4054a4
mov edi, eax
cmp esi, eax
jbe 0x405489
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.00402f10
mov eax, dword [esp + 0x38]
mov edx, dword [ebp + 0x7c]
test edx, edx
jne 0x4054af
xor bl, bl
jmp 0x4054b7
mov ebx, dword [ebp + 0x80]
sub bl, dl
mov esi, dword [esp + 0x34]
mov byte [esp + 0x13], bl
test esi, esi
je 0x4054e2
mov edx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, esi
sub edx, esi
cmp ecx, edx
jae 0x4054e2
mov byte [eax], bl
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea ecx, [eax + 1]
mov dword [esp + 0x38], ecx
jmp 0x40550b
mov ebx, dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov edi, eax
cmp esi, eax
jbe 0x4054f0
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.00402f10
mov ecx, dword [esp + 0x38]
mov esi, dword [ebp + 0x7c]
cmp esi, dword [ebp + 0x80]
jbe 0x40551c
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 0x40553a
call ebx
mov ecx, dword [esp + 0x38]
test edi, edi
jne 0x405544
call ebx
mov ecx, dword [esp + 0x38]
cmp ebp, esi
je 0x405643
test edi, edi
jne 0x405556
call ebx
mov ecx, dword [esp + 0x38]
cmp ebp, dword [edi + 8]
jb 0x405561
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x405585
mov esi, dword [esp + 0x3c]
mov edx, ecx
sub edx, eax
sub esi, eax
cmp edx, esi
jae 0x405585
mov dl, byte [ebp]
lea eax, [ecx + 1]
mov byte [ecx], dl
mov dword [esp + 0x38], eax
jmp 0x4055f2
mov edi, ecx
cmp eax, ecx
jbe 0x405595
call ebx
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea ebx, [esp + 0x30]
test eax, eax
je 0x4055a3
mov edx, ecx
sub edx, eax
jne 0x4055a7
xor esi, esi
jmp 0x4055b7
mov ebp, eax
cmp eax, ecx
jbe 0x4055b3
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.004023c0
mov eax, dword [esp + 0x34]
mov edi, eax
cmp eax, dword [esp + 0x38]
jbe 0x4055df
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
lea ecx, [edi + esi]
cmp ecx, dword [esp + 0x38]
ja 0x4055ec
cmp ecx, eax
jae 0x4055f2
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.00403b70
lea edx, [esp + 0x48]
add esp, 8
push edx
call fcn.00403920
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp ecx, dword [eax + 0x80]
jb 0x40562c
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 0x405522
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x40564f
xor ecx, ecx
jmp 0x405651
sub ecx, eax
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00403aa0
add esp, 8
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x5c], 2
call fcn.00402040
mov eax, dword [esp + 0x24]
mov byte [esp + 0x58], 1
test eax, eax
je 0x405684
push eax
call sub.MSVCR80.DLL_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x405694
mov ecx, dword [esp + 0x48]
sub ecx, eax
jne 0x40569a
call ebx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x34]
mov esi, eax
test ecx, ecx
je 0x4056af
mov eax, dword [esp + 0x38]
sub eax, ecx
cmp eax, 2
ja 0x4056b5
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 0x4056cd
mov eax, dword [esp + 0x48]
sub eax, ecx
cmp eax, 1
ja 0x4056d3
call ebx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
lea esi, [ecx + 1]
test eax, eax
je 0x4056e9
mov ecx, dword [esp + 0x38]
sub ecx, eax
cmp ecx, 3
ja 0x4056ef
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.004092f0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x405716
push eax
call sub.MSVCR80.DLL_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x405727
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