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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x429c
call fcn.0047b0c0
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x10]
mov ecx, dword [eax + 0x318]
push edi
mov edi, dword [0x47c218]
push 0x3e9
push edx
mov dword [esp + 0x2c], ecx
call edi
mov ebx, eax
mov eax, dword [esi + 0x10]
push 0x3e8
push eax
call edi
push 0xfffffffffffffff0
push ebx
mov edi, eax
call dword [0x47c22c]
push 0xfffffffffffffff0
push edi
mov dword [esp + 0x34], eax
call dword [0x47c22c]
push 0xffffffffffffffec
push ebx
mov dword [esp + 0x20], eax
call dword [0x47c22c]
push 0xffffffffffffffec
push edi
mov dword [esp + 0x54], eax
call dword [0x47c22c]
lea ecx, [esp + 0x78]
push ecx
push ebx
mov ebx, dword [0x47c324]
mov dword [esp + 0x68], eax
call ebx
lea edx, [esp + 0x3c]
push edx
push edi
call ebx
mov ecx, dword [esi + 0x10]
mov edi, dword [0x47c23c]
push 2
lea eax, [esp + 0x7c]
push eax
push ecx
push 0
call edi
mov eax, dword [esi + 0x10]
push 2
lea edx, [esp + 0x40]
push edx
push eax
push 0
call edi
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x44]
sub ebx, dword [esp + 0x78]
sub edi, dword [esp + 0x3c]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 0
call dword [0x47c230]
mov ecx, eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x38], ecx
je 0x46b205
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x314], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
jle 0x46b1e8
mov eax, dword [esp + 0x24]
add eax, 0x10
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
lea edx, [eax + 2]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edx
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x46b187
sub eax, dword [esp + 0x28]
lea edx, [esp + 0x88]
push edx
sar eax, 1
push eax
mov eax, dword [esp + 0x38]
push eax
push ecx
call dword [0x47c040]
test eax, eax
je 0x46b1c5
mov eax, dword [esp + 0x88]
add eax, 0xa
cmp eax, dword [esp + 0x10]
jle 0x46b1c5
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x18]
add dword [esp + 0x14], 0x14
add eax, 1
cmp eax, dword [ecx + 0x314]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], eax
jl 0x46b176
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x10]
sub eax, ebx
add dword [esp + 0x3c], eax
push ecx
sub edi, eax
add ebx, eax
push edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], ebx
call dword [0x47c228]
mov eax, dword [esi + 0x18]
xor ebx, ebx
cmp dword [eax + 0x314], ebx
jle 0x46b366
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
or eax, 0x10000000
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
or eax, 0x10000000
add ecx, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push ebx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
push 0
lea edi, [edx + ecx]
mov dword [esp + 0x1c], eax
call dword [0x47c18c]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x74]
push 0
push eax
mov eax, dword [esp + 0x28]
push 0
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x64]
push edi
push ecx
push edx
push 0x47c484
push 0x47d47c
push eax
call dword [0x47c1fc]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
mov edi, dword [esi + 0x1c]
imul edi, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x3c]
add edx, ecx
push 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x34], eax
call dword [0x47c18c]
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x14]
push 0
push eax
mov eax, dword [esp + 0x20]
push 0
push ecx
mov ecx, dword [esp + 0x40]
push edi
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push 0x47c484
push 0x47d48c
push eax
call dword [0x47c1fc]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edx
push 0x47d498
mov edi, eax
lea eax, [esp + 0xa8]
push 0xff
push eax
call fcn.00401a66
mov edx, dword [esp + 0x34]
add esp, 0x10
lea ecx, [esp + 0xa0]
push ecx
push edx
call dword [0x47c300]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
lea edx, [esp + 0x2a0]
push edx
push ebx
mov eax, dword [eax]
call eax
push eax
push edi
call dword [0x47c300]
mov ecx, dword [esi + 0x1c]
imul ecx, dword [esp + 0x34]
add ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x18]
add dword [esp + 0x1c], ecx
add dword [esp + 0x10], 0x14
add ebx, 1
cmp ebx, dword [edx + 0x314]
jl 0x46b23b
mov eax, dword [esi + 0x10]
push 1
push eax
call dword [0x47c218]
lea ecx, [esp + 0x50]
mov ebx, eax
push ecx
push ebx
call dword [0x47c324]
mov eax, dword [esi + 0x10]
push 2
lea edx, [esp + 0x54]
push edx
push eax
push 0
call dword [0x47c23c]
mov edx, dword [esi + 0x10]
mov edi, dword [0x47c2e8]
lea ecx, [esp + 0x90]
push ecx
push edx
call edi
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x64]
push eax
push ecx
call dword [0x47c324]
mov edx, dword [esp + 0x94]
sub edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x1c]
sub edx, dword [esp + 0x54]
push 0x206
sub edx, dword [esp + 0x6c]
add edx, dword [esp + 0x60]
add edx, dword [esp + 0x74]
lea ecx, [edx + eax + 0x15]
mov edx, dword [esp + 0x70]
sub edx, dword [esp + 0x68]
mov eax, dword [esi + 0x10]
push ecx
add edx, 1
push edx
push 0
push 0
push 0
push eax
call dword [0x47c318]
mov edx, dword [esi + 0x10]
lea ecx, [esp + 0x64]
push ecx
push edx
call edi
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
push 0x204
mov edx, ecx
sub edx, eax
add edx, 1
push edx
mov edx, dword [esp + 0x58]
sub eax, ecx
sub eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
sub esi, edx
add esi, 1
push esi
lea eax, [eax + ecx - 5]
push eax
push edx
push 0
push ebx
call dword [0x47c318]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret