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

Disassembly:
push 0xffffffffffffffff
push 0x5418e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x2ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x2c4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2d4]
mov esi, ecx
mov dword [esp + 0x24], edi
call fcn.004785c0
xor ebx, ebx
mov dword [esp + 0x28], eax
mov eax, dword [edi + 8]
cmp eax, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
jle 0x4a1ba1
mov ecx, edi
call fcn.00475600
mov ebp, eax
add ebp, dword [esp + 0x20]
movzx eax, word [ebp]
cmp eax, 0x102
jg 0x4a1829
je 0x4a16a3
dec eax
cmp eax, 0xb
ja case.0x4a1569.2
movzx eax, byte [eax + 0x4a1ddc]
jmp dword [eax*4 + 0x4a1dcc]
inc dword [esp + 0x14]
jmp case.0x4a1569.2
movzx eax, word [ebp + 4]
cmp ax, 6
ja 0x4a159f
movzx eax, word [ebp + 6]
cmp ax, 0xf
ja 0x4a159f
movzx eax, word [ebp + 8]
mov ecx, 0xcb
cmp ax, cx
jb 0x4a1c47
inc dword [esp + 0x14]
jmp case.0x4a1569.2
mov edx, dword [ebp + 4]
mov cx, word [ebp + 0xa]
xor eax, eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov ax, word [ebp + 8]
mov word [esp + 0xe4], ax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xe0], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0xec], eax
xor eax, eax
mov word [esp + 0xe6], cx
xor ecx, ecx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov edx, 0x1101
mov byte [esp + 0x2ba], cl
mov byte [esp + 0x2bb], cl
mov word [esp + 0xc6], dx
mov byte [esp + 0x2b8], 0x80
mov byte [esp + 0x2b9], 7
mov eax, dword [esp + 0x2b8]
lea edx, [esp + 0xe0]
mov dword [esp + 0xc8], eax
mov word [esp + 0xc4], cx
push edx
lea eax, [esp + 0xc4]
mov byte [esp + 0x2c0], 0xc0
mov byte [esp + 0x2c1], 0x6b
mov byte [esp + 0x2c2], 0x51
mov byte [esp + 0x2c3], 0x61
mov ecx, dword [esp + 0x2c0]
push eax
mov dword [esp + 0xc8], 0x20000
mov dword [esp + 0xd4], ecx
call fcn.0049aa70
add esp, 8
test al, al
jne 0x4a1c9b
inc dword [esp + 0x14]
jmp case.0x4a1569.2
mov eax, dword [ebp + 4]
push ebx
lea edx, [esp + 0x30]
push edx
xor ecx, ecx
push ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x338]
push eax
mov eax, dword [esi + 0x14]
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x1e8], eax
mov dword [esi + 0x1ec], ecx
cmp eax, dword [ebp + 4]
jne 0x4a181a
mov edx, dword [esi + 0x200]
mov eax, dword [ebp + 8]
shr edx, 2
mov dword [esp + 0x1c], 0
test dl, 1
je 0x4a170a
cmp eax, 0x1000
jb 0x4a170a
mov eax, 0x1000
cmp eax, dword [esi + 0x78]
lea ebx, [esi + 0x6c]
jbe 0x4a172b
cmp dword [ebx + 8], 0
push eax
mov ecx, ebx
je 0x4a1722
call fcn.0049ae90
jmp 0x4a172e
push 0
call fcn.004766f0
jmp 0x4a172e
mov dword [ebx + 8], eax
mov eax, dword [ebp + 8]
push 0
mov dword [esi + 0x1d8], eax
add eax, 0xfff
mov dword [esi + 0x1dc], 0
mov ecx, dword [esi + 0x1dc]
push 0x1000
adc ecx, 0
push ecx
push eax
call fcn.005285b0
cmp eax, dword [esi + 0x90]
lea edi, [esi + 0x84]
jbe 0x4a1784
cmp dword [edi + 8], 0
push eax
mov ecx, edi
je 0x4a177b
call fcn.0049b2f0
jmp 0x4a1787
push 0
call fcn.0049af00
jmp 0x4a1787
mov dword [edi + 8], eax
mov eax, dword [esi + 0x74]
mov dword [esp + 0x18], eax
cmp eax, 0x1000
jb 0x4a179d
mov dword [esp + 0x18], 0x1000
cmp dword [ebx + 8], 0
je 0x4a17a8
mov eax, dword [ebx + 4]
jmp 0x4a17aa
xor eax, eax
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x20]
push edx
mov edx, dword [esi + 0x14]
push ecx
push eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x330]
push edx
call ecx
test eax, eax
setne al
test al, al
je 0x4a1ca2
cmp dword [esi + 0x8c], 0
je 0x4a181a
mov edx, dword [edi + 4]
mov byte [edx], 1
cmp dword [esi + 0x74], 0x10
jb 0x4a181a
cmp dword [ebx + 8], 0
je 0x4a17f4
mov ebx, dword [ebx + 4]
jmp 0x4a17f6
xor ebx, ebx
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + eax - 0x10]
lea ecx, [ebx + eax - 0x10]
mov eax, dword [edi + 4]
inc eax
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
inc dword [esp + 0x14]
mov edi, dword [esp + 0x24]
xor ebx, ebx
jmp case.0x4a1569.2
cmp eax, 0x4004
jg 0x4a1a65
je 0x4a186a
sub eax, 0x104
je 0x4a1858
sub eax, 4
jne case.0x4a1569.2
mov eax, dword [ebp + 4]
inc dword [esp + 0x14]
mov dword [esi + 0x1f8], eax
jmp case.0x4a1569.2
mov eax, dword [ebp + 4]
inc dword [esp + 0x14]
mov dword [esi + 0x1fc], eax
jmp case.0x4a1569.2
movzx eax, word [ebp + 2]
movzx edx, ax
sub edx, 4
push edx
lea edi, [ebp + 4]
lea ebx, [esi + 0x9c]
push edi
mov ecx, ebx
call fcn.004766f0
mov eax, dword [edi]
test eax, eax
jne 0x4a19ee
movzx eax, word [ebp + 2]
cmp ax, 8
jbe 0x4a1a56
push 0xffffffffffffffff
lea ecx, [esi + 0x20c]
push 0
call fcn.004770b0
push 0x46570c
lea ecx, [esp + 0x44]
call fcn.0047ae40
lea eax, [esp + 0x40]
push eax
lea ecx, [esi + 0x208]
mov dword [esp + 0x2d0], 2
call fcn.0047b770
cmp dword [esp + 0x5c], 0x10
mov dword [esp + 0x2cc], 0xffffffff
mov dword [esp + 0x40], 0x469080
jb 0x4a18fd
mov ecx, dword [esp + 0x48]
push ecx
call fcn.005265f5
add esp, 4
mov eax, dword [edi + 4]
add edi, 8
mov dword [esp + 0x18], edi
xor edi, edi
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], 0
mov byte [esp + 0x48], 0
mov dword [esp + 0x1c], eax
test eax, eax
jle 0x4a19d0
lea ebx, [ebx]
lea ecx, [esp + 0xf0]
call fcn.0049eec0
lea edx, [esp + 0x2a0]
mov dword [esp + 0x2cc], 3
cmp ebx, edx
je 0x4a196e
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4a195e
mov eax, dword [ebx + 4]
jmp 0x4a1960
xor eax, eax
push ecx
push eax
lea ecx, [esp + 0x2a8]
call fcn.004766f0
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0xf4]
call fcn.0049e8b0
test al, al
je 0x4a1d03
mov ecx, dword [esp + 0xf0]
add dword [esp + 0x18], ecx
lea edx, [esp + 0xf0]
push edx
call fcn.00497c10
mov ecx, eax
call fcn.004a03d0
mov dword [esp + 0x2cc], 0xffffffff
lea ecx, [esp + 0xf0]
test al, al
je 0x4a1d22
call fcn.004974c0
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x4a1930
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x20c]
call fcn.004770b0
inc dword [esp + 0x14]
mov edi, dword [esp + 0x24]
xor ebx, ebx
jmp case.0x4a1569.2
lea edi, [ebp + 8]
test eax, eax
jle 0x4a1a56
mov dword [esp + 0x18], eax
lea esp, [esp]
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov ebx, dword [esi + 0xc8]
mov dword [esp + 0x38], ecx
lea ecx, [esi + 0xb4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 4]
push eax
push edx
push ebx
call fcn.0049af60
push 1
lea ecx, [esi + 0xb4]
mov dword [esp + 0x20], eax
call fcn.0049cf90
mov eax, dword [esp + 0x1c]
mov dword [ebx + 4], eax
mov ecx, dword [eax + 4]
add edi, 0xc
sub dword [esp + 0x18], 1
mov dword [ecx], eax
jne 0x4a1a00
inc dword [esp + 0x14]
mov edi, dword [esp + 0x24]
xor ebx, ebx
jmp case.0x4a1569.2
sub eax, 0x4008
je 0x4a1ad6
sub eax, 1
jne case.0x4a1569.2
mov ecx, dword [esi + 0x5c]
cmp ecx, ebx
je 0x4a1a81
mov eax, dword [esi + 0x58]
jmp 0x4a1a83
xor eax, eax
push ecx
lea ecx, [ebp + 4]
push ecx
push eax
call fcn.00526df0
mov eax, dword [esi + 0xc]
mov edx, eax
shr edx, 0x10
add esp, 0xc
test dl, 1
je 0x4a1aa5
shr eax, 0x11
test al, 1
je 0x4a1acd
mov ecx, dword [esi + 0x5c]
cmp ecx, ebx
je 0x4a1ab1
mov eax, dword [esi + 0x58]
jmp 0x4a1ab3
xor eax, eax
push ebx
lea edx, [esi + 0x1f0]
push edx
push ecx
mov ecx, dword [esi + 8]
push eax
call fcn.004ae940
test al, al
je 0x4a1d2f
inc dword [esp + 0x14]
jmp case.0x4a1569.2
mov eax, dword [ebp + 4]
mov dword [esi + 0x1f0], eax
mov ecx, dword [ebp + 8]
mov dword [esi + 0x1f4], ecx
test byte [ebp + 0x10], 1
je 0x4a1af5
or dword [esi + 0xc], 0x10000
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 0x60]
lea ecx, [esi + 0x54]
jbe 0x4a1b15
push eax
cmp dword [ecx + 8], ebx
je 0x4a1b0d
call fcn.0049ae90
jmp 0x4a1b18
push ebx
call fcn.004766f0
jmp 0x4a1b18
mov dword [ecx + 8], eax
inc dword [esp + 0x14]
test byte [esi + 0xe], 1
je 0x4a1b43
lea edx, [esi + 8]
push edx
lea eax, [esi + 0x1c]
push eax
call fcn.00497c10
mov ecx, eax
call fcn.004a1380
test al, al
je case.0x4a1569.2
or dword [esi + 0xc], 0x20000
jmp case.0x4a1569.2
push 0x62c
call fcn.00526c21
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2cc], 4
cmp eax, ebx
je 0x4a1b6c
mov ecx, eax
call fcn.0047ef50
jmp 0x4a1b6e
xor eax, eax
mov dword [esp + 0x2cc], 0xffffffff
mov dword [esi + 8], eax
movzx eax, word [ebp + 2]
movzx ecx, ax
mov eax, dword [esp + 0x20]
add eax, ecx
cmp eax, dword [edi + 8]
mov dword [esp + 0x20], eax
jl 0x4a1536
cmp dword [esp + 0x14], 0xb
je 0x4a1d9d
or dword [esi + 0xc], 0x20
add esi, 0x20c
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.004770b0
mov eax, 0x4656d8
mov dword [esp + 0xdc], 0xf
mov dword [esp + 0xd8], ebx
mov byte [esp + 0xc8], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4a1bd7
sub eax, ecx
push eax
push 0x4656d8
lea ecx, [esp + 0xcc]
call fcn.004790e0
mov edi, 0x469080
mov dword [esp + 0xc0], edi
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xcc]
push ecx
mov ecx, esi
mov dword [esp + 0x2d8], 6
call fcn.004778c0
cmp dword [esp + 0xdc], 0x10
mov dword [esp + 0xc0], edi
jb 0x4a1cfc
mov edx, dword [esp + 0xc8]
push edx
call fcn.005265f5
add esp, 4
xor al, al
jmp 0x4a1d9f
or dword [esi + 0xc], 0x20
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x20c]
call fcn.004770b0
push 0x465698
lea ecx, [esp + 0xa4]
call fcn.0047ae40
lea edx, [esp + 0xa0]
push edx
lea ecx, [esi + 0x208]
mov dword [esp + 0x2d0], ebx
call fcn.0047b770
lea ecx, [esp + 0xa0]
mov dword [esp + 0x2cc], 0xffffffff
call fcn.00477890
xor al, al
jmp 0x4a1d9f
or dword [esi + 0xc], 0x20
push 0xffffffffffffffff
add esi, 0x20c
push 0
mov ecx, esi
call fcn.004770b0
push 0x4655c0
lea ecx, [esp + 0x64]
call fcn.0047ae40
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
mov dword [esp + 0x2d8], 1
call fcn.004778c0
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x60], 0x469080
jb 0x4a1cfc
mov ecx, dword [esp + 0x68]
push ecx
call fcn.005265f5
add esp, 4
xor al, al
jmp 0x4a1d9f
or dword [esi + 0xc], 0x20
lea ecx, [esp + 0xf0]
mov dword [esp + 0x2cc], 0xffffffff
call fcn.004974c0
xor al, al
jmp 0x4a1d9f
or dword [esi + 0xc], 0x20
call fcn.004974c0
xor al, al
jmp 0x4a1d9f
or dword [esi + 0xc], 0x20
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x20c]
call fcn.004770b0
push 0x465658
lea ecx, [esp + 0x84]
call fcn.0047ae40
lea edx, [esp + 0x80]
push edx
lea ecx, [esi + 0x208]
mov dword [esp + 0x2d0], 5
call fcn.0047b770
cmp dword [esp + 0x9c], 0x10
mov dword [esp + 0x80], 0x469080
jb 0x4a1cfc
mov eax, dword [esp + 0x88]
push eax
call fcn.005265f5
add esp, 4
xor al, al
jmp 0x4a1d9f
mov al, 1
mov ecx, dword [esp + 0x2c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2ac]
xor ecx, esp
call fcn.00526a8a
add esp, 0x2bc
ret 4