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

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x64]
push ebx
cdq
push ebp
push esi
mov ebx, eax
mov eax, dword [esp + 0x68]
mov ebp, ecx
mov ecx, dword [esp + 0x6c]
add ebx, eax
mov esi, edx
adc esi, ecx
push edi
push ecx
sub ebx, 1
sbb esi, 0
push eax
mov ecx, ebp
mov dword [esp + 0x2c], esi
call fcn.00469a60
push esi
mov edi, eax
push ebx
mov ecx, ebp
mov dword [esp + 0x7c], edi
call fcn.00469a60
mov dword [esp + 0x10], eax
cmp eax, edi
jne 0x46b4f0
mov ecx, dword [ebp + 0x14]
sub ecx, dword [ebp + 0x10]
lea esi, [ebp + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x46b282
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*8 + 8]
mov eax, dword [ecx + eax*8 + 0xc]
cmp dword [esp + 0x70], eax
jl 0x46b343
jg 0x46b2ac
cmp dword [esp + 0x6c], edx
jbe 0x46b343
inc dword [ebp]
mov ecx, dword [ebp]
xor edi, edi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
sub eax, 1
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x70]
sbb ecx, edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov edi, dword [esi + 0xc]
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x50], 3
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
cmp edi, dword [esi + 0x10]
jbe 0x46b308
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x74]
mov eax, dword [esi]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edi
call fcn.00469490
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x30]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.0046b0e0
inc dword [esp + 0x74]
mov edi, dword [esp + 0x74]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x46b366
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
lea eax, [edi*8]
sub eax, edi
mov edx, dword [ecx + eax*8 + 0x10]
cmp edx, ebx
jne 0x46b43a
mov eax, dword [ecx + eax*8 + 0x14]
cmp eax, dword [esp + 0x24]
jne 0x46b43a
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, ecx
cmp ebx, dword [esi + 0x10]
jbe 0x46b39b
call ebp
mov esi, dword [esi]
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
call fcn.00469490
mov edi, dword [esp + 0x20]
xor ebx, ebx
cmp edi, ebx
jne 0x46b42e
call ebp
xor eax, eax
mov esi, dword [esp + 0x24]
cmp esi, dword [eax + 0x10]
jb 0x46b3c8
call ebp
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp edi, ebx
jne 0x46b432
call ebp
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46b3e5
call ebp
cmp edi, ebx
jne 0x46b436
call ebp
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46b3f4
call ebp
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub eax, 1
sbb ecx, ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
cmp edi, ebx
jne 0x46b91b
call ebp
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46b418
call ebp
mov dword [esi + 0x20], 1
cmp edi, ebx
je 0x46b922
mov eax, dword [edi]
jmp 0x46b926
mov eax, dword [edi]
jmp 0x46b3bd
mov eax, dword [edi]
jmp 0x46b3de
mov eax, dword [edi]
jmp 0x46b3ed
inc dword [ebp]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov edi, dword [esi + 0xc]
mov ebp, dword [ebp]
xor edx, edx
mov dword [esp + 0x38], eax
sub eax, 1
mov dword [esp + 0x3c], ecx
sbb ecx, edx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x30], ebp
mov dword [esp + 0x50], 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edx
cmp edi, dword [esi + 0x10]
jbe 0x46b49a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
mov ebp, dword [esp + 0x74]
push ebp
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
call fcn.00469490
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x30]
push eax
push ecx
push edx
lea eax, [esp + 0x78]
push eax
mov ecx, esi
call fcn.0046b0e0
mov edi, dword [esp + 0x24]
add ebx, 1
adc edi, 0
inc ebp
push ebp
mov ecx, esi
call fcn.00469450
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc
inc edi
cmp edi, eax
jge 0x46b5e5
lea eax, [edi*8]
sub eax, edi
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
sub eax, edi
mov dword [esp + 0x18], eax
mov esi, dword [ebp + 0x10]
cmp esi, dword [ebp + 0x14]
jbe 0x46b524
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [ebp + 4]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
test edi, edi
jne 0x46b54e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov ecx, dword [esp + 0x14]
add esi, ecx
cmp esi, dword [eax + 0x10]
ja 0x46b559
test edi, edi
je 0x46b552
mov edi, dword [edi]
jmp 0x46b554
mov eax, dword [edi]
jmp 0x46b53b
xor edi, edi
cmp esi, dword [edi + 0xc]
jae 0x46b55f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x46b733
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46b57e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x46b73a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46b59d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub edx, 1
sbb eax, 0
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x18], edx
test eax, eax
jne 0x46b741
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46b5ce
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
add dword [esp + 0x14], 0x38
mov eax, 1
sub dword [esp + 0x18], eax
mov dword [esi + 0x20], eax
jne 0x46b516
mov ecx, dword [ebp + 0x14]
sub ecx, dword [ebp + 0x10]
lea esi, [ebp + 4]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x10], ecx
jb 0x46b60d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x10]
lea edi, [eax*8]
sub edi, eax
mov eax, dword [esi + 0xc]
add edi, edi
add edi, edi
add edi, edi
cmp ebx, dword [edi + eax + 0x10]
jne 0x46b769
mov edx, dword [esp + 0x24]
cmp edx, dword [edi + eax + 0x14]
jne 0x46b769
mov edi, eax
cmp edi, dword [esi + 0x10]
jbe 0x46b648
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x30], edi
call fcn.00469490
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x46b748
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edi, dword [esp + 0x2c]
cmp edi, dword [eax + 0x10]
jb 0x46b683
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
test ebx, ebx
jne 0x46b74f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46b69e
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
sub ecx, 1
sbb edx, 0
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], edx
test ebx, ebx
jne 0x46b756
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46b6cb
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov dword [edi + 0x20], 1
test ebx, ebx
jne 0x46b75d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46b6ed
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov dword [edi + 0x30], 0xffffffff
test ebx, ebx
jne 0x46b761
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46b70b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
cmp ebx, eax
jne 0x46b765
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor ebx, ebx
cmp edi, dword [ebx + 0x10]
jb 0x46b72a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov byte [edi + 0x24], 1
jmp 0x46b85f
mov eax, dword [eax]
jmp 0x46b573
mov eax, dword [eax]
jmp 0x46b592
mov eax, dword [eax]
jmp 0x46b5c3
mov eax, dword [ebx]
jmp 0x46b674
mov eax, dword [ebx]
jmp 0x46b693
mov eax, dword [ebx]
jmp 0x46b6c0
mov eax, dword [ebx]
jmp 0x46b6e2
mov eax, dword [ebx]
jmp 0x46b700
mov ebx, dword [ebx]
jmp 0x46b71f
inc dword [ebp]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
xor eax, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [ebp]
mov dword [esp + 0x30], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x50], 1
cmp dword [esp + 0x10], eax
jb 0x46b7b7
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + ecx + 8]
mov ecx, dword [edi + ecx + 0xc]
mov dword [esp + 0x38], eax
sub eax, 1
mov dword [esp + 0x3c], ecx
sbb ecx, 0
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x40], ebx
cmp dword [esp + 0x10], eax
jb 0x46b809
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
add ebx, 1
adc ecx, 0
mov dword [eax + edi + 8], ebx
mov dword [eax + edi + 0xc], ecx
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 0x10]
jbe 0x46b82c
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
call fcn.00469490
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x30]
push edx
push eax
push ecx
lea edx, [esp + 0x34]
push edx
mov ecx, esi
call fcn.0046b0e0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x74]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x46b886
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esp + 0x70]
lea eax, [edi*8]
sub eax, edi
mov edi, dword [esp + 0x6c]
cmp edi, dword [ecx + eax*8 + 8]
jne 0x46b96e
cmp ebx, dword [ecx + eax*8 + 0xc]
jne 0x46b96e
mov ebp, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, ecx
cmp edi, dword [esi + 0x10]
jbe 0x46b8bd
call ebp
mov ecx, dword [esp + 0x74]
mov esi, dword [esi]
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
call fcn.00469490
mov edi, dword [esp + 0x6c]
xor ebx, ebx
cmp edi, ebx
jne 0x46b913
call ebp
xor eax, eax
mov esi, dword [esp + 0x70]
cmp esi, dword [eax + 0x10]
jb 0x46b8ee
call ebp
cmp edi, ebx
jne 0x46b917
call ebp
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46b8fd
call ebp
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub edx, 1
sbb eax, ebx
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
jmp 0x46b405
mov eax, dword [edi]
jmp 0x46b8e3
mov eax, dword [edi]
jmp 0x46b8f6
mov eax, dword [edi]
jmp 0x46b411
call ebp
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46b92d
call ebp
mov dword [esi + 0x30], 0xffffffff
cmp edi, ebx
je 0x46b93c
mov eax, dword [edi]
jmp 0x46b940
call ebp
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x46b947
call ebp
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
cmp edi, ebx
je 0x46b955
mov edi, dword [edi]
jmp 0x46b959
call ebp
xor edi, edi
cmp esi, dword [edi + 0x10]
jb 0x46b960
call ebp
pop edi
mov byte [esi + 0x24], 1
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc
mov eax, ecx
mov dword [esp + 0x6c], eax
cmp eax, dword [esi + 0x10]
jbe 0x46b97f
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
mov eax, dword [esi]
mov dword [esp + 0x2c], ecx
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
call fcn.00469490
inc dword [ebp]
mov ebp, dword [ebp]
xor eax, eax
mov dword [esp + 0x38], edi
sub edi, 1
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x3c], ebx
sbb ebx, eax
mov byte [esp + 0x54], 1
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x50], 1
mov dword [esp + 0x6c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], ebx
cmp ebp, eax
jne 0x46bb0a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
mov edi, dword [esp + 0x2c]
cmp edi, dword [eax + 0x10]
jb 0x46ba00
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
test ebp, ebp
jne 0x46bb12
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46ba29
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x6c]
mov dword [edi + 0x1c], ebx
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov dword [edi + 0x18], edx
test ebp, ebp
jne 0x46bb1a
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46ba4c
call ebx
mov eax, dword [edi + 0x18]
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], ecx
test ebp, ebp
jne 0x46bb22
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46ba6b
call ebx
mov dword [edi + 0x20], 3
test ebp, ebp
jne 0x46bb2a
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46ba85
call ebx
mov dword [edi + 0x30], 0xffffffff
test ebp, ebp
jne 0x46bb32
call ebx
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x46ba9f
call ebx
xor eax, eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
cmp ebp, eax
jne 0x46bb3a
call ebx
xor ebp, ebp
cmp edi, dword [ebp + 0x10]
jb 0x46baba
call ebx
mov byte [edi + 0x24], 1
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 0x10]
jbe 0x46bac8
call ebx
mov edx, dword [esp + 0x74]
mov eax, dword [esi]
push edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
call fcn.00469490
mov edi, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov ebx, edi
mov dword [esp + 0x70], ebp
test edi, edi
jne 0x46bb42
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor eax, eax
add ebp, 0x38
cmp ebp, dword [eax + 0x10]
ja 0x46bb4d
test edi, edi
je 0x46bb46
mov edi, dword [edi]
jmp 0x46bb48
mov eax, dword [ebp]
jmp 0x46b9f1
mov eax, dword [ebp]
jmp 0x46ba1e
mov eax, dword [ebp]
jmp 0x46ba45
mov eax, dword [ebp]
jmp 0x46ba64
mov eax, dword [ebp]
jmp 0x46ba7e
mov eax, dword [ebp]
jmp 0x46ba98
mov ebp, dword [ebp]
jmp 0x46bab3
mov eax, dword [edi]
jmp 0x46bafa
xor edi, edi
cmp ebp, dword [edi + 0xc]
jae 0x46bb53
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
lea eax, [esp + 0x30]
push eax
push ebp
push ebx
lea ecx, [esp + 0x78]
push ecx
mov ecx, esi
call fcn.0046b0e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0xc