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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46b3a9
sub esp, 0x64
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.0046b3c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
test edx, edx
jne 0x46b374
mov dword [esp + 0x50], eax
mov ecx, dword [eax]
mov dword [esp + 8], ecx
lea ecx, [0x5d33a0]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.004387d0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x50]
mov ebx, dword [ebx + 4]
lea ebp, [0x5d34e0]
mov dword [esp], ebp
inc ebx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.004387d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
xor ebx, ebx
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x28]
jmp 0x46b2b4
mov eax, dword [esp + 0x38]
shl eax, 1
mov dword [esp + 0x30], eax
lea eax, [0x5d34e0]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], ecx
call fcn.004387d0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x28]
test eax, eax
jbe 0x46b3a2
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea edx, [esp + 0x30]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00465900
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x46b24b
je 0x46b240
mov edx, dword [ecx + 4]
lea ebx, [0x5e7760]
cmp ebx, edx
jne 0x46b239
mov edx, dword [eax]
cmp edx, 0xea
je 0x46b0ce
test ecx, ecx
je 0x46b212
mov edx, dword [ecx + 4]
cmp ebx, edx
jne 0x46b212
mov edx, dword [eax]
cmp edx, 0x103
jne 0x46b212
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x46b1e7
mov eax, dword [0x73c50c]
mov edx, dword [0x73c508]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
add esp, 0x64
ret
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x64
ret
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x64
ret
test ecx, ecx
jmp 0x46b199
lea ebx, [0x5e7760]
jmp 0x46b199
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x46b39b
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00461640
mov eax, dword [esp + 0x28]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x2c]
cmp ecx, ebp
jg 0x46b303
mov esi, dword [esp + 0x60]
lea edi, [esi + eax*8 + 4]
mov dword [edi], edx
lea eax, [esi + eax*8]
mov edx, dword [0x74e1b0]
test edx, edx
jne 0x46b2dd
mov dword [eax], ebx
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov edi, ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x6c]
test ebp, ebp
jle 0x46b2c8
cmp ebp, edi
je 0x46b34d
mov dword [esp + 0x60], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
jmp 0x46b112
mov dword [esp + 0x58], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ebp
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0040e560
mov ecx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x58]
jmp 0x46b29f
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ebx
lea edx, [0x5d33a0]
mov dword [esp], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00438950
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
jmp 0x46b28a
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
add esp, 0x64
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ecx
add esp, 0x64
ret
call fcn.00425870
ud2
call fcn.00425810
ud2
call fcn.0044a470
jmp fcn.0046b020