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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62b852
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x652018]
xor eax, esp
mov dword [esp + 0x2d0], eax
push ebx
push esi
push edi
mov eax, dword [0x652018]
xor eax, esp
push eax
lea eax, [esp + 0x2e8]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x28]
mov edi, dword [ebp + 0x34]
mov edx, dword [ebp + 0x40]
cmp word [ecx], 0x6b
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
jne 0x460e82
lea ecx, [esp + 0x6c]
call dword [0x660330]
mov dword [esp + 0x2f0], 0
mov dword [esp + 0x6c], 0x40cc48
mov dword [esp + 0x78], 0x41bca0
mov dword [esp + 0x2f0], 0xffffffff
lea eax, [esp + 0x6c]
push 0x651bb0
push eax
call 0x5a4c84
mov dword [esi], 0
mov dword [edi], 0
cmp word [ecx], 0x6a
mov dword [esp + 0x24], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
jne 0x460ec1
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], ecx
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x460efa
mov ecx, dword [eax + 0x50]
call 0x3dc91e
mov ecx, eax
call 0x3c4d6e
mov ecx, dword [esp + 0x50]
cmp eax, dword [ecx + 0x28]
jne 0x460efa
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x28], eax
mov edx, dword [eax + 0x54]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov dword [esp + 0x30], edx
jmp 0x460efd
mov eax, dword [ecx + 0x2c]
mov dword [esi], eax
xor edx, edx
mov eax, dword [esp + 0x68]
cmp byte [eax], 0x29
setne dl
xor edi, edi
dec edx
mov dword [esp + 0x48], edi
and edx, eax
cmp byte [esp + 0x38], 0
mov eax, dword [ecx + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x88], eax
mov eax, dword [ecx + 0x28]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x40], eax
mov byte [esp + 0x13], 0
jne 0x461106
lea eax, [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x54]
mov dword [esp + 0x20], eax
test eax, eax
je 0x461106
lea edi, [ebx + 0x6c]
lea esi, [ebx + 0x24]
mov ecx, eax
call 0x3dd1ee
mov ecx, eax
cmp byte [ecx], 2
jne 0x460f8d
mov ecx, dword [ecx + 8]
call 0x3dc91e
mov ecx, eax
mov edx, dword [esp + 0x4c]
sub esp, 0x10
mov eax, esp
mov dword [eax + 8], edx
mov edx, edi
mov byte [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
call fcn.0041f36e
mov edi, eax
test edi, edi
jne 0x460fd3
lea eax, [esp + 0x7c]
mov ecx, ebx
push eax
push 0x65e308
push 0x2c
call fcn.0042861e
mov esi, eax
or word [esi + 2], 1
jmp 0x461018
push 0x2c
mov ecx, esi
call fcn.0053ac3e
mov esi, eax
mov ecx, edi
mov eax, 0x23
mov word [esi], ax
mov eax, dword [esp + 0x7c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], edi
call 0x3db1de
mov dword [esi + 0x14], eax
push 0x30
lea ecx, [ebx + 0x24]
call fcn.0053ac3e
mov edi, eax
mov eax, 0x27
mov word [edi], ax
test esi, esi
je 0x46103f
mov cx, word [esi + 2]
and cx, 1
mov dword [edi + 0x24], esi
or word [edi + 2], cx
mov eax, dword [esp + 0x7c]
mov ecx, 0x65e308
mov dword [edi + 4], eax
mov eax, dword [esp + 0x80]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x84]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [edi + 0x10], eax
mov dword [edi + 0x1c], 0x65e308
call 0x3db1de
push 0x2c
lea ecx, [ebx + 0x24]
mov dword [edi + 0x14], eax
call fcn.0053ac3e
mov esi, eax
mov eax, 0x4f
mov word [esi], ax
mov cx, word [edi + 2]
and cx, 1
mov dword [esi + 0x24], edi
or word [esi + 2], cx
mov ecx, 0x65e308
mov eax, dword [esp + 0x7c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esi + 0x10], eax
mov dword [esi + 0x1c], 0x65e308
call 0x3db1de
mov dword [esi + 0x14], eax
lea edi, [ebx + 0x6c]
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
lea eax, [esi + 0x28]
mov dword [esp + 0x2c], eax
lea esi, [ebx + 0x24]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x460f75
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
cmp byte [ebp + 0x30], 0
je 0x461110
xor esi, esi
jmp 0x46113d
sub esp, 0x10
mov eax, esp
mov byte [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
mov ecx, dword [ecx + 0x50]
call 0x3dc91e
lea edx, [ebx + 0x6c]
mov ecx, eax
call fcn.0041f36e
mov esi, eax
test edi, edi
jne 0x461148
mov eax, dword [esp + 0x58]
mov byte [eax], 0
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
and eax, 0x2000
mov dword [esp + 0x2c], eax
je 0x461170
mov ecx, dword [esp + 0x40]
call 0x3fbafe
mov edi, eax
jmp 0x461216
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
test esi, esi
je 0x46118f
mov ecx, esi
call 0x3db1de
cmp eax, 1
mov eax, 0x200
jne 0x461194
mov eax, 0x100
or eax, 0x8480
mov ecx, ebx
or dword [esp + 0x44], eax
lea eax, [esp + 0x11]
push eax
lea eax, [esp + 0x16]
push eax
lea eax, [esp + 0x1b]
push eax
mov eax, dword [esp + 0x5c]
push dword [eax + 0x24]
call fcn.004629fe
push eax
push dword [esp + 0x54]
xor eax, eax
mov ecx, ebx
cmp byte [esp + 0x4c], al
push 0
push 0
push dword [esp + 0x4c]
setne al
push dword [esp + 0x44]
dec eax
push dword [esp + 0x38]
and eax, edi
push esi
push dword [esp + 0x8c]
push eax
push dword [esp + 0x74]
lea eax, [esp + 0xb4]
push eax
call fcn.004c9cfe
cmp byte [esp + 0x11], 0
je 0x461205
mov ecx, dword [esp + 0x58]
mov byte [ecx], 0
test eax, eax
je 0x461214
mov ecx, eax
call 0x3fbafe
mov edi, eax
jmp 0x461216
xor edi, edi
mov byte [esp + 0x1f], 0
test edi, edi
je 0x461404
movzx eax, byte [edi]
test byte [eax + eax*2 + 0x405210], 4
je 0x4613b3
mov ecx, edi
call 0x3c4d6e
mov ecx, eax
call 0x3db47e
test al, al
je 0x4613b3
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x46125d
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
jmp 0x4613b7
cmp dword [esp + 0x24], 0
je 0x4612ac
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x46127a
mov ecx, edi
call 0x3e9c7e
mov ecx, eax
call 0x3c4d6e
push dword [ebx + 0x10]
lea esi, [ebx + 0x6c]
mov edx, edi
push esi
mov ecx, eax
call fcn.0042194e
push 0
push eax
push dword [esp + 0x38]
mov ecx, esi
push dword [esp + 0x30]
push edi
push 0
call fcn.004186fe
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, ecx
jmp 0x4613b7
cmp byte [ebx + 0x88], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1d], 1
mov byte [esp + 0x1b], 1
mov byte [esp + 0x1e], 1
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0x1c], 0
mov byte [esp + 0x12], 0
je 0x46130c
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x46130c
call 0x3ce1ae
mov dword [esp + 0x28], eax
jmp 0x461314
mov dword [esp + 0x28], 0
lea eax, [esp + 0x12]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x44]
push eax
push ecx
push dword [ebp + 0x2c]
lea eax, [esp + 0x36]
push eax
lea eax, [esp + 0x3b]
push eax
lea eax, [esp + 0x3b]
push eax
lea eax, [esp + 0x41]
push eax
lea eax, [esp + 0x41]
push eax
lea eax, [esp + 0x46]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x45]
push eax
sub esp, 0x10
lea eax, [esp + 0x68]
push eax
sub esp, 0xc
lea eax, [esp + 0xd4]
push esi
push dword [esp + 0xa4]
push dword [esp + 0x74]
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004643de
cmp byte [ebx + 0x88], 0
je 0x461393
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x461393
call 0x3ce1ae
jmp 0x461395
xor eax, eax
cmp byte [esp + 0x11], 0
je 0x4613b3
cmp byte [ebx + 0x88], 0
je 0x4615e5
cmp eax, dword [esp + 0x28]
jg 0x4615e5
mov eax, dword [esp + 0x14]
cmp byte [esp + 0x13], 0
je 0x4613ca
mov eax, dword [esp + 0x54]
mov dword [eax], 0x2000
jmp 0x461404
mov ecx, dword [eax]
sub esp, 0x10
mov eax, esp
push 0
mov dword [eax + 8], ecx
mov ecx, ebx
mov byte [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
lea eax, [ebx + 0x6c]
push eax
push dword [ebp + 0x30]
push dword [esp + 0x68]
push dword [esp + 0x5c]
push edi
call fcn.0048caae
mov ecx, dword [esp + 0x54]
mov dword [ecx], eax
test dword [ebp + 0xc], 0x4000
je 0x461422
mov ecx, edi
call 0x3e0c1e
test eax, eax
je 0x46141e
cmp dword [eax + 0x4c], 0
je 0x461425
xor eax, eax
jmp 0x461425
mov eax, dword [ebx + 0x7c]
mov esi, dword [esp + 0x34]
mov byte [esi], 0
test eax, eax
je 0x46143b
mov eax, dword [eax + 0xb0]
and eax, 0x20
jmp 0x461440
mov eax, 1
mov ecx, dword [esp + 0x54]
xor edx, edx
cmp dword [esp + 0x2c], edx
setne dl
cmp dword [esp + 0x5c], 0
mov ecx, dword [ecx]
mov byte [esi], 0
je 0x461464
mov esi, dword [esp + 0x5c]
mov byte [esi], 0
mov esi, dword [esp + 0x34]
test ecx, 0x3a00
jne 0x4614a0
test cl, 0xc
jne 0x46147d
test dl, dl
jne 0x461479
test cl, cl
js 0x46147d
xor cl, cl
jmp 0x46147f
mov cl, 1
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x461489
mov byte [edx], cl
test eax, eax
je 0x461499
test cl, cl
mov byte [esi], 1
sete al
test al, al
je 0x4614a5
mov eax, edi
jmp 0x4615e7
cmp byte [esi], 0
je 0x4614ac
mov eax, dword [esp + 0x58]
mov byte [eax], 0
cmp byte [ebx + 0x88], 0
je 0x4615e5
push ecx
lea ecx, [esp + 0x1b8]
call fcn.0041538e
mov dword [esp + 0x2f0], 1
push ecx
lea ecx, [esp + 0x90]
call fcn.0041538e
mov byte [esp + 0x2f0], 2
mov ecx, edi
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 1
push 0
push dword [eax]
lea eax, [esp + 0x1cc]
push eax
call 0x3e0aae
push eax
push dword [ebx + 0xc]
mov ecx, edi
call 0x3dd7ae
mov ecx, dword [esp + 0x60]
movzx eax, byte [ecx]
mov al, byte [eax + eax*2 + 0x405211]
and al, 0x80
movzx esi, al
neg esi
sbb esi, esi
and esi, ecx
mov ecx, dword [ebx + 0x14c]
test ecx, ecx
jne 0x461537
xor eax, eax
jmp 0x46153c
call 0x3e0aae
push 0
push 0
push 0
push 1
push 0
push esi
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x84]
push eax
push dword [ebx + 0xc]
call 0x3c4d6e
mov ecx, eax
call 0x3dd7ae
mov edx, dword [esp + 0x34]
movzx eax, byte [edx]
neg eax
sbb eax, eax
and eax, 0x1590
add eax, 0x79a7
cmp byte [ebx + 0x88], 0
je 0x4615ba
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jne 0x461594
mov ecx, 0x404b4c
mov edx, dword [esp + 0x1d0]
test edx, edx
jne 0x4615a4
mov edx, 0x404b4c
push ecx
push edx
lea ecx, [esp + 0x84]
push ecx
push eax
push dword [ebx + 0x1c]
call 0x3cd1ce
add esp, 0x14
mov byte [esp + 0x2f0], 1
lea ecx, [esp + 0x8c]
call 0x3cc30e
mov dword [esp + 0x2f0], 0xffffffff
lea ecx, [esp + 0x1b4]
call 0x3cc30e
xor eax, eax
mov ecx, dword [esp + 0x2e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call 0x59f18f
mov esp, ebp
pop ebp
ret 0x44