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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62bbe0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x652018]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x652018]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x30], esi
mov eax, dword [ebp + 0x18]
xor edx, edx
mov ecx, dword [ebp + 8]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], 0
mov dword [esp + 0x40], edx
mov byte [esp + 0x13], dl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x64], edx
mov byte [esp + 0x1f], dl
mov dword [esp + 0x4c], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x469e05
jmp 0x469a8e
mov ebx, dword [ecx + 0x24]
mov dword [esp + 0x14], 0
mov dword [esp + 0x54], 0
mov byte [esp + 0x50], 0
test ebx, ebx
je 0x469add
mov eax, dword [ebx + 4]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx]
shr eax, 0x1c
and eax, 0xffffff01
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x24]
jmp 0x469b05
mov eax, dword [ecx + 4]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x10]
mov ecx, esi
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
push eax
call fcn.0046766e
mov dword [esp + 0x14], eax
mov edx, dword [eax]
mov ecx, edx
shr ecx, 0x10
test cl, 1
jne 0x469cde
cmp byte [ebp + 0x14], 0
je 0x469c84
shr edx, 0x12
test dl, 1
je 0x469b3a
movzx ecx, word [eax]
cmp cx, 0x53
je 0x469b3a
cmp cx, 0x63
jne 0x469b61
movzx ecx, word [eax]
cmp cx, 0x67
je 0x469b4d
cmp cx, 0x68
jne 0x469c05
push eax
mov ecx, esi
call fcn.004671ce
test al, al
je 0x469c05
mov eax, dword [esp + 0x14]
push 0
push 1
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0
push ecx
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
call fcn.0047270e
mov ebx, dword [esp + 0x24]
lea ecx, [esi + 0x24]
push 0x2c
call fcn.0053ac3e
mov edi, eax
mov eax, 0x4f
mov word [edi], ax
test ebx, ebx
je 0x469bac
mov cx, word [ebx + 2]
and cx, 1
mov dword [edi + 0x24], ebx
or word [edi + 2], cx
mov eax, dword [ebx + 4]
mov ecx, 0x65e308
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov dword [edi + 0x1c], 0x65e308
call 0x3db1de
mov ecx, dword [esp + 0x5c]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], edi
mov word [edi + 0x18], ax
mov eax, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
add eax, 0x28
mov byte [esp + 0x1f], 1
mov dword [esp + 0x5c], eax
mov eax, 1
jmp 0x469c07
xor eax, eax
mov ecx, dword [esi + 0x210]
cdq
push dword [ecx + 0x928]
lea ecx, [esp + 0x74]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004708ee
push 0x2c
lea ecx, [esi + 0x24]
mov ebx, eax
call fcn.0053ac3e
mov edi, eax
mov eax, 0x4f
mov word [edi], ax
test ebx, ebx
je 0x469c4b
mov cx, word [ebx + 2]
and cx, 1
mov dword [edi + 0x24], ebx
or word [edi + 2], cx
mov eax, dword [ebx + 4]
mov ecx, 0x65e308
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov dword [edi + 0x1c], 0x65e308
call 0x3db1de
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [eax], edi
lea eax, [edi + 0x28]
mov dword [esp + 0x68], eax
mov ecx, dword [esi + 0x210]
push 7
call fcn.0040300e
push 0
push 0
lea ecx, [esp + 0x3d]
mov byte [esp + 0x3e], 0
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x43], 0
push ecx
push 0
lea ecx, [esp + 0x4b]
mov dword [esp + 0x38], 0
push ecx
lea ecx, [esp + 0x4e]
mov byte [esp + 0x4d], 0
push ecx
push 0
push 0
push 0
push eax
push dword [esp + 0x40]
mov ecx, esi
call fcn.0046d6ce
mov dword [esp + 0x14], eax
test byte [eax + 2], 1
je 0x469ce3
mov byte [esp + 0x13], 1
cmp byte [esp + 0x50], 0
je 0x469d84
mov edx, dword [esp + 0x54]
mov eax, dword [edx + 0x2c]
mov edi, dword [eax + 0x24]
mov ecx, edi
lea ebx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x469cfe
sub ecx, ebx
lea eax, [edx + 4]
sar ecx, 1
push eax
push ecx
push edi
mov ecx, esi
call fcn.00470a5e
push 0x2c
lea ecx, [esi + 0x24]
mov ebx, eax
call fcn.0053ac3e
mov edi, eax
mov eax, 0x4f
mov word [edi], ax
test ebx, ebx
je 0x469d43
mov cx, word [ebx + 2]
and cx, 1
mov dword [edi + 0x24], ebx
or word [edi + 2], cx
mov eax, dword [ebx + 4]
mov ecx, 0x65e308
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov dword [edi + 0x1c], 0x65e308
call 0x3db1de
inc dword [esp + 0x28]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [eax], edi
lea eax, [edi + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
inc edx
mov dword [esp + 0x40], edx
mov dword [ecx + 0x24], eax
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x469a8e
cmp byte [esp + 0x13], cl
je 0x469df9
push 0x2c
lea ecx, [esi + 0x24]
call fcn.0053ac3e
mov esi, eax
mov eax, 0x2c
mov word [esi], ax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, 0x65e308
mov eax, dword [eax + 0x10]
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], 0x65e308
call 0x3db1de
mov dword [esi + 0x14], eax
mov eax, esi
or word [esi + 2], 1
jmp 0x46a46a
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], 0
test eax, eax
je 0x469efe
cmp edx, eax
je 0x469efe
mov eax, dword [esi + 0x14]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, edx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x18], ecx
jne 0x469e56
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
jne 0x469e56
mov ecx, 1
mov dword [esp + 0x18], ecx
push ecx
mov edx, 3
lea ecx, [esp + 0x58]
call 0x3bd1ce
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
and ecx, 0xfffffffc
sub eax, dword [edx]
mov dword [esp + 0x2c], ecx
cmp eax, ecx
jae 0x469e8a
push dword [esp + 0x18]
mov ecx, edx
call 0x3bcefe
mov edx, dword [esp + 0x14]
push dword [esp + 0x44]
mov ecx, dword [edx]
mov eax, dword [esp + 0x30]
add eax, ecx
push 0
push ecx
mov dword [edx], eax
call 0x5a49da
mov edx, eax
add esp, 0xc
cmp byte [ebp + 0x10], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], edx
je 0x469eb4
dec eax
xor ecx, ecx
mov dword [esp + 0x18], eax
test eax, eax
je 0x469eed
mov ebx, dword [esp + 0x14]
mov edi, eax
mov esi, dword [esp + 0x28]
lea ebx, [ebx]
lea eax, [ecx + esi]
xor edx, edx
div edi
mov dword [ebx + ecx*4], edx
inc ecx
cmp ecx, edi
jb 0x469ece
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
cmp byte [ebp + 0x10], 0
je 0x469efe
mov ecx, dword [esp + 0x40]
lea eax, [ecx - 1]
mov dword [edx + ecx*4 - 4], eax
mov ecx, dword [esi + 0x210]
push 7
call fcn.0040300e
mov ecx, dword [esi + 0x70]
mov edx, 3
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x44]
push 0x10
mov dword [esp + 0x30], eax
call 0x3bd1ce
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
and ecx, 0xfffffffc
sub eax, dword [edx]
mov dword [esp + 0x30], ecx
cmp eax, ecx
jae 0x469f49
push 0x10
mov ecx, edx
call 0x3bcefe
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
mov eax, dword [esp + 0x30]
add eax, ecx
mov dword [edx], eax
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x2c]
and byte [ecx + 1], 0xfe
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x38]
mov byte [ecx], 0x20
mov dword [ecx + 0xc], 1
mov dword [ecx + 4], 0x14
test eax, eax
je 0x469f87
lea edi, [eax + 4]
push dword [esp + 0x14]
push edi
push 0
push ecx
push eax
mov ecx, esi
call fcn.0045b33e
mov edi, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], edi
test byte [edi + 2], 1
je 0x469fb2
mov byte [esp + 0x13], 1
jmp 0x469fda
cmp byte [esp + 0x1f], 0
je 0x469fda
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
push edi
call fcn.00427b8e
mov ecx, dword [esp + 0x30]
mov edi, eax
mov ecx, dword [ecx + 0x1c]
mov dword [edi + 0x1c], ecx
call 0x3db1de
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x210]
lea ecx, [esp + 0x50]
push 0x10
mov edx, 3
mov eax, dword [eax + 0x9d0]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x70]
mov dword [esp + 0x1c], eax
call 0x3bd1ce
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
mov eax, dword [edx + 4]
and ecx, 0xfffffffc
sub eax, dword [edx]
mov dword [esp + 0x30], ecx
cmp eax, ecx
jae 0x46a024
push 0x10
mov ecx, edx
call 0x3bcefe
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
mov eax, dword [esp + 0x30]
add eax, ecx
mov dword [edx], eax
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
and byte [ecx + 1], 0xfe
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x44]
mov byte [ecx], 0x20
mov dword [ecx + 0xc], 1
mov dword [ecx + 4], 0x14
mov dword [ecx + 8], eax
je 0x46a08c
mov eax, dword [esp + 0x3c]
lea edx, [eax + 4]
test eax, eax
jne 0x46a06d
mov edx, dword [esp + 0x20]
push edx
push 0
push ecx
push eax
mov ecx, esi
call fcn.0045b30e
mov ecx, eax
mov eax, dword [esp + 0x3c]
test byte [eax + 2], 1
je 0x46a0a0
mov byte [esp + 0x13], 1
jmp 0x46a0a0
push dword [esp + 0x20]
push 0
push 0
push ecx
push 0x54
mov ecx, esi
call fcn.004731ae
mov ecx, eax
lea eax, [edi + 4]
push eax
push ecx
lea eax, [ecx + 4]
push eax
push 0
push ecx
push 0x65e308
push 0x4f
mov ecx, esi
call fcn.004731ae
add esp, 4
mov ecx, esi
push eax
push edi
push 0x65e308
push 0x4f
call fcn.004731ae
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], eax
jne 0x46a455
cmp byte [esp + 0x1f], 0
je 0x46a46a
mov eax, dword [esi + 0x210]
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x28], 0
push 0x10
mov edi, dword [eax + 0x928]
call 0x3bcd8e
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
and byte [eax + 1], 0xfe
mov dword [eax + 8], edi
mov edi, dword [esp + 0x18]
push edi
push dword [esp + 0x28]
mov byte [eax], 0x20
push 0
push eax
push dword [esp + 0x60]
mov dword [eax + 0xc], 1
mov dword [eax + 4], 0x14
call fcn.0045b36e
mov ecx, dword [esp + 0x58]
mov dword [ecx], eax
test byte [eax + 2], 1
je 0x46a153
mov eax, dword [esp + 0x18]
or word [eax + 2], 1
jmp 0x46a46a
test ebx, ebx
je 0x46a45c
lea ecx, [ecx]
mov ecx, dword [ebx + 0x24]
movzx eax, word [ebx + 0x18]
mov dword [esp + 0x4c], ecx
test edi, edi
je 0x46a170
mov eax, dword [edi + eax*4]
mov dword [esp + 0x38], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esi + 0x210]
push 7
mov dword [esp + 0x40], eax
mov edi, dword [ecx + 0x964]
call fcn.0040300e
mov ebx, eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push eax
push 0
push edi
push eax
push 0
push dword [esp + 0x54]
mov ecx, esi
call fcn.004708ee
push eax
push 0x65e308
push 0x4f
mov ecx, esi
call fcn.004731ae
mov edi, dword [esp + 0x34]
add esp, 4
mov ecx, edi
push eax
push 0
push dword [esp + 0x2c]
push 0
call 0x3f680e
push eax
push edi
mov ecx, esi
call fcn.004733ae
push eax
push ebx
push 0x58
mov ecx, esi
call fcn.004731ae
mov ecx, dword [esp + 0x3c]
mov edi, eax
mov eax, 1
mov dword [esp + 0x58], edi
mov word [edi + 0x2c], ax
call 0x3e941e
test al, al
jne 0x46a358
mov ecx, dword [esi + 0x17c]
test ecx, ecx
je 0x46a223
cmp dword [ecx + 0x159c], 3
jne 0x46a223
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc8]
jmp 0x46a22f
mov eax, dword [esi + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc4]
mov ebx, dword [esp + 0x20]
push ebx
push ecx
push eax
mov ecx, esi
call fcn.0041eaae
test eax, eax
je 0x46a442
mov ecx, dword [esi + 0xc]
push 0
push ebx
push eax
mov ecx, dword [ecx + 0xc]
push dword [ecx + 0xcc]
mov ecx, esi
call fcn.0041e9de
mov dword [esp + 0x30], eax
test eax, eax
je 0x46a442
mov edx, dword [esi + 0x210]
mov ecx, dword [edx]
push dword [ecx + 0x10]
lea ecx, [edx + 0x40]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00402cde
cmp dword [esp + 0x44], 1
jne 0x46a428
mov ecx, dword [esp + 0x48]
call 0x3da59e
cmp eax, 6
jne 0x46a428
push ebx
push 0
push 0
push dword [esp + 0x48]
mov ecx, esi
push 0x54
call fcn.004731ae
mov ecx, dword [esi + 0x210]
mov edi, eax
call 0x3f68ee
push ebx
push 0
push edi
push eax
push 0x56
mov ecx, esi
call fcn.004731ae
push ebx
push 0
push eax
push 0x65e308
push 0x27
mov ecx, esi
call fcn.004731ae
push ebx
push 0
push eax
push 0x65e308
push 0x4f
mov ecx, esi
call fcn.004731ae
push ebx
push 0
push dword [esp + 0x60]
mov ecx, esi
mov edi, eax
push 0x65e308
push 0x27
call fcn.004731ae
push 0
push 0
push 0
push 0
push ebx
push edi
push eax
push 0x65e308
push 0x4f
mov ecx, esi
call fcn.004731ae
push eax
push 0
push 0
push ebx
push 0
push 0x65e308
push dword [esp + 0x58]
mov ecx, esi
call fcn.004733ae
push eax
push ebx
mov ecx, esi
call fcn.004675ee
push 2
push 0
push 0x10000000
push dword [esp + 0x48]
mov ecx, esi
push eax
call fcn.0046beee
mov edi, eax
jmp 0x46a35c
mov ebx, dword [esp + 0x20]
push 0
push 1
push edi
push dword [esp + 0x58]
mov ecx, esi
push ebx
call fcn.00466c6e
mov ecx, dword [esi + 0x210]
mov ebx, eax
mov eax, dword [esp + 0x20]
push eax
push ecx
mov edi, dword [ecx + 0x928]
push eax
push 0
push dword [ecx + 0x964]
mov ecx, esi
push eax
push 0
push dword [esp + 0x54]
call fcn.004708ee
push eax
push 0x65e308
push 0x4f
mov ecx, esi
call fcn.004731ae
mov ecx, dword [esp + 0x30]
add esp, 4
push eax
push 0
push dword [esp + 0x2c]
push 0
call 0x3f680e
push eax
push dword [esp + 0x40]
mov ecx, esi
call fcn.004733ae
push eax
push edi
push 0x58
mov ecx, esi
call fcn.004731ae
mov edi, dword [esp + 0x20]
mov ecx, 1
push edi
push ebx
push eax
push 0x65e308
mov word [eax + 0x2c], cx
mov ecx, esi
push 0x50
call fcn.004731ae
push edi
push 0
push eax
push 0x65e308
push 0x4f
mov ecx, esi
call fcn.004731ae
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x24]
mov dword [ecx], eax
add eax, 0x28
mov ebx, dword [ebx + 0x28]
mov dword [esp + 0x60], eax
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x46a45c
mov edi, dword [esp + 0x14]
jmp 0x46a15e
cmp byte [esi + 0x88], 0
je 0x46a442
mov ecx, dword [esi + 0x210]
push ebx
push dword [esi + 0x1c]
push 3
call fcn.0040305e
push ebx
push 0
push 0
push 0x65e308
push 0x2c
mov ecx, esi
call fcn.004731ae
or word [eax + 2], 1
jmp 0x46a46a
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call 0x59f18f
mov esp, ebp
pop ebp
ret 0x18