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

Disassembly:
sub esp, 0xe0
mov eax, dword [esp + 0xf8]
mov edx, dword [esp + 0x100]
push ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x108]
mov ebx, ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x1c], eax
mov al, byte [ebx + 0x321c]
push ebp
mov ebp, dword [esp + 0x110]
push esi
push edi
mov edi, dword [esp + 0xf8]
test al, al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov byte [esp + 0x54], 0
mov dword [esp + 0x60], 0
je 0x46b476
mov al, byte [edi + 0x2e4c]
test al, al
je 0x46b476
mov al, byte [ebp + 0x30]
test al, al
je 0x46b476
mov ecx, dword [edi + 0x2e54]
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], ecx
jmp 0x46b518
mov eax, dword [ebx + 0x336c]
mov edx, dword [esp + 0xfc]
push edx
lea ecx, [eax + 8]
call fcn.0047f2e0
xor esi, esi
lea ecx, [edi + 0x2a14]
test eax, eax
je 0x46b4b8
test al, 1
je 0x46b4ad
cmp dword [ecx - 0x10], 0x16
jne 0x46b4ad
mov edx, dword [ecx]
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], edx
sar eax, 1
inc esi
add ecx, 0x18
cmp esi, 0x20
jl 0x46b494
mov al, byte [esp + 0x54]
test al, al
jne 0x46b518
mov eax, dword [edi + 0x2e00]
test eax, eax
je 0x46b518
mov ebx, dword [ebx + 0x336c]
mov eax, dword [esp + 0xfc]
push eax
lea ecx, [ebx + 8]
call fcn.0047f2e0
and eax, dword [edi + 0x2e00]
je 0x46b518
xor esi, esi
lea ecx, [edi + 0x2a14]
mov edx, 5
test eax, eax
je 0x46b518
test al, 1
je 0x46b50d
cmp dword [ecx - 0x10], edx
je 0x46b50d
mov ebx, dword [ecx]
mov byte [esp + 0x54], 1
mov dword [esp + 0x60], ebx
sar eax, 1
inc esi
add ecx, 0x18
cmp esi, 0x20
jl 0x46b4f5
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x46b539
mov al, byte [esp + 0x54]
test al, al
jne 0x46b539
mov al, byte [edi + 0x2da4]
mov byte [esp + 0x1b], 1
test al, al
jne 0x46b53e
mov byte [esp + 0x1b], 0
mov ebx, dword [esp + 0x11c]
mov ecx, dword [esp + 0x14]
xor esi, esi
mov edx, dword [esp + 0xfc]
mov ecx, dword [ecx + 0x336c]
cmp ebx, esi
sete al
mov byte [esp + 0x5a], al
mov byte [esp + 0x13], al
mov eax, dword [ecx + 0x4b0]
push edx
imul eax, dword [edi + 0x2d74]
mov dword [esp + 0x90], eax
call fcn.0047b000
cmp ebx, esi
mov dword [esp + 0x68], eax
jg 0x46b58b
xor eax, eax
jmp 0x46b59f
cmp ebx, dword [ebp + 0x58]
jge 0x46b59c
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x46b59c
mov eax, dword [eax + ebx*4]
jmp 0x46b59f
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x44]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x40], esi
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebp + 0x58]
cmp ebx, ecx
mov dword [esp + 0x50], edx
jge 0x46b605
cmp ebx, esi
jg 0x46b5c6
mov dword [esp + 0x5c], esi
jmp 0x46b5dd
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x46b5d6
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x5c], eax
jmp 0x46b5dd
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x5c], edx
lea eax, [ebx + 1]
cmp eax, esi
jg 0x46b5ea
mov dword [esp + 0x40], esi
jmp 0x46b605
cmp eax, ecx
jge 0x46b5fe
mov edx, dword [ebp + 4]
cmp edx, esi
je 0x46b5fe
mov eax, dword [edx + eax*4]
mov dword [esp + 0x40], eax
jmp 0x46b605
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x84], 0
test byte [eax + 0x335c], 1
je 0x46b648
lea eax, [ebx + 1]
cmp eax, ecx
jge 0x46b648
cmp eax, esi
jg 0x46b629
xor eax, eax
jmp 0x46b63c
cmp eax, ecx
jge 0x46b639
mov edx, dword [ebp + 4]
cmp edx, esi
je 0x46b639
mov eax, dword [edx + eax*4]
jmp 0x46b63c
mov eax, dword [ebp + 0x18]
cmp eax, esi
setne dl
mov byte [esp + 0x84], dl
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0xf4]
mov edx, dword [eax + 0x3368]
test edx, edx
je 0x46b779
cmp ebx, ecx
jge 0x46b779
test ebx, ebx
jg 0x46b671
xor ebx, ebx
jmp 0x46b680
mov eax, dword [ebp + 4]
test eax, eax
je 0x46b67d
mov ebx, dword [eax + ebx*4]
jmp 0x46b680
mov ebx, dword [ebp + 0x18]
test ebx, ebx
setne al
test al, al
je 0x46b779
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x2d70]
mov ebx, dword [esp + 0x104]
imul eax, edx
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x50]
sub ecx, ecx
mov edx, dword [esi]
add ecx, ebx
add eax, ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0xc10]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x14]
mov al, 2
test byte [ecx + 0x335c], al
je 0x46b75d
mov edx, ecx
test byte [edx + 0x3360], al
je 0x46b717
mov eax, dword [esp + 0x74]
mov ecx, dword [edi + 0x2d70]
sub eax, ecx
mov dword [esp + 0x6c], eax
jmp 0x46b727
mov eax, dword [edi + 0x2d70]
mov ecx, dword [esp + 0x6c]
add eax, ecx
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x2da0]
mov edx, dword [esp + 0x6c]
push eax
push 0
mov eax, dword [esp + 0x28]
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x30]
call fcn.0046b040
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x3368]
imul edx, dword [edi + 0x2d70]
add ebx, edx
mov dword [esp + 0x104], ebx
jmp 0x46b780
mov ebx, dword [esp + 0x104]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x30], eax
mov cl, byte [edx + 0x31ca]
test cl, cl
je 0x46baa9
lea ecx, [eax*4 + 4]
mov dword [esp + 0x48], ecx
mov ecx, 1
sub ecx, dword [esp + 0x68]
mov dword [esp + 0x7c], ecx