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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xac]
cmp eax, dword [ecx + 8]
jbe 0x4a252f
sub esp, 0x12c
mov eax, dword [esp + 0x130]
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp ecx, 0x13
jne 0x4a2515
mov ecx, dword [esp + 0x134]
test ecx, ecx
je 0x4a1be5
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp edx, 0x14
je 0x4a249a
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
lea edx, [0xa7dad0]
mov dword [esp], edx
lea ebx, [0x74d800]
mov dword [esp + 4], ebx
lea ebp, [esp + 0xb0]
mov dword [esp + 8], ebp
call fcn.0045cf90
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
test al, al
jne 0x4a23b7
lea eax, [0x74d4a0]
mov dword [esp], eax
call fcn.00409d00
mov eax, dword [esp + 4]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x134]
test ecx, ecx
je 0x4a23b0
movzx edx, byte [ecx + 0xf]
test dl, 0x20
jne 0x4a2308
mov edx, dword [eax]
test edx, 7
jne 0x4a1c88
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 4]
mov ebp, dword [eax + 8]
lea esi, [ebp + 1]
cmp esi, edx
jg 0x4a22a6
lea edx, [ebp + 1]
mov dword [eax + 8], edx
mov byte [ebx + ebp], 0
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov ebp, dword [eax]
mov esi, ebp
shr ebp, 3
cmp ebp, edx
jae 0x4a247b
movzx edx, byte [ebx + ebp]
and esi, 7
mov ecx, esi
mov edi, 1
shl edi, cl
or edi, edx
xchg edi, eax
mov byte [ebx + ebp], al
xchg edi, eax
mov edx, dword [eax]
inc edx
mov dword [eax], edx
mov ecx, 4
mov edx, dword [esp + 0x130]
movzx ebx, byte [edx + 0xc]
test bl, 1
je 0x4a229c
mov ebx, 0x34
movzx ebp, word [edx + 0x20]
test bp, bp
jne 0x4a2276
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x34], ebx
mov dword [esp + 0xac], ebp
xor esi, esi
jmp 0x4a1d5a
mov dword [esp + 0x54], esi
mov edx, dword [ebp + esi*4]
mov dword [esp + 0xa4], edx
movzx ebx, byte [edx + 0xd]
mov dword [esp], eax
mov edi, ecx
neg ecx
dec ebx
movzx ebx, bl
and ebx, ecx
lea ecx, [edi + ebx]
mov dword [esp + 0x3c], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004a2540
mov eax, dword [esp + 0x54]
lea esi, [eax + 1]
mov eax, dword [esp + 0xa4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x130]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0xac]
cmp esi, ebx
jl 0x4a1cf7
mov ebx, ecx
neg ecx
and ecx, 3
add ecx, ebx
movzx ebp, byte [edx + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x4a226c
mov ebp, 0x34
mov dword [esp + 0x50], ebx
movzx esi, word [edx + 0x22]
test si, 0x7fff
jne 0x4a21ee
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0xac], esi
mov dword [esp + 0x3c], ecx
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov ecx, edi
jmp 0x4a1e16
mov edx, dword [esi + edi*4]
mov dword [esp + 0x9c], edx
movzx ebx, byte [edx + 0xd]
mov dword [esp], eax
mov ebp, ecx
neg ecx
dec ebx
movzx ebx, bl
and ebx, ecx
lea ecx, [ebp + ebx]
mov dword [esp + 0x4c], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004a2540
mov eax, dword [esp + 0x54]
inc eax
mov ecx, dword [esp + 0x9c]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x4c]
add ecx, edx
mov edx, dword [esp + 0x130]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x54]
cmp edi, ebp
jl 0x4a1dad
mov dword [esp + 0x4c], ecx
lea eax, [0x774ea0]
mov dword [esp], eax
call fcn.00409d00
mov eax, dword [esp + 4]
mov byte [eax + 0xd], 4
mov ecx, dword [esp + 0x4c]
mov edx, ecx
neg ecx
and ecx, 3
add ecx, edx
mov dword [eax], ecx
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
shl edx, 2
mov dword [eax + 4], edx
mov edx, dword [ecx]
test edx, edx
jbe 0x4a21d6
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
test edx, edx
jbe 0x4a245f
mov edx, dword [0xa8f2d0]
test edx, edx
jne 0x4a21b8
mov dword [eax + 0x14], ebx
mov edx, dword [esp + 0x134]
test edx, edx
mov dword [esp + 0x98], eax
je 0x4a215c
mov dword [esp], edx
call fcn.0049c460
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x130]
mov dword [esp], edx
call fcn.0049c460
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea edx, [esp + 0x78]
mov dword [esp], edx
lea edx, [0x794f6e]
mov dword [esp + 4], edx
mov dword [esp + 8], 0xb
mov edx, dword [esp + 0xac]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], edx
lea edx, [0x78f6c1]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
lea eax, [0x78f66b]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 1
call fcn.0043be00
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
call fcn.0049bf70
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0049c2a0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x98]
mov dword [ecx + 0x18], eax
lea eax, [0x75f860]
mov dword [esp], eax
call fcn.00409d00
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
lea ecx, [0x742080]
mov dword [esp], ecx
call fcn.00409d00
mov eax, dword [esp + 4]
lea ecx, [0x4ab6f0]
mov dword [eax], ecx
mov ecx, dword [0xa8f2d0]
test ecx, ecx
jne 0x4a2131
mov ecx, dword [esp + 0x98]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xa8]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0xbc], eax
lea edi, [esp + 0x104]
lea esi, [0x7ff580]
call fcn.0044cfbe
mov eax, dword [esp + 0x98]
mov dword [esp + 0x104], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], edx
lea eax, [0x74d800]
mov dword [esp], eax
lea eax, [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.004073b0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xac], ecx
lea edx, [0x763e20]
mov dword [esp], edx
lea ebx, [esp + 0x104]
mov dword [esp + 4], ebx
call fcn.004073b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [0xa7dad0]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 8], eax
call fcn.0045d6c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov esi, dword [esp + 0x18]
lea edi, [esp + 0xf0]
xor eax, eax
call fcn.0044cadb
mov eax, dword [esp + 0x40]
lea ecx, [0x763e20]
cmp eax, ecx
jne 0x4a2447
lea edi, [esp + 0xf0]
call fcn.0044cfbe
lea edi, [esp + 0xc8]
lea esi, [esp + 0xf0]
call fcn.0044cfbe
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0xd0]
mov ebx, dword [esp + 0xd4]
mov ebp, dword [esp + 0xd8]
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x140], edx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], ebp
add esp, 0x12c
ret
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x98]
call fcn.0044c9e0
mov edx, dword [esp + 0xa8]
lea edi, [edx + 8]
mov ebx, eax
mov eax, ecx
call fcn.0044c9e0
mov ecx, ebx
jmp 0x4a1fbc
mov eax, dword [esp + 0x130]
mov dword [esp], eax
call fcn.0049c460
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
lea edx, [esp + 0x58]
mov dword [esp], edx
lea edx, [0x793d95]
mov dword [esp + 4], edx
mov dword [esp + 8], 9
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x78f66b]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 1
call fcn.0043bd40
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x4a1f2c
lea edi, [eax + 0x14]
mov edx, eax
mov eax, ebx
call fcn.0044c9e0
mov ebx, dword [esp + 0x134]
test ebx, ebx
mov eax, edx
mov edx, ebx
jmp 0x4a1e88
movzx ebx, byte [eax + 0xf]
or ebx, 0xffffff80
mov byte [eax + 0xf], bl
mov edx, dword [esp + 0x134]
test edx, edx
jmp 0x4a1e88
add ebp, edx
test byte [ebp], al
and esi, 0x7fff
movzx edi, word [edx + 0x20]
add esi, edi
movzx esi, si
test esi, esi
jl 0x4a2466
movzx edi, di
cmp edi, esi
ja 0x4a2466
cmp esi, 0x100000
ja 0x4a2466
mov dword [esp + 0x54], edi
sub esi, edi
add edi, 0xfff00000
xchg edi, ebx
neg ebx
xchg edi, ebx
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x54]
shl edi, 2
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x48]
sar edi, 0x1f
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
and edi, ebx
add edi, ebp
mov ebx, dword [esp + 0x50]
mov ebp, esi
mov esi, edi
jmp 0x4a1d92
mov ebp, 0x24
jmp 0x4a1d7b
add ebx, edx
test byte [ebx], al
movzx ebp, bp
test ebp, ebp
jl 0x4a246d
cmp ebp, 0x100000
ja 0x4a246d
mov esi, ebx
mov ebx, ebp
mov ebp, esi
jmp 0x4a1ce8
mov ebx, 0x24
jmp 0x4a1cd7
lea eax, [0x731080]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.00438b40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa0]
mov dword [ebx + 0xc], edx
mov edx, dword [0xa8f2d0]
test edx, edx
jne 0x4a22fe
mov dword [ebx + 4], eax
mov ebp, ecx
mov ebx, eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x134]
jmp 0x4a1c7e
lea edi, [ebx + 4]
call fcn.0044c9e0
jmp 0x4a22e7
test dl, 0x80
je 0x4a1c60
mov edx, dword [eax]
test edx, 7
jne 0x4a2335
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
lea esi, [ebx + 1]
cmp esi, ebp
jg 0x4a2351
lea ebp, [ebx + 1]
mov dword [eax + 8], ebp
mov byte [edx + ebx], 0
mov edx, dword [eax + 8]
mov ebx, dword [eax]
mov ebp, ebx
shr ebx, 3
cmp ebx, edx
jae 0x4a2474
lea edx, [ebp + 1]
mov dword [eax], edx
jmp 0x4a1cb9
lea eax, [0x731080]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
call fcn.00438b40
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa0]
mov dword [ebx + 0xc], edx
mov edx, dword [0xa8f2d0]
test edx, edx
jne 0x4a23a6
mov dword [ebx + 4], eax
mov ebx, ecx
mov edx, eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x134]
jmp 0x4a232b
lea edi, [ebx + 4]
call fcn.0044c9e0
jmp 0x4a2392
xor ecx, ecx
jmp 0x4a1cbe
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x118]
xor eax, eax
call fcn.0044cadb
mov ecx, dword [esp + 0x44]
lea edx, [0x763e20]
cmp ecx, edx
jne 0x4a2482
lea edi, [esp + 0x118]
call fcn.0044cfbe
lea edi, [esp + 0xdc]
lea esi, [esp + 0x118]
call fcn.0044cfbe
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0xe0]
mov edx, dword [esp + 0xe4]
mov ebx, dword [esp + 0xe8]
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], ecx
mov dword [esp + 0x140], edx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], ebp
add esp, 0x12c
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x730580]
mov dword [esp + 8], eax
call fcn.00407210
ud2
call fcn.004266e0
ud2
call fcn.004267e0
ud2
call fcn.004267e0
ud2
call fcn.004266e0
ud2
call fcn.004266e0
ud2
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x730580]
mov dword [esp + 8], eax
call fcn.00407210
ud2
mov dword [esp], ecx
call fcn.0049c460
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], 0
lea edx, [0x7a539e]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2c
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.0043bce0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
lea eax, [0x730dc0]
mov dword [esp], eax
lea eax, [esp + 0xc0]
mov dword [esp + 4], eax
call fcn.00407570
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004275c0
ud2
lea eax, [0x730dc0]
mov dword [esp], eax
lea eax, [0x7fd158]
mov dword [esp + 4], eax
call fcn.004275c0
ud2
call fcn.0044b280
jmp fcn.004a1b90