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

Disassembly:
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x14]
lea esi, [edi + 4]
mov dword [esp + 0x18], edi
cmp dword [esi + 0xc], ebx
jbe 0x46d2b1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebp, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x1c], eax
cmp ebp, dword [esi + 0x10]
jbe 0x46d2c5
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esi]
push ebx
push ecx
push ebp
push eax
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call fcn.0046a970
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x46d2e9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax]
mov ebx, ebp
mov ebp, dword [ecx]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x10]
mov esi, dword [eax + 0x14]
mov eax, dword [eax]
test ecx, ecx
je 0x46d314
cmp ecx, eax
je 0x46d31a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, esi
je 0x46d6c1
mov esi, dword [edi + 0x14]
cmp dword [edi + 0x10], esi
jbe 0x46d330
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x5c]
mov eax, dword [edi + 4]
test ecx, ecx
je 0x46d33f
cmp ecx, eax
je 0x46d345
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, esi
jne 0x46d57d
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46d576
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x46d36c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
jl 0x46d3ef
jg 0x46d37a
cmp dword [ebp + 8], ecx
jbe 0x46d3ef
inc dword [edi]
mov eax, dword [edi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x48], 1
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x44], 3
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
cmp eax, ecx
jne 0x46d650
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x46d3c6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 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
lea ecx, [edi + 4]
call fcn.0046d1e0
inc dword [edi]
mov eax, dword [esp + 0x10]
mov edi, dword [edi]
xor ecx, ecx
mov byte [esp + 0x88], 1
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], 0xffffffff
mov dword [esp + 0x64], edi
mov dword [esp + 0x84], 1
cmp eax, ecx
jne 0x46d657
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x46d444
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
test eax, eax
jne 0x46d65e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x46d471
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46d665
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x46d490
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [ebp + 0x18]
add esi, dword [ebp + 8]
mov edi, dword [ebp + 0x1c]
adc edi, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
sub esi, 1
sbb edi, 0
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
test eax, eax
jne 0x46d66c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x46d4cc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
add esi, 1
adc edi, 0
cmp edi, eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
jl 0x46d4f5
jg 0x46d4ea
cmp esi, ecx
jbe 0x46d4f5
mov dword [esp + 0x84], 3
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x64]
add edi, 4
push eax
mov ecx, edi
call fcn.0046d1e0
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov ebx, dword [edi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp ebx, dword [edi + 0x10]
jbe 0x46d52f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 4]
add eax, 4
dec esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
test edi, edi
jne 0x46d673
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
lea ecx, [esi*8]
sub ecx, esi
lea ebx, [ebx + ecx*8]
cmp ebx, dword [eax + 0x10]
ja 0x46d681
test edi, edi
je 0x46d67a
mov edi, dword [edi]
jmp 0x46d67c
mov eax, dword [eax]
jmp 0x46d361
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x46d63e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x46d59c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x46d645
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x46d5bb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
add ecx, 1
mov edx, 0
adc eax, edx
cmp eax, dword [ebp + 0xc]
jg 0x46d3ef
jl 0x46d5df
cmp ecx, dword [ebp + 8]
jae 0x46d3ef
inc dword [edi]
mov eax, dword [edi]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x48], 1
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x44], 3
cmp eax, edx
jne 0x46d64c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x46d61f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0x14]
mov eax, dword [esp + 0x10]
add ecx, 1
adc edx, 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
test eax, eax
jmp 0x46d3ad
mov eax, dword [eax]
jmp 0x46d591
mov eax, dword [eax]
jmp 0x46d5b0
mov eax, dword [eax]
jmp 0x46d614
mov eax, dword [eax]
jmp 0x46d3bb
mov eax, dword [eax]
jmp 0x46d439
mov eax, dword [eax]
jmp 0x46d466
mov eax, dword [eax]
jmp 0x46d485
mov eax, dword [eax]
jmp 0x46d4c1
mov eax, dword [edi]
jmp 0x46d552
xor edi, edi
cmp ebx, dword [edi + 0xc]
jae 0x46d687
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x5c], edx
test eax, eax
jne 0x46d6bd
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x46d6aa
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebp, dword [ebp]
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x18]
jmp 0x46d303
mov eax, dword [eax]
jmp 0x46d69f
cmp dword [edi + 0x24], 0
jl 0x46d812
jg 0x46d6d7
cmp dword [edi + 0x20], 0
jbe 0x46d812
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
lea esi, [edi + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x46d812
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x46d707
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
mov ebx, eax
mov dword [esp + 0x20], ebp
test eax, eax
jne 0x46d81f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, dword [eax + 0xc]
ja 0x46d72a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add ebp, 0xffffffc8
test ebx, ebx
jne 0x46d826
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
call ebx
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x46d746
call ebx
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov edx, dword [ebp + 0x14]
sub ecx, 1
sbb eax, 0
cmp edx, eax
jg 0x46d812
jl 0x46d76a
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jae 0x46d812
inc dword [edi]
mov ebp, dword [esi + 0x10]
xor eax, eax
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
cmp dword [esi + 0xc], ebp
jbe 0x46d79b
call ebx
mov eax, dword [esi]
mov ebx, eax
mov dword [esp + 0x20], ebp
test eax, eax
jne 0x46d833
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp ebp, dword [eax + 0xc]
ja 0x46d7be
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add ebp, 0xffffffc8
test ebx, ebx
jne 0x46d83a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebp, dword [ebx + 0x10]
jb 0x46d7d6
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edi + 0x20]
mov edx, dword [ebp + 0x14]
mov edi, dword [edi + 0x24]
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, esi
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], edi
call fcn.0046d1e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret 4
mov eax, dword [eax]
jmp 0x46d71f
mov eax, dword [ebx]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
jmp 0x46d73f
mov eax, dword [eax]
jmp 0x46d7b3
mov ebx, dword [ebx]
jmp 0x46d7cb