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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov edi, edx
mov ebx, ecx
mov esi, dword [esp + 0xa4]
mov eax, dword [0x500034]
xor eax, esp
mov dword [esp + 0x8c], eax
mov ebp, dword [esi]
mov eax, dword [edx]
cmp eax, ebp
cmova ebp, eax
mov eax, dword [ecx]
cmp eax, ebp
cmovb ebp, eax
mov ecx, ebp
add ecx, ebp
mov dword [esp + 0xc], ecx
lea ecx, [ecx + ecx*2]
cmp ecx, dword [esp + 0xa8]
jbe 0x46b1e8
push 0x3f7
push 0x4f33f4
push 0x4f7a6e
call fcn.004adb0b
add esp, 0xc
mov eax, dword [ebx]
shl eax, 2
push eax
mov dword [esp + 0xc], ebx
push dword [ebx + 4]
call fcn.00465e78
add esp, 8
mov ebx, dword [edi]
cmp ebp, 0x18
jb 0x46b400
test ebx, ebx
je 0x46b3fe
mov ecx, dword [esi]
test ecx, ecx
je 0x46b400
mov eax, ebp
shr eax, 1
mov dword [esp], eax
mov edx, edi
mov edi, ebp
sub edi, eax
cmp ebx, edi
mov esi, edi
cmovb esi, ebx
mov eax, dword [edx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], esi
cmp ecx, edi
mov edx, edi
cmovb edx, ecx
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
sub ebx, esi
mov eax, dword [esp]
cmp ebx, eax
cmovae ebx, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x18]
lea esi, [eax + esi*4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x74], ebx
sub ecx, edx
mov eax, dword [esp]
cmp ecx, eax
cmovae ecx, eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x14]
lea eax, [eax + edx*4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x6c], ecx
lea ecx, [edi + edi]
mov edx, dword [esp + 8]
mov eax, dword [edx]
mov esi, edx
cmp eax, ecx
mov dword [esp], ecx
cmovb ecx, eax
cmp eax, edi
mov dword [esp + 4], edi
cmovb edi, eax
mov ebx, eax
sub ebx, edi
cmp ebx, eax
cmovae ebx, eax
mov edx, eax
sub edx, ecx
cmp edx, eax
cmovae edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
lea edi, [eax + edi*4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], eax
lea eax, [eax + ecx*4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], edx
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x64]
lea edx, [esp + 0x84]
push dword [esp + 0xac]
mov esi, dword [esp + 0xac]
push esi
push eax
call fcn.0046b188
add esp, 0xc
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x74]
push dword [esp + 0xac]
push esi
push eax
call fcn.0046b188
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
cmp dword [ecx], eax
mov dword [esp + 0xc], ebx
jae 0x46b4ec
cmp ebp, ebx
cmovae ebp, ebx
cmp ebp, esi
jbe 0x46b380
push 0x2bb
push 0x4f33f4
push 0x4f1724
call fcn.004adb0b
add esp, 0xc
mov ebp, esi
mov eax, esi
sub esi, ebp
cmp esi, eax
cmovae esi, eax
mov ecx, dword [esp + 0xac]
lea eax, [ecx + ebp*4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ebp
lea ecx, [esp + 0x54]
lea edx, [esp + 0x84]
mov dword [esp], eax
push eax
push esi
lea eax, [esp + 0x74]
push eax
call fcn.0046b188
add esp, 0xc
test ebx, ebx
je 0x46b7e2
xor ecx, ecx
xor eax, eax
jmp 0x46b3e9
xor edx, edx
add ecx, dword [edi + eax*4]
setb dl
add ecx, ebx
adc edx, 0
mov dword [edi + eax*4], ecx
add eax, 1
mov ecx, edx
mov ebx, dword [esp + 0xc]
cmp ebx, eax
je 0x46b6f9
mov ebx, 0
cmp ebp, eax
jbe 0x46b3c8
mov edx, dword [esp + 0xac]
mov ebx, dword [edx + eax*4]
jmp 0x46b3c8
xor ebx, ebx
test ebx, ebx
jle 0x46b7fe
mov eax, dword [esp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x46b7fe
mov edx, dword [edi + 4]
lea ecx, [edx + ebx*4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
lea ecx, [edi + ecx*4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
lea ebp, [ecx + eax*4]
mov eax, ecx
xor ecx, ecx
cmp edi, dword [esp + 0xc]
mov dword [esp + 4], eax
jae 0x46b4a8
mov ebx, eax
cmp eax, ebp
jae 0x46b4c4
mov dword [esp + 8], edx
mov eax, dword [edx]
mov dword [esp], eax
add edi, 4
xor esi, esi
mov ebx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mul dword [edi - 4]
xor ecx, ecx
add esi, dword [ebx]
setb cl
add esi, eax
adc ecx, edx
mov dword [ebx], esi
add ebx, 4
cmp edi, dword [esp + 0xc]
jae 0x46b48d
add edi, 4
mov esi, ecx
cmp ebx, ebp
jb 0x46b468
mov esi, dword [esp + 0xa4]
mov edx, dword [esp + 8]
jmp 0x46b4c4
mov ebx, eax
jmp 0x46b4c4
xor eax, eax
add dword [ebx], ecx
setb al
add ebx, 4
mov ecx, eax
cmp ebx, ebp
jb 0x46b4b8
add edx, 4
cmp edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
jae 0x46b7fe
add eax, 4
cmp eax, ebp
jae 0x46b7fe
mov edi, dword [esi + 4]
jmp 0x46b438
mov eax, dword [esp + 4]
add eax, 1
mov ecx, eax
cmp eax, esi
mov ebp, esi
mov esi, eax
jbe 0x46b516
push 0x2bb
push 0x4f33f4
push 0x4f1724
call fcn.004adb0b
add esp, 0xc
mov ecx, ebp
mov ebx, ebp
sub ebx, ecx
cmp ebx, ebp
cmovae ebx, ebp
mov eax, dword [esp + 0xac]
lea ebp, [eax + ecx*4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
cmp ebx, esi
mov dword [esp + 0x10], ecx
jae 0x46b556
push 0x2bb
push 0x4f33f4
push 0x4f1724
call fcn.004adb0b
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov esi, ebx
mov eax, ebx
sub eax, esi
cmp eax, ebx
cmovae eax, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebp
test ecx, ecx
je 0x46b5d0
xor esi, esi
xor eax, eax
jmp 0x46b591
add eax, 1
cmp dword [esp + 0x10], eax
je 0x46b5d0
mov edx, 0
cmp dword [esp + 0x2c], eax
jbe 0x46b5a3
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax*4]
xor ebx, ebx
cmp dword [esp + 0x30], eax
jbe 0x46b5b2
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + eax*4]
xor ecx, ecx
add edx, esi
setb cl
add edx, ebx
mov esi, ecx
adc esi, 0
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x46b588
mov dword [ecx + eax*4], edx
jmp 0x46b588
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x46b632
xor esi, esi
xor eax, eax
jmp 0x46b5f3
add eax, 1
mov ecx, dword [esp + 4]
cmp ecx, eax
je 0x46b632
mov edx, 0
cmp dword [esp + 0x34], eax
jbe 0x46b605
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax*4]
xor ebx, ebx
cmp dword [esp + 0x38], eax
jbe 0x46b614
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + eax*4]
xor ecx, ecx
add edx, esi
setb cl
add edx, ebx
mov esi, ecx
adc esi, 0
cmp dword [esp + 0xac], 0
je 0x46b5e8
mov dword [ebp + eax*4], edx
jmp 0x46b5e8
lea ebx, [ecx*4]
add ebx, ebp
mov ecx, dword [esp]
or ecx, 1
mov esi, dword [esp + 8]
cmp esi, ecx
jae 0x46b662
push 0x2bb
push 0x4f33f4
push 0x4f1724
call fcn.004adb0b
add esp, 0xc
mov ecx, esi
mov dword [esp], ecx
mov eax, esi
sub eax, ecx
cmp eax, esi
cmovae eax, esi
mov ecx, dword [esp]
lea esi, [ebx + ecx*4]
mov ecx, dword [esp]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
lea ebx, [esp + 0x4c]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x54]
push esi
mov esi, dword [esp + 4]
push eax
push ebx
call fcn.0046b188
add esp, 0xc
test esi, esi
je 0x46b799
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0xac]
lea ebp, [ecx + eax*4]
xor ecx, ecx
mov edx, 1
jmp 0x46b6e5
not ebx
xor eax, eax
add edx, dword [ebp + ecx*4]
setb al
add edx, ebx
adc eax, 0
mov dword [ebp + ecx*4], edx
add ecx, 1
mov edx, eax
cmp esi, ecx
je 0x46b75a
mov ebx, 0
cmp dword [esp + 0x3c], ecx
jbe 0x46b6c8
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + ecx*4]
jmp 0x46b6c8
lea ecx, [esp + 0x54]
lea edx, [esp + 0x74]
push dword [esp]
push esi
lea eax, [esp + 0x84]
push eax
call fcn.0046b188
add esp, 0xc
xor ecx, ecx
xor eax, eax
jmp 0x46b745
xor edx, edx
add ecx, dword [edi + eax*4]
setb dl
add ecx, esi
adc edx, 0
mov dword [edi + eax*4], ecx
add eax, 1
mov ecx, edx
cmp ebx, eax
je 0x46b7fe
mov esi, 0
cmp ebp, eax
jbe 0x46b728
mov edx, dword [esp + 0xac]
mov esi, dword [edx + eax*4]
jmp 0x46b728
xor ecx, ecx
mov edx, 1
jmp 0x46b785
not ebx
xor eax, eax
add edx, dword [ebp + ecx*4]
setb al
add edx, ebx
adc eax, 0
mov dword [ebp + ecx*4], edx
add ecx, 1
mov edx, eax
cmp esi, ecx
je 0x46b799
mov ebx, 0
cmp dword [esp + 0x40], ecx
jbe 0x46b768
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + ecx*4]
jmp 0x46b768
cmp dword [esp + 0xc], 0
je 0x46b7fe
mov ecx, dword [esp + 4]
add ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xac]
lea eax, [eax + ecx*4]
xor edx, edx
xor ecx, ecx
jmp 0x46b7d3
xor ebx, ebx
add edx, dword [edi + ecx*4]
setb bl
add edx, esi
adc ebx, 0
mov dword [edi + ecx*4], edx
add ecx, 1
mov edx, ebx
cmp dword [esp + 0xc], ecx
je 0x46b7fe
mov esi, 0
cmp dword [esp], ecx
jbe 0x46b7b8
mov esi, dword [eax + ecx*4]
jmp 0x46b7b8
lea ecx, [esp + 0x54]
lea edx, [esp + 0x74]
push dword [esp]
push esi
lea eax, [esp + 0x84]
push eax
call fcn.0046b188
add esp, 0xc
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0049e348
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret