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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a9cd3
sub esp, 0x54
mov eax, dword [esp + 0x58]
movzx ecx, word [eax]
test cx, 0x80
jne 0x4a95bc
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x54
ret
mov ecx, dword [esp + 0x60]
cmp ecx, 2
jl 0x4a9577
mov edx, dword [esp + 0x5c]
cmp byte [edx], 0x5c
jne 0x4a9577
movzx ebx, byte [edx + 1]
cmp bl, 0x70
je 0x4a9cb0
cmp bl, 0x50
xchg ebp, ebx
setne bl
xchg ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4a9577
cmp bl, 0x50
jne 0x4a9ca6
mov ebx, 0xffffffff
mov dword [esp + 0x28], ebx
lea eax, [ecx - 2]
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.004ab450
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 8]
cmp ebp, 0x7b
test edx, edx
jne 0x4a9c69
cmp ebp, 0x7b
je 0x4a9a71
mov ecx, dword [esp + 0x60]
mov edx, ecx
sub ecx, ebx
test ecx, ecx
jl 0x4a9ccc
cmp ecx, edx
ja 0x4a9ccc
cmp ecx, 2
jb 0x4a9cc5
lea edx, [ecx - 2]
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, 2
mov esi, dword [esp + 0x5c]
add edx, esi
test ebp, ebp
je 0x4a9a68
cmp byte [edx], 0x5e
jne 0x4a9a68
mov edi, dword [esp + 0x28]
xchg edi, ebx
neg ebx
xchg edi, ebx
dec ebp
mov dword [esp + 0x30], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add edx, ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
nop
cmp ebp, 3
jne 0x4a9949
cmp word [edx], 0x6e41
jne 0x4a9949
cmp byte [edx + 2], 0x79
jne 0x4a9949
mov edx, dword [0x5ae428]
mov ebp, edx
test edx, edx
je 0x4a98a0
mov ecx, dword [esp + 0x58]
movzx esi, word [ecx]
test si, 1
jne 0x4a978e
test edi, edi
jle 0x4a9760
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.004aac90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x54
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.004aae70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
jmp 0x4a9727
test ebp, ebp
je 0x4a96f7
mov dword [esp + 0x50], ebp
mov eax, dword [ecx + 0x28]
mov ebx, dword [ecx + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.004aac90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
call fcn.004aac90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], eax
lea edi, [ebx + 0x20]
mov eax, dword [0x5c2560]
test eax, eax
jne 0x4a9894
mov dword [ebx + 0x20], edx
mov dword [esp], edi
call fcn.004aa4e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x4a985b
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004aaa20
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
jmp 0x4a9727
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004aab80
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
jmp 0x4a9727
mov eax, edx
call fcn.0044a9c0
jmp 0x4a9806
lea eax, [0x4dab80]
mov dword [esp], eax
call fcn.004098b0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0x5c2560]
test eax, eax
jne 0x4a993c
lea ecx, [0x4f4785]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x4a9926
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x50eb80]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x54
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044a9c0
mov edi, edx
jmp 0x4a98e3
lea eax, [0x4f4785]
call fcn.0044a9c0
jmp 0x4a98cb
mov dword [esp + 0x48], edx
mov dword [esp + 0x34], ebp
lea eax, [0x4d4be0]
mov dword [esp], eax
mov ecx, dword [0x5b22e0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
call fcn.0040cf90
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x4a99ca
mov dword [esp + 0x44], eax
lea eax, [0x4d4be0]
mov dword [esp], eax
mov eax, dword [0x5b22e4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.0040cf90
mov eax, dword [esp + 0x10]
mov ebp, dword [eax]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
jmp 0x4a96dd
lea eax, [0x4d4be0]
mov dword [esp], eax
mov ecx, dword [0x5b22f0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
call fcn.0040cf90
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x4a9a19
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
xor edx, edx
xor ebp, ebp
jmp 0x4a96dd
mov dword [esp + 0x40], eax
lea eax, [0x4d4be0]
mov dword [esp], eax
mov eax, dword [0x5b22e8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.0040cf90
mov eax, dword [esp + 0x10]
mov ebp, dword [eax]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x40]
jmp 0x4a96dd
mov edi, dword [esp + 0x28]
jmp 0x4a96a6
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x7d
call fcn.00493d20
mov eax, dword [esp + 0xc]
test eax, eax
jl 0x4a9b5f
lea ecx, [eax + 1]
test ecx, ecx
jl 0x4a9cbe
mov edx, dword [esp + 0x60]
cmp ecx, edx
ja 0x4a9cbe
sub edx, ecx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov ebp, dword [esp + 0x5c]
add edx, ebp
cmp eax, 3
jb 0x4a9cb7
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
add eax, 0xfffffffd
mov dword [esp + 0x30], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 3
add eax, ebp
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004ab340
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4a9b22
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
jmp 0x4a9674
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x54
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.004ab340
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4a9c2c
lea eax, [0x4dab80]
mov dword [esp], eax
call fcn.004098b0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0x5c2560]
test eax, eax
jne 0x4a9c1f
lea ecx, [0x4f4785]
mov dword [edi], ecx
mov ecx, dword [esp + 0x60]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x5c2560]
test ecx, ecx
jne 0x4a9c09
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea eax, [0x50eb80]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x54
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x5c]
call fcn.0044a9c0
mov edi, edx
jmp 0x4a9bc6
lea eax, [0x4f4785]
call fcn.0044a9c0
jmp 0x4a9bae
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x54
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
add esp, 0x54
ret
mov ebx, 1
jmp 0x4a95f9
xor ebp, ebp
jmp 0x4a95e5
call fcn.004254a0
ud2
call fcn.004254a0
ud2
call fcn.004254a0
ud2
call fcn.004254a0
ud2
call fcn.00449270
jmp fcn.004a9550