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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a4402
sub esp, 0x7c
mov eax, dword [esp + 0x80]
test byte [eax], al
mov ecx, dword [eax + 0x2000c]
cmp ecx, 0x40000000
jg 0x4a43bd
mov ecx, dword [esp + 0x94]
cmp ecx, 0x11
jl 0x4a433d
lea edx, [ecx - 0xf]
mov dword [esp + 0x5c], edx
mov ebx, dword [esp + 0x90]
mov ebp, dword [ebx]
mov esi, ebp
imul ebp, ebp, 0x1e35a7bd
shr ebp, 0x12
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x68]
jmp 0x4a41c5
mov ebp, edx
imul ebp, ebp, 0x1e35a7bd
shr ebp, 0x12
mov ecx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x38]
mov esi, edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x28]
sar esi, 5
lea ebx, [edi + esi]
mov ecx, dword [esp + 0x28]
add ecx, esi
cmp ebx, edx
jg 0x4a4322
mov dword [esp + 0x28], ecx
and ebp, 0x3fff
lea edx, [eax + ebp*8]
lea ecx, [eax + ebp*8 + 4]
mov dword [esp + 0x74], ecx
mov ecx, dword [ecx]
lea ebp, [eax + ebp*8]
mov edx, dword [edx]
lea esi, [edi + esi + 4]
cmp ebx, esi
ja 0x4a43fb
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x94]
cmp esi, edx
ja 0x4a43fb
mov dword [esp + 0x38], ebx
mov esi, dword [eax + 0x2000c]
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
mov ebx, dword [esp + 0x90]
mov edx, dword [ebx + edx]
mov ebx, dword [esp + 0x3c]
mov dword [ebp], ebx
lea ebp, [esi + edi]
mov esi, dword [esp + 0x74]
mov dword [esi], ebp
mov ebp, dword [eax + 0x2000c]
mov esi, ecx
sub ecx, ebp
mov ebp, edi
sub edi, ecx
cmp edi, 0x8000
jg 0x4a3d9d
mov ecx, dword [esp + 0x58]
cmp ebx, ecx
jne 0x4a3d9d
mov ecx, dword [esp + 0x30]
cmp ecx, ebp
ja 0x4a43f4
mov edx, dword [esp + 0x98]
cmp ebp, edx
ja 0x4a43f4
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebp
mov eax, dword [esp + 0x78]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
sub edx, ecx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov esi, dword [esp + 0x90]
add edx, esi
mov dword [esp + 0xc], edx
sub ebp, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call fcn.004a4410
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
jmp 0x4a3f0d
mov ebp, ebx
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x88], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x80]
mov edi, dword [esi + 0x2000c]
mov dword [esp], esi
lea esi, [ebx + 4]
mov dword [esp + 0x54], esi
mov dword [esp + 4], esi
sub ebp, edi
add ebp, 4
mov dword [esp + 0x24], ebp
mov dword [esp + 8], ebp
mov edi, dword [esp + 0x90]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x94]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x14], edi
call fcn.004a44c0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x88]
lea edx, [ecx + 1]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x24]
sub ebp, esi
shl ebx, 0x16
mov esi, dword [esp + 0x8c]
cmp edx, esi
jg 0x4a42d1
mov edi, dword [esp + 0x78]
mov dword [esp + 0x88], edx
lea ebx, [ebp + ebx + 0x3fffffff]
mov dword [edi + ecx*4], ebx
mov ecx, dword [esp + 0x2c]
lea ebx, [ecx + eax + 4]
lea ebp, [eax + ecx]
mov edx, dword [esp + 0x5c]
cmp ebx, edx
jge 0x4a41db
lea edx, [ecx + eax + 3]
lea eax, [ecx + eax + 0xb]
cmp edx, eax
ja 0x4a43ed
mov ecx, dword [esp + 0x94]
cmp eax, ecx
ja 0x4a43ed
sub eax, edx
sub ecx, edx
neg ecx
sar ecx, 0x1f
and ecx, edx
test eax, eax
jbe 0x4a43e6
mov dword [esp + 0x4c], esi
mov edx, dword [esp + 0x90]
movzx esi, byte [edx + ecx]
cmp eax, 1
jbe 0x4a43e6
mov dword [esp + 0x70], edi
movzx edi, byte [edx + ecx + 1]
mov dword [esp + 0x58], edi
shl edi, 8
or esi, edi
cmp eax, 2
jbe 0x4a43e6
mov dword [esp + 0x48], ebx
mov edi, dword [esp + 0x58]
shr edi, 0x18
movzx ebx, byte [edx + ecx + 2]
mov dword [esp + 0x58], ebx
shl ebx, 0x10
or esi, ebx
mov ebx, dword [esp + 0x58]
shr ebx, 0x10
or edi, ebx
cmp eax, 3
jbe 0x4a43e6
movzx ebx, byte [edx + ecx + 3]
mov dword [esp + 0x58], ebx
shl ebx, 0x18
or ebx, esi
mov esi, dword [esp + 0x58]
shr esi, 8
or edi, esi
cmp eax, 4
jbe 0x4a43df
movzx esi, byte [edx + ecx + 4]
or esi, edi
cmp eax, 5
jbe 0x4a43df
movzx edi, byte [edx + ecx + 5]
shl edi, 8
or esi, edi
cmp eax, 6
jbe 0x4a43df
movzx edi, byte [edx + ecx + 6]
shl edi, 0x10
or esi, edi
cmp eax, 7
jbe 0x4a43df
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x44], esi
mov eax, ebx
imul ebx, ebx, 0x1e35a7bd
shr ebx, 0x12
and ebx, 0x3fff
mov edi, dword [esp + 0x80]
lea esi, [edi + ebx*8]
mov ebp, dword [edi + 0x2000c]
movzx ecx, byte [edx + ecx + 7]
mov dword [esi], eax
lea ebx, [edi + ebx*8 + 4]
mov esi, dword [esp + 0x54]
lea ebp, [ebp + esi + 3]
mov dword [ebx], ebp
shl ecx, 0x18
mov ebx, dword [esp + 0x44]
or ebx, ecx
mov dword [esp + 0x44], ebx
shl ebx, 0x18
shr eax, 8
or ebx, eax
mov eax, ebx
imul ebx, ebx, 0x1e35a7bd
shr ebx, 0x12
and ebx, 0x3fff
lea ebp, [edi + ebx*8]
mov ecx, dword [ebp + 4]
mov ebp, dword [ebp]
mov dword [esp + 0x40], ebp
lea edx, [edi + ebx*8]
mov ebp, dword [edi + 0x2000c]
mov dword [edx], eax
lea edx, [edi + ebx*8 + 4]
lea ebx, [ebp + esi + 4]
mov dword [edx], ebx
mov edx, dword [edi + 0x2000c]
mov ebx, ecx
sub ecx, edx
mov edx, dword [esp + 0x48]
mov ebp, edx
sub edx, ecx
cmp edx, 0x8000
jg 0x4a4164
mov ecx, dword [esp + 0x40]
cmp ecx, eax
je 0x4a3ef8
mov esi, dword [esp + 0x44]
shl esi, 0x10
mov eax, dword [esp + 0x58]
shr eax, 0x10
or esi, eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + eax + 5]
mov ecx, esi
imul esi, esi, 0x1e35a7bd
shr esi, 0x12
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x90]
mov edi, eax
mov ebp, esi
mov esi, ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x60], eax
mov eax, 0x20
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
jmp 0x4a3dd1
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x94]
cmp ebx, ecx
jge 0x4a42c6
ja 0x4a43d8
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov eax, dword [esp + 0x98]
sub eax, ebx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ebx
mov ebp, dword [esp + 0x90]
add eax, ebp
mov dword [esp + 0xc], eax
sub ecx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004a4410
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x80]
mov ebp, dword [ebx + 0x2000c]
mov esi, dword [esp + 0x94]
add ebp, esi
mov dword [ebx + 0x2000c], ebp
mov ebp, dword [ebx + 0x20008]
cmp esi, ebp
ja 0x4a43d1
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov dword [ebx + 0x20004], esi
mov eax, dword [ebx + 0x20000]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0044c240
mov eax, dword [esp + 0x78]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xa4], eax
add esp, 0x7c
ret
mov ecx, eax
mov edx, esi
mov eax, edi
jmp 0x4a423c
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebx
lea eax, [0x50ca60]
mov dword [esp], eax
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.00438000
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
jmp 0x4a3fa6
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x78]
jmp 0x4a41e2
mov edx, dword [eax + 0x2000c]
add edx, 0xffff
mov dword [eax + 0x2000c], edx
mov dword [eax + 0x20004], 0
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x98]
mov dword [esp + 0x14], eax
call fcn.004a4410
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
add esp, 0x7c
ret
mov dword [esp], eax
call fcn.004a4760
mov eax, dword [esp + 0x80]
jmp 0x4a3d54
call fcn.004252e0
ud2
call fcn.004252e0
ud2
call fcn.00425280
ud2
call fcn.00425280
ud2
call fcn.004252e0
ud2
call fcn.004252e0
ud2
call fcn.004252e0
ud2
call fcn.00449fd0
jmp fcn.004a3d20