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

Disassembly:
push 0xffffffffffffffff
push 0x5417d1
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x27c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x28c]
mov eax, dword [ebx + 0x13c]
mov eax, dword [eax]
mov edi, dword [ebx + 0x124]
mov ebp, ecx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edi
lea ebx, [ebx]
mov esi, dword [ebx + 0x13c]
mov eax, dword [ebx + 0x124]
test edi, edi
je 0x4a0454
cmp edi, eax
je 0x4a0459
call fcn.00526bf6
cmp dword [esp + 0x20], esi
je 0x4a0cc9
test edi, edi
jne 0x4a04d2
call fcn.00526bf6
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x18]
jne 0x4a047c
call fcn.00526bf6
mov eax, dword [esp + 0x20]
add eax, 0xc
push eax
lea edx, [esp + 0x2c]
lea esi, [ebp + 0x60]
push edx
mov ecx, esi
mov dword [esp + 0x48], eax
call fcn.0049c250
cmp dword [esp + 0x28], 0
mov edi, dword [esi + 0x18]
mov esi, dword [esi]
je 0x4a04ab
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x4a04b4
call fcn.00526bf6
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
cmp esi, edi
jne 0x4a04d6
inc dword [esp + 0x38]
lea ecx, [esp + 0x1c]
call fcn.00486b00
mov edi, dword [esp + 0x1c]
jmp 0x4a0440
mov eax, dword [edi]
jmp 0x4a046e
test eax, eax
jne 0x4a05ec
call fcn.00526bf6
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x4a04ef
call fcn.00526bf6
mov ecx, dword [ebp + 0x58]
sub ecx, dword [ebp + 0x54]
mov esi, dword [esi + 0x2c]
add ebp, 0x48
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x3c], ebp
cmp esi, eax
jb 0x4a051b
call fcn.00526bf6
imul esi, esi, 0x1c8
add esi, dword [ebp + 0xc]
lea ecx, [esp + 0xb0]
call fcn.0049eec0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x284], 0
mov byte [esp + 0x17], 0
test eax, eax
jne 0x4a05f3
call fcn.00526bf6
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, dword [eax + 0x18]
jne 0x4a0561
call fcn.00526bf6
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x1dc]
call fcn.00485610
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 4]
and eax, 5
and ecx, 5
mov dword [esp + 0xb4], eax
cmp eax, ecx
jae 0x4a059d
mov dword [esp + 0xb4], ecx
mov byte [esp + 0x17], 1
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 8]
cmp eax, ecx
jbe 0x4a05fa
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0xb8], eax
lea eax, [ebx + 0x15c]
lea edx, [esp + 0x20c]
mov dword [esp + 0xc0], ecx
cmp edx, eax
je 0x4a05e5
mov ecx, dword [eax + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [eax]
mov edx, dword [ecx]
push edi
push ecx
push eax
push edx
push eax
lea ecx, [esp + 0x220]
call fcn.0049dfe0
mov byte [esp + 0x17], 1
jmp 0x4a0638
mov eax, dword [eax]
jmp 0x4a04e5
mov eax, dword [eax]
jmp 0x4a0553
mov dword [esp + 0xb8], ecx
mov eax, dword [esi + 0x10]
mov dword [esp + 0xc0], eax
lea eax, [esi + 0x15c]
lea ecx, [esp + 0x20c]
cmp ecx, eax
je 0x4a0638
mov ecx, dword [eax + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [eax]
mov edx, dword [ecx]
push edi
push ecx
push eax
push edx
push eax
lea ecx, [esp + 0x220]
call fcn.0049dfe0
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jbe 0x4a06cc
mov edx, dword [ebx + 0x14]
mov dword [esp + 0xbc], eax
lea eax, [ebx + 0x178]
lea ecx, [esp + 0x228]
mov dword [esp + 0xc4], edx
cmp ecx, eax
je 0x4a0684
mov ecx, dword [eax + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [eax]
mov edx, dword [ecx]
push edi
push ecx
push eax
push edx
push eax
lea ecx, [esp + 0x23c]
call fcn.0049dfe0
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x1c]
mov dword [esp + 0xd0], eax
lea eax, [ebx + 0x144]
lea ecx, [esp + 0x1f4]
mov dword [esp + 0xcc], edx
cmp eax, ecx
je 0x4a06c5
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4a06b5
mov eax, dword [eax + 4]
jmp 0x4a06b7
xor eax, eax
push ecx
push eax
lea ecx, [esp + 0x1fc]
call fcn.004766f0
mov byte [esp + 0x17], 1
jmp 0x4a074b
mov dword [esp + 0xbc], ecx
mov edx, dword [esi + 0x14]
lea eax, [esi + 0x178]
lea ecx, [esp + 0x228]
mov dword [esp + 0xc4], edx
cmp ecx, eax
je 0x4a070a
mov ecx, dword [eax + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [eax]
mov edx, dword [ecx]
push edi
push ecx
push eax
push edx
push eax
lea ecx, [esp + 0x23c]
call fcn.0049dfe0
mov edx, dword [esi + 0x1c]
mov dword [esp + 0xcc], edx
mov eax, dword [esi + 0x20]
mov dword [esp + 0xd0], eax
lea eax, [esi + 0x144]
lea ecx, [esp + 0x1f4]
cmp eax, ecx
je 0x4a074b
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4a073b
mov eax, dword [eax + 4]
jmp 0x4a073d
xor eax, eax
push ecx
push eax
lea ecx, [esp + 0x1fc]
call fcn.004766f0
mov edx, dword [esi + 0x18]
lea ecx, [esi + 0x194]
lea eax, [esp + 0x244]
mov dword [esp + 0xc8], edx
cmp eax, ecx
je 0x4a0782
mov eax, dword [ecx + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [ecx]
mov edx, dword [eax]
push esi
push eax
push ecx
push edx
push ecx
lea ecx, [esp + 0x258]
call fcn.0049dfe0
cmp dword [esp + 0x25c], 0
jne 0x4a07cc
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0xc8], ecx
lea ecx, [ebx + 0x194]
lea edx, [esp + 0x244]
cmp edx, ecx
je 0x4a0979
mov eax, dword [ecx + 0x14]
mov esi, dword [esp + 0x18]
mov ecx, dword [ecx]
mov edx, dword [eax]
push esi
push eax
push ecx
push edx
push ecx
lea ecx, [esp + 0x258]
call fcn.0049dfe0
jmp 0x4a0979
mov eax, dword [esp + 0x258]
mov ebx, dword [esp + 0x244]
mov ecx, dword [eax]
mov esi, dword [esp + 0x258]
mov dword [esp + 0x34], ecx
test ebx, ebx
je 0x4a07f4
cmp ebx, dword [esp + 0x244]
je 0x4a07f9
call fcn.00526bf6
cmp dword [esp + 0x34], esi
je 0x4a096e
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x1a8]
mov eax, dword [eax]
mov edi, dword [ecx + 0x194]
mov ebp, eax
jmp 0x4a0820
mov esi, dword [ecx + 0x1a8]
mov eax, dword [ecx + 0x194]
test edi, edi
je 0x4a0834
cmp edi, eax
je 0x4a0839
call fcn.00526bf6
cmp ebp, esi
je 0x4a0cab
test ebx, ebx
jne 0x4a0920
call fcn.00526bf6
xor eax, eax
mov edx, dword [esp + 0x34]
cmp edx, dword [eax + 0x14]
jne 0x4a085e
call fcn.00526bf6
test edi, edi
jne 0x4a0927
call fcn.00526bf6
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4a0877
call fcn.00526bf6
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 8]
jne 0x4a08ff
test ebx, ebx
jne 0x4a092e
call fcn.00526bf6
xor eax, eax
mov edx, dword [esp + 0x34]
cmp edx, dword [eax + 0x14]
jne 0x4a08a0
call fcn.00526bf6
test edi, edi
jne 0x4a0935
call fcn.00526bf6
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4a08b9
call fcn.00526bf6
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0xc]
cmp ecx, dword [ebp + 0xc]
jne 0x4a08ff
test ebx, ebx
jne 0x4a093c
call fcn.00526bf6
xor eax, eax
mov edx, dword [esp + 0x34]
cmp edx, dword [eax + 0x14]
jne 0x4a08de
call fcn.00526bf6
test edi, edi
jne 0x4a0940
call fcn.00526bf6
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4a08f3
call fcn.00526bf6
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp + 0x10]
je 0x4a0948
test edi, edi
jne 0x4a0944
call fcn.00526bf6
xor eax, eax
cmp ebp, dword [eax + 0x14]
jne 0x4a0914
call fcn.00526bf6
mov ebp, dword [ebp]
mov ecx, dword [esp + 0x24]
jmp 0x4a0820
mov eax, dword [ebx]
jmp 0x4a0850
mov eax, dword [edi]
jmp 0x4a086d
mov eax, dword [ebx]
jmp 0x4a0892
mov eax, dword [edi]
jmp 0x4a08af
mov eax, dword [ebx]
jmp 0x4a08d0
mov eax, dword [edi]
jmp 0x4a08e9
mov eax, dword [edi]
jmp 0x4a090a
test ebx, ebx
jne 0x4a096a
call fcn.00526bf6
xor eax, eax
mov edx, dword [esp + 0x34]
cmp edx, dword [eax + 0x14]
jne 0x4a0961
call fcn.00526bf6
mov eax, dword [esp + 0x34]
jmp 0x4a07da
mov eax, dword [ebx]
jmp 0x4a0953
cmp byte [esp + 0x17], 0
je 0x4a0c65
mov eax, dword [esp + 0x24]
add eax, 0x1b0
lea edx, [esp + 0x260]
xor ebx, ebx
cmp eax, edx
je 0x4a09ff
mov edi, dword [eax + 8]
cmp edi, ebx
je 0x4a099b
mov esi, dword [eax + 4]
jmp 0x4a099d
xor esi, esi
mov eax, dword [esp + 0x264]
cmp eax, ebx
je 0x4a09d4
cmp dword [esp + 0x274], 1
jne 0x4a09cb
mov ecx, dword [esp + 0x268]
push ecx
push ebx
push eax
call fcn.00526600
mov eax, dword [esp + 0x270]
add esp, 0xc
push eax
call fcn.00526d49
add esp, 4
push edi
push esi
lea ecx, [esp + 0x268]
mov dword [esp + 0x26c], ebx
mov dword [esp + 0x274], ebx
mov dword [esp + 0x270], ebx
mov byte [esp + 0x278], 1
call fcn.004764d0
mov edi, dword [esp + 0x28]
cmp edi, ebx
jne 0x4a0b55
call fcn.00526bf6
xor eax, eax
mov ebp, dword [esp + 0x2c]
cmp ebp, dword [eax + 0x18]
jne 0x4a0a20
call fcn.00526bf6
mov ebx, dword [esp + 0x3c]
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov esi, dword [ebp + 0x2c]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4a0a49
call fcn.00526bf6
imul esi, esi, 0x1c8
add esi, dword [ebx + 0xc]
mov eax, dword [esi + 0x140]
cmp eax, dword [esp + 0x1f0]
jne 0x4a0b71
mov ecx, dword [esp + 0x1ec]
mov edx, dword [ecx]
mov edi, dword [esp + 0x1d4]
mov eax, dword [esi + 0x13c]
mov ecx, dword [esi + 0x124]
mov esi, dword [eax]
mov byte [esp + 0x18], 0
mov ebp, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x1c]
push ebp
push edx
push edi
push eax
push ecx
push esi
push ecx
call fcn.0049b0c0
add esp, 0x20
test al, al
je 0x4a0b69
mov ebp, dword [esp + 0x28]
test ebp, ebp
jne 0x4a0b5c
call fcn.00526bf6
xor eax, eax
mov edi, dword [esp + 0x2c]
cmp edi, dword [eax + 0x18]
jne 0x4a0ac9
call fcn.00526bf6
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov esi, dword [edi + 0x2c]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x4a0aee
call fcn.00526bf6
mov ecx, esi
imul ecx, ecx, 0x1c8
add ecx, dword [ebx + 0xc]
call fcn.0049e040
test ebp, ebp
jne 0x4a0b64
call fcn.00526bf6
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x4a0b13
call fcn.00526bf6
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov esi, dword [edi + 0x2c]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x4a0b38
call fcn.00526bf6
mov ecx, esi
imul ecx, ecx, 0x1c8
add ecx, dword [ebx + 0xc]
lea edx, [esp + 0xb0]
push edx
call fcn.0049efd0
jmp 0x4a0c65
mov eax, dword [edi]
jmp 0x4a0a12
mov eax, dword [ebp]
jmp 0x4a0abb
mov eax, dword [ebp]
jmp 0x4a0b09
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
lea eax, [esp + 0xb0]
push eax
mov ecx, ebx
call fcn.004a0320
test edi, edi
jne 0x4a0c96
call fcn.00526bf6
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4a0b99
call fcn.00526bf6
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov esi, dword [ebp + 0x2c]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp esi, ecx
jb 0x4a0bbe
call fcn.00526bf6
mov ecx, dword [ebx + 0x10]
imul esi, esi, 0x1c8
sub ecx, dword [ebx + 0xc]
add esi, dword [ebx + 0xc]
mov eax, 0x8fb823ef
imul ecx
mov eax, dword [esp + 0x28]
add edx, ecx
sar edx, 8
mov edi, edx
shr edi, 0x1f
add edi, edx
test eax, eax
jne 0x4a0c9d
call fcn.00526bf6
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4a0bfd
call fcn.00526bf6
mov eax, dword [esp + 0x1c]
dec edi
mov dword [ebp + 0x2c], edi
test eax, eax
jne 0x4a0ca4
call fcn.00526bf6
xor eax, eax
mov edx, dword [esp + 0x20]
cmp edx, dword [eax + 0x18]
jne 0x4a0c22
call fcn.00526bf6
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x48]
add esi, 0x124
push ecx
mov ecx, esi
call fcn.0050c9f0
mov edi, dword [esp + 0x44]
mov ebx, dword [esi + 0x18]
mov eax, dword [esi]
test edi, edi
je 0x4a0c4a
cmp edi, eax
je 0x4a0c4f
call fcn.00526bf6
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4a0c65
push eax
push edi
lea edx, [esp + 0x7c]
push edx
mov ecx, esi
call fcn.00488660
lea ecx, [esp + 0xb0]
mov dword [esp + 0x284], 0xffffffff
call fcn.004974c0
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
call fcn.00486b00
mov edi, dword [esp + 0x1c]
jmp 0x4a0440
mov eax, dword [edi]
jmp 0x4a0b8f
mov eax, dword [eax]
jmp 0x4a0bf3
mov eax, dword [eax]
jmp 0x4a0c14
lea ecx, [esp + 0xb0]
mov dword [esp + 0x284], 0xffffffff
call fcn.004974c0
xor al, al
jmp 0x4a0ef4
cmp dword [esp + 0x38], 0
jle 0x4a0ef2
mov ecx, dword [ebp + 0x58]
sub ecx, dword [ebp + 0x54]
lea edi, [ebp + 0x48]
mov esi, dword [ebx + 0x124]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x13c]
mov ebp, dword [eax]
mov byte [esp + 0x17], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + 0x13c]
mov ecx, eax
mov eax, dword [ecx + 0x124]
test esi, esi
je 0x4a0d2d
cmp esi, eax
je 0x4a0d32
call fcn.00526bf6
cmp ebp, ebx
je 0x4a0edf
test esi, esi
jne 0x4a0db8
call fcn.00526bf6
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4a0d4f
call fcn.00526bf6
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
add ebp, 0xc
push ebp
lea edx, [esp + 0x48]
add edi, 0x60
push edx
mov ecx, edi
call fcn.0049c250
mov ecx, dword [esp + 0x44]
mov ebx, dword [edi + 0x18]
mov eax, dword [edi]
test ecx, ecx
je 0x4a0d7b
cmp ecx, eax
je 0x4a0d80
call fcn.00526bf6
cmp dword [esp + 0x48], ebx
jne 0x4a0ec5
mov eax, dword [esp + 0x18]
push eax
test esi, esi
jne 0x4a0dbc
call fcn.00526bf6
mov ecx, dword [esp + 0x24]
cmp ecx, dword [esi + 0x18]
jne 0x4a0da6
call fcn.00526bf6
sub esp, 0x20
mov dword [esp + 0x64], esp
mov esi, esp
test ebp, ebp
je 0x4a0dc0
lea eax, [ebp + 4]
jmp 0x4a0dc2
mov eax, dword [esi]
jmp 0x4a0d45
mov esi, dword [esi]
jmp 0x4a0d98
xor eax, eax
xor ebx, ebx
push 0xffffffffffffffff
lea ecx, [esi + 4]
push ebx
mov ebp, 0xf
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.004787f0
lea edx, [esp + 0xa4]
push edx
mov dword [esi], 0x469080
call fcn.0049dc20
add esp, 0x28
mov esi, eax
mov dword [esp + 0x284], 1
cmp esi, ebx
je 0x4a0e0a
lea eax, [esi + 4]
jmp 0x4a0e0c
xor eax, eax
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], 0
call fcn.004787f0
mov dword [esp + 0x50], 0x469080
mov eax, dword [esi + 0x20]
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x78]
push edx
mov ecx, edi
mov byte [esp + 0x28c], 2
call fcn.0049eb60
mov esi, 0x10
mov edi, 0x469080
mov dword [esp + 0x50], edi
cmp dword [esp + 0x6c], esi
jb 0x4a0e6f
mov eax, dword [esp + 0x58]
push eax
call fcn.005265f5
add esp, 4
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov byte [esp + 0x58], 0
mov dword [esp + 0x284], 0xffffffff
mov dword [esp + 0x80], edi
cmp dword [esp + 0x9c], esi
jb 0x4a0ea7
mov ecx, dword [esp + 0x88]
push ecx
call fcn.005265f5
add esp, 4
mov dl, byte [esp + 0x7c]
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], 0
mov byte [esp + 0x17], dl
lea ecx, [esp + 0x1c]
call fcn.00486b00
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x20]
jmp 0x4a0d13
cmp byte [esp + 0x17], 0
je 0x4a0ef2
mov eax, dword [esp + 0x24]
push eax
mov ecx, edi
call fcn.004a0320
mov al, 1
mov ecx, dword [esp + 0x27c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00526a8a
add esp, 0x274
ret 4