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

Disassembly:
mov ecx, dword [0x8cbf38]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x492801
sub esp, 0xa8
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0046c0b6
mov ecx, dword [esp + 0xac]
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp edx, 0x14
jne 0x49233c
mov dword [esp], ecx
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
call fcn.00493930
lea edi, [esp + 0x80]
lea esi, [esp + 8]
call fcn.0046c56c
lea edi, [esp + 0xb4]
lea esi, [esp + 0x80]
call fcn.0046c56c
add esp, 0xa8
ret
mov dword [esp], ecx
call fcn.00492180
mov eax, dword [esp + 0xb0]
test eax, eax
jl 0x4927e8
mov ecx, dword [esp + 8]
cmp eax, ecx
jge 0x4927e8
mov ecx, dword [esp + 4]
shl eax, 4
mov ebx, dword [ecx + eax + 4]
mov dword [esp + 0x54], ebx
mov ebp, dword [ecx + eax]
mov eax, dword [ecx + eax + 0xc]
mov dword [esp + 0x50], eax
nop
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.00468d80
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00402070
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
nop
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.00468dc0
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
movzx ecx, word [eax + 0x20]
mov dword [esp + 0x4c], ecx
lea edx, [ecx + 1]
mov dword [esp + 0x44], edx
lea ebx, [0x65d540]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], edx
call fcn.004519e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x4c]
cmp ecx, 0xffffffff
je 0x49240b
mov edx, dword [esp + 0x44]
jmp 0x49243d
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 0
mov dword [esp + 0xc], 1
lea eax, [0x65d540]
mov dword [esp + 0x10], eax
call fcn.00451aa0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ecx, [0x702820]
mov dword [eax], ecx
mov ebp, dword [0x8cc0e0]
test ebp, ebp
jne 0x492458
mov ebp, dword [esp + 0xac]
jmp 0x49246c
call fcn.0046bec0
mov ebp, dword [esp + 0xac]
mov dword [edi], ebp
mov esi, dword [eax + 4]
mov dword [edi + 4], esi
mov dword [eax + 4], ebp
mov esi, dword [esp + 0x7c]
movzx edi, byte [esi + 0xc]
xchg edi, eax
test al, 1
xchg edi, eax
je 0x492485
mov ebx, 0x34
jmp 0x49248a
mov ebx, 0x24
movzx edi, word [esi + 0x20]
test di, di
jne 0x492499
xor edi, edi
xor ebx, ebx
jmp 0x4924aa
movzx edi, di
add ebx, esi
cmp edi, 0x10000
ja 0x4927dc
mov dword [esp + 0x34], edi
mov dword [esp + 0x5c], ebx
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov ecx, 1
mov dword [esp + 0x40], ecx
lea ecx, [0x702820]
jmp 0x4924ef
mov dword [ecx], ebx
lea ecx, [ebp + 1]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0xac]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x40], esi
lea ecx, [0x702820]
mov esi, dword [esp + 0x7c]
mov ebp, dword [esp + 0x4c]
cmp ebp, edi
jge 0x49257c
mov esi, dword [esp + 0x40]
inc esi
mov ebx, dword [ebx + ebp*4]
cmp edx, esi
jae 0x49254b
mov dword [esp + 0x6c], ebx
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x65d540]
mov dword [esp + 0x10], eax
call fcn.00451aa0
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [0x702820]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x4c]
mov edi, dword [esp + 0x34]
lea edi, [eax + esi*8 - 8]
mov dword [edi], ecx
mov edi, dword [0x8cc0e0]
lea ecx, [eax + esi*8 - 4]
test edi, edi
je 0x4924c9
mov dword [esp + 0x68], eax
call fcn.0046bec0
mov dword [edi], ebx
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x68]
jmp 0x4924c9
mov dword [esp + 0x48], edx
mov dword [esp + 0x78], eax
movzx eax, word [esi + 0x22]
and eax, 0x7fff
mov dword [esp + 0x38], eax
lea ecx, [0x65d540]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.004519e0
mov eax, dword [esp + 0x7c]
movzx ecx, word [eax + 0x22]
and ecx, 0x7fff
nop
test cx, cx
jne 0x4925c5
xor ebx, ebx
xor ecx, ecx
jmp 0x492611
movzx ebp, byte [eax + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x4925d7
mov edx, 0x34
jmp 0x4925dc
mov edx, 0x24
movzx ebp, word [eax + 0x20]
lea esi, [ecx + ebp]
movzx ecx, si
lea esi, [edx + eax]
cmp ecx, 0x20000
ja 0x4927d0
movzx edx, bp
cmp edx, ecx
ja 0x4927c9
sub ecx, edx
mov ebx, ecx
neg ecx
shl edx, 2
sar ecx, 0x1f
and edx, ecx
lea ecx, [esi + edx]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0xc]
mov ebp, dword [esp + 0x38]
xor esi, esi
xor edi, edi
jmp 0x492636
mov dword [ebx], eax
inc esi
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x7c]
cmp esi, ebx
jge 0x4926bf
inc edi
mov eax, dword [ecx + esi*4]
cmp ebp, edi
jae 0x49268c
mov dword [esp + 0x4c], esi
mov dword [esp + 0x60], eax
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x65d540]
mov dword [esp + 0x10], eax
call fcn.00451aa0
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x4c]
lea ecx, [edx + edi*8 - 8]
lea ebx, [0x702820]
mov dword [ecx], ebx
mov ecx, dword [0x8cc0e0]
lea ebx, [edx + edi*8 - 4]
test ecx, ecx
je 0x492627
mov dword [esp + 0x3c], edi
call fcn.0046bec0
mov dword [edi], eax
mov ecx, dword [ebx]
mov dword [edi + 4], ecx
mov edi, dword [esp + 0x3c]
jmp 0x492627
movzx eax, word [eax + 0x22]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebp
test ax, 0x8000
setne al
mov byte [esp + 0x18], al
call fcn.00496500
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x64], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
lea eax, [0x62f3a0]
mov dword [esp], eax
call fcn.0040fcf0
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.00468e00
mov eax, dword [0x8cc0e0]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x492759
mov eax, dword [esp + 0x70]
jmp 0x492769
call fcn.0046bec0
mov dword [edi], ecx
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
lea edx, [0x702820]
cmp ecx, edx
jne 0x4927ad
mov ecx, dword [esp + 0x64]
test byte [ecx], al
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], 0x13
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xd8], eax
add esp, 0xa8
ret
mov eax, dword [0x702824]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x65d540]
mov dword [esp + 8], eax
call fcn.0040d260
mov eax, edx
call fcn.0046bfe0
mov edx, ecx
mov ebx, 0x20000
call fcn.0046bfb0
mov edx, edi
mov ebx, 0x10000
call fcn.0046bfb0
lea eax, [0x62efe0]
mov dword [esp], eax
lea eax, [0x700fc8]
mov dword [esp + 4], eax
call fcn.0043c340
nop
call fcn.0046aab0
jmp fcn.004922c0