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

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [edi + 0xc]
cmp dword [edi + 8], ebp
lea ebx, [edi + 4]
mov dword [esp + 0x20], edi
jbe 0x4362c1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x4362cf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebp
push ebx
push esi
push ebx
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call fcn.00434160
mov ebp, dword [ebx + 8]
cmp dword [ebx + 4], ebp
jbe 0x4362ed
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 4]
mov esi, dword [ecx]
mov dword [esp + 0x18], ebx
lea ecx, [ecx]
mov edx, dword [eax + 4]
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x10], ecx
je 0x436315
cmp ecx, eax
je 0x43631b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x60]
je 0x436618
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
mov dword [esp + 0x64], eax
jbe 0x436337
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x436343
cmp eax, ebx
je 0x436349
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebp, dword [esp + 0x64]
jne 0x4363e9
cmp dword [esp + 0x10], 0
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x436362
call ebp
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 4]
jne 0x43636d
call ebp
xor ecx, ecx
cmp dword [esi + 0xc], ecx
jl 0x4364cb
jg 0x436383
cmp dword [esi + 8], ecx
jbe 0x4364cb
add dword [edi], 1
mov eax, dword [edi]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x10]
cmp esi, dword [ecx + 4]
mov byte [esp + 0x48], 1
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], 3
jne 0x4363bc
call ebp
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, 1
sbb ecx, 0
lea edx, [esp + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
push edx
mov ecx, ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
call fcn.004361f0
jmp 0x4364cb
cmp dword [esp + 0x18], 0
jne 0x4363f6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
cmp ebp, dword [eax + 8]
jb 0x436405
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x10], 0
jne 0x436412
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x10]
cmp esi, dword [ecx + 4]
jne 0x436421
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
add ecx, 1
mov edx, 0
adc eax, edx
cmp eax, dword [esi + 0xc]
jg 0x4364c5
jl 0x436445
cmp ecx, dword [esi + 8]
jae 0x4364c5
add dword [edi], 1
mov eax, dword [edi]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x18]
cmp ebp, dword [edx + 8]
mov byte [esp + 0x48], 1
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], 3
jb 0x43647a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x10]
add eax, 1
adc ecx, 0
cmp esi, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
jne 0x43649d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, 1
sbb ecx, 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
push eax
mov ecx, ebx
call fcn.004361f0
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add dword [edi], 1
mov ecx, dword [esp + 0x10]
mov edi, dword [edi]
xor eax, eax
cmp esi, dword [ecx + 4]
mov byte [esp + 0x90], 1
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x6c], edi
mov dword [esp + 0x8c], 1
jne 0x43650d
call ebp
mov ecx, dword [esp + 0x10]
cmp esi, dword [ecx + 4]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
jne 0x436526
call ebp
mov edx, dword [esp + 0x10]
cmp esi, dword [edx + 4]
jne 0x436531
call ebp
mov edi, dword [esi + 0x18]
add edi, dword [esi + 8]
mov ebp, dword [esi + 0x1c]
adc ebp, dword [esi + 0xc]
mov eax, dword [esp + 0xa8]
sub edi, 1
sbb ebp, 0
cmp esi, dword [eax + 4]
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], ebp
jne 0x436563
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
add edi, 1
adc ebp, 0
cmp ebp, eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
jl 0x43658f
jg 0x436584
cmp edi, ecx
jbe 0x43658f
mov dword [esp + 0x8c], 3
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call fcn.004361f0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4365a6
xor edi, edi
jmp 0x4365be
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov edi, edx
shr edi, 0x1f
add edi, edx
mov ebp, dword [ebx + 4]
cmp ebp, dword [ebx + 8]
jbe 0x4365cc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add edi, 0xffffffff
lea ecx, [edi*8]
sub ecx, edi
mov dword [esp + 0x68], ebp
lea ebp, [ebp + ecx*8]
cmp ebp, dword [ebx + 8]
ja 0x4365ea
cmp ebp, dword [ebx + 4]
jae 0x4365f0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0xa8]
cmp esi, dword [eax + 4]
mov dword [esp + 0x18], ebx
jne 0x436606
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xa8]
jmp 0x436300
cmp dword [edi + 0x1c], 0
jl 0x43672f
jg 0x43662e
cmp dword [edi + 0x18], 0
jbe 0x43672f
mov eax, dword [ebx + 4]
test eax, eax
je 0x43672f
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x43672f
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jbe 0x436667
call ebp
cmp esi, dword [ebx + 4]
mov dword [esp + 0x60], esi
ja 0x436678
call ebp
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, 0xffffffc8
cmp esi, dword [ebx + 8]
jb 0x436682
call ebp
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0x1c]
mov edx, dword [esi + 0x14]
sub ecx, 1
sbb eax, 0
cmp edx, eax
jg 0x43672f
jl 0x4366a6
mov eax, dword [esi + 0x10]
cmp eax, ecx
jae 0x43672f
add dword [edi], 1
mov esi, dword [ebx + 8]
xor eax, eax
cmp dword [ebx + 4], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [edi]
mov byte [esp + 0x48], 1
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x24], eax
mov dword [esp + 0x44], 3
jbe 0x4366d8
call ebp
cmp esi, dword [ebx + 4]
mov dword [esp + 0x60], esi
ja 0x4366e9
call ebp
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, 0xffffffc8
cmp esi, dword [ebx + 8]
jb 0x4366f3
call ebp
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + 0x18]
mov edx, dword [esi + 0x14]
mov edi, dword [edi + 0x1c]
add ecx, 1
adc edx, 0
sub eax, 1
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
sbb edi, 0
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
call fcn.004361f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 4