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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59e0e8
push eax
mov dword fs:[0], esp
sub esp, 0x104
push esi
push edi
mov esi, ecx
call fcn.004a7a50
push 0
mov ecx, esi
mov dword [esi + 0x464], eax
call fcn.004a6c50
mov ecx, esi
mov edi, eax
call fcn.004a6620
mov ecx, esi
call fcn.004a6670
mov ecx, esi
call fcn.004a7710
test edi, edi
je 0x4a6d3c
mov ecx, esi
call fcn.004a67d0
pop edi
pop esi
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
add esp, 0x110
ret
push 0xf
mov ecx, esi
mov dword [esp + 0x10], 0
call fcn.004a65f0
test eax, eax
jne 0x4a6d61
push 0x12
mov ecx, esi
call fcn.004a65f0
cmp eax, 0xffffff
je 0x4a6d86
push 0xf
mov ecx, esi
call fcn.004a65f0
cmp eax, 0xffffff
jne 0x4a6e06
push 0x12
mov ecx, esi
call fcn.004a65f0
test eax, eax
jne 0x4a6e06
push 0xd
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.004a65f0
push 0xd
mov ecx, esi
mov dword [esi + 0x1e4], eax
call fcn.004a65f0
push 0xe
mov ecx, esi
mov dword [esi + 0x1f8], eax
call fcn.004a65f0
push 0x12
mov ecx, esi
mov dword [esi + 0x21c], eax
call fcn.004a65f0
push 0x12
mov ecx, esi
mov dword [esi + 0x1e8], eax
call fcn.004a65f0
push 0xd
mov ecx, esi
mov dword [esi + 0x1fc], eax
call fcn.004a65f0
push 0x12
mov ecx, esi
mov dword [esi + 0x230], eax
call fcn.004a65f0
push 0x12
mov ecx, esi
mov dword [esi + 0x214], eax
call fcn.004a65f0
mov dword [esi + 0x200], eax
mov eax, 5
mov ecx, 0xd
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0xb4], eax
mov eax, 0x5a
push ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x10]
push ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], ecx
mov ebp, 0x1e
mov edx, 0x1f
mov edi, 0x21
mov ebx, 0x29
mov ecx, 0x10
mov dword [esp + 0x24], ebp
test eax, eax
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x30], 0xa5
mov dword [esp + 0x34], edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], edi
mov dword [esp + 0x50], 0x32
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x60], 0x8f
mov dword [esp + 0x64], 0x23
mov dword [esp + 0x68], 0x11
mov dword [esp + 0x70], 0x46
mov dword [esp + 0x74], 0x26
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], 0x4b
mov dword [esp + 0x84], 0x27
mov dword [esp + 0x88], ecx
mov dword [esp + 0x90], 0x46
mov dword [esp + 0x94], 0x2b
mov dword [esp + 0x98], 0x2e
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], 0x14
mov dword [esp + 0xa4], 0x3d
mov dword [esp + 0xa8], 0x2e
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xb4], 0x28
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc4], 0x2a
mov dword [esp + 0xc8], 0xf
mov dword [esp + 0xcc], ecx
jne 0x4a6fcb
lea ebx, [esp + 0x2c]
mov dword [esp + 0x10], 0xb
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push eax
push ecx
mov ecx, esi
call fcn.004a65f0
mov edx, dword [ebx - 4]
push eax
push edx
mov ecx, esi
call fcn.004a65f0
push eax
mov ecx, esi
call fcn.004a6530
mov ecx, dword [ebx - 8]
add ebx, 0x10
mov dword [esi + ecx*4 + 0x168], eax
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x4a6f87
mov ebx, 0x29
mov edx, 0x1f
mov ecx, 0x23
mov eax, 0x64
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], ecx
mov ecx, 0x25
mov dword [esp + 0x40], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], ecx
mov ecx, 0x26
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x7c], ecx
mov ecx, 0x27
mov dword [esp + 0xa0], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x8c], ecx
mov ecx, 0x2b
mov dword [esp + 0xb0], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], ecx
mov ecx, 0x3d
mov eax, 0x28
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xac], ecx
mov ecx, 0x2d
mov dword [esp + 0xb4], eax
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xdc], ecx
mov ecx, 0x2e
mov dword [esp + 0xbc], eax
mov eax, 0x2c
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xec], ecx
mov ecx, 0x2f
mov dword [esp + 0xc4], eax
mov dword [esp + 0xcc], eax
push 0x420c0000
mov eax, 0xb4
mov dword [esp + 0xf8], ecx
mov dword [esp + 0x100], ecx
push 1
push ebp
mov ecx, esi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], 0x32
mov dword [esp + 0x40], 0x20
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 0xd
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], 0x50
mov dword [esp + 0x74], edi
mov dword [esp + 0x84], ebp
mov dword [esp + 0x8c], 0x55
mov dword [esp + 0x94], ebp
mov dword [esp + 0x9c], 0x32
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xc4], ebp
mov dword [esp + 0xcc], 0x50
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe4], edx
mov dword [esp + 0xec], eax
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xfc], eax
mov dword [esp + 0x104], edi
mov dword [esp + 0x10c], eax
call fcn.004a65f0
push eax
push 0xf
mov ecx, esi
call fcn.004a65f0
push eax
mov ecx, esi
call fcn.004a5e90
test eax, eax
je 0x4a71b8
push 0x420c0000
push ebp
mov ecx, esi
call fcn.004a65f0
push eax
push 0xf
mov ecx, esi
call fcn.004a65f0
push eax
mov ecx, esi
call fcn.004a62a0
mov dword [esi + 0x1e0], eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x18], 0xe
fild dword [edi + 4]
mov ebx, dword [edi]
mov ecx, esi
fstp dword [esp + 0x10]
mov edx, dword [esp + 0x10]
push edx
push 1
push ebx
call fcn.004a65f0
push eax
mov eax, dword [edi - 4]
push eax
mov ecx, esi
call fcn.004a65f0
push eax
mov ecx, esi
call fcn.004a5e90
test eax, eax
jne 0x4a721f
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push ebx
call fcn.004a65f0
push eax
mov eax, dword [edi - 4]
push eax
mov ecx, esi
call fcn.004a65f0
push eax
mov ecx, esi
call fcn.004a5f10
mov ecx, dword [edi - 8]
mov dword [esi + ecx*4 + 0x168], eax
mov eax, dword [esp + 0x18]
add edi, 0x10
dec eax
mov dword [esp + 0x18], eax
jne 0x4a71c4
push 0x43110000
push 1
push 0x23
mov ecx, esi
call fcn.004a65f0
push eax
push 0x29
mov ecx, esi
call fcn.004a65f0
push eax
mov ecx, esi
call fcn.004a5e90
test eax, eax
je 0x4a7279
push 0x43110000
push 0x23
mov ecx, esi
call fcn.004a65f0
push eax
push 0x29
mov ecx, esi
call fcn.004a65f0
push eax
mov ecx, esi
call fcn.004a62a0
mov dword [esi + 0x1f4], eax
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a7439
push ebp
mov ecx, esi
call fcn.004a65f0
shr eax, 0x10
and eax, 0xff
push 5
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x51eb851f
shl ecx, 1
imul ecx
sar edx, 5
mov eax, edx
mov ecx, esi
shr eax, 0x1f
add edx, eax
mov ebx, edx
call fcn.004a65f0
shr eax, 0x10
and eax, 0xff
push 0xd
lea edi, [eax + eax*4]
mov eax, 0x51eb851f
shl edi, 3
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
add bl, dl
call fcn.004a65f0
shr eax, 0x10
and eax, 0xff
push ebp
mov ecx, esi
lea edi, [eax + eax*4]
mov eax, 0x51eb851f
shl edi, 1
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
add bl, dl
xor edx, edx
mov dh, bl
mov dword [esp + 0x1c], edx
call fcn.004a65f0
xor ecx, ecx
push 5
mov cl, ah
and ecx, 0xff
mov eax, ecx
mov ecx, esi
lea eax, [eax + eax*4]
lea edi, [eax + eax*4]
mov eax, 0x51eb851f
shl edi, 1
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
call fcn.004a65f0
xor ecx, ecx
mov cl, ah
and ecx, 0xff
mov eax, ecx
lea edi, [eax + eax*4]
mov eax, 0x51eb851f
shl edi, 3
imul edi
mov edi, edx
sar edi, 5
mov edx, edi
shr edx, 0x1f
add edi, edx
mov eax, edi
add bl, al
push 0xd
mov ecx, esi
call fcn.004a65f0
xor ecx, ecx
push ebp
mov cl, ah
and ecx, 0xff
mov eax, ecx
mov ecx, esi
lea edi, [eax + eax*4]
mov eax, 0x51eb851f
shl edi, 1
imul edi
mov edi, edx
sar edi, 5
mov edx, edi
shr edx, 0x1f
add edi, edx
mov edx, dword [esp + 0x1c]
mov eax, edi
add bl, al
mov dl, bl
shl edx, 8
mov dword [esp + 0x1c], edx
call fcn.004a65f0
and eax, 0xff
push 5
lea eax, [eax + eax*4]
lea edi, [eax + eax*4]
mov eax, 0x51eb851f
shl edi, 1
imul edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
mov ebx, edx
call fcn.004a65f0
and eax, 0xff
push 0xd
mov ecx, esi
lea edi, [eax + eax*4]
mov eax, 0x51eb851f
shl edi, 3
imul edi
mov edi, edx
sar edi, 5
mov edx, edi
shr edx, 0x1f
add edi, edx
mov eax, edi
add bl, al
call fcn.004a65f0
and eax, 0xff
lea edi, [eax + eax*4]
mov eax, 0x51eb851f
shl edi, 1
imul edi
mov edi, edx
mov eax, dword [esp + 0x18]
sar edi, 5
mov ecx, edi
shr ecx, 0x1f
add edi, ecx
mov edx, edi
add bl, dl
and ebx, 0xff
or eax, ebx
mov dword [esi + 0x1f8], eax
push 0xf
mov ecx, esi
call fcn.004a65f0
xor ebx, ebx
mov edx, eax
mov edi, eax
mov bl, ah
shr edx, 0x10
and edi, 0xff
and ebx, 0xff
and edx, 0xff
mov dword [esp + 0x14], eax
cmp edi, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
mov eax, edi
jg 0x4a7477
mov eax, ebx
cmp eax, edx
jle 0x4a7483
cmp edi, ebx
jg 0x4a7485
mov edi, ebx
jmp 0x4a7485
mov edi, edx
test edi, edi
jne 0x4a7495
mov dword [esi + 0x228], 0x232323
jmp 0x4a74dc
mov eax, 0xff
mov ecx, 0x23
sub eax, edi
cmp eax, 0x23
jg 0x4a74a8
mov ecx, eax
add ecx, edi
mov eax, ecx
imul eax, edx
cdq
idiv edi
xor edx, edx
mov dh, al
mov eax, ecx
imul eax, ebx
mov ebx, edx
cdq
idiv edi
mov bl, al
mov eax, ecx
imul eax, dword [esp + 0x18]
cdq
idiv edi
shl ebx, 8
and eax, 0xff
or ebx, eax
mov dword [esi + 0x228], ebx
push 0x10
mov ecx, esi
call fcn.004a65f0
xor edx, edx
mov ecx, eax
mov dl, ah
and ecx, 0xff
and edx, 0xff
shr eax, 0x10
mov edi, edx
and eax, 0xff
mov edx, eax
cmp ecx, edi
mov dword [esp + 0x10], edi
mov eax, ecx
jg 0x4a750f
mov eax, edi
cmp eax, edx
jle 0x4a751b
cmp ecx, edi
jle 0x4a751d
mov edi, ecx
jmp 0x4a751d
mov edi, edx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a7531
mov dword [esi + 0x22c], 0x7f7f7f
jmp 0x4a7582
test edi, edi
jne 0x4a753d
mov dword [esi + 0x22c], edi
jmp 0x4a7582
lea eax, [edi - 0x2b]
xor ebx, ebx
test eax, eax
setl bl
dec ebx
and ebx, eax
mov eax, ebx
mov dword [esp + 0x14], ebx
imul eax, edx
cdq
idiv edi
xor edx, edx
mov dh, al
mov eax, ebx
imul eax, dword [esp + 0x10]
mov ebx, edx
cdq
idiv edi
mov bl, al
mov eax, dword [esp + 0x14]
imul eax, ecx
cdq
idiv edi
shl ebx, 8
and eax, 0xff
or ebx, eax
mov dword [esi + 0x22c], ebx
mov ebx, dword [esi + 0x1e4]
mov eax, ebx
mov dword [esp + 0x14], ebx
shr eax, 0x10
and eax, 0xff
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [0x5abc58]
call fcn.00424c6c
xor ecx, ecx
xor edx, edx
mov cl, bh
mov dh, al
and ecx, 0xff
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
mov ebx, edx
fmul qword [0x5abc58]
call fcn.00424c6c
mov bl, al
mov eax, dword [esp + 0x14]
and eax, 0xff
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
shl ebx, 8
fmul qword [0x5abc58]
call fcn.00424c6c
mov edx, dword [esp + 0x18]
and eax, 0xff
or ebx, eax
lea eax, [edx + 0xf]
mov dword [esi + 0x1f0], ebx
cmp eax, 0xff
jl 0x4a760d
mov eax, 0xff
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + 0xf]
cmp edx, 0xff
jl 0x4a7621
mov edx, 0xff
mov ecx, dword [esp + 0x20]
add ecx, 0xf
cmp ecx, 0xff
jl 0x4a7635
mov ecx, 0xff
xor ebx, ebx
and eax, 0xff
mov bh, cl
push ebp
mov bl, dl
mov ecx, esi
shl ebx, 8
or ebx, eax
mov dword [esi + 0x1c0], ebx
call fcn.004a65f0
push 0x28
mov ecx, esi
mov dword [esi + 0x23c], eax
call fcn.004a65f0
mov edx, dword [esi + 0x208]
mov ecx, esi
mov dword [esi + 0x250], eax
mov dword [esi + 0x258], edx
call fcn.004a67d0
push 1
lea ecx, [esp + 0x108]
call fcn.0046a9d0
push 0x5f85b0
push 0
lea ecx, [esp + 0x10c]
mov dword [esp + 0x124], 0
call fcn.0046b040
lea ecx, [esp + 0x104]
call fcn.0046af10
pop ebp
pop ebx
test eax, eax
je 0x4a76d5
add esi, 0x24c
lea ecx, [esp + 0xfc]
push esi
push 0xed9
push 0
push 0
call fcn.0046ac80
lea ecx, [esp + 0xfc]
mov dword [esp + 0x114], 0xffffffff
call fcn.0046aa10
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x110
ret