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

Disassembly:
push 0xffffffffffffffff
push 0x4960e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov al, byte [esp + 3]
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
push ebp
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.00401bc0
mov ecx, dword [esi + 0x20]
mov dl, byte [esp + 0x13]
mov dword [esp + 0xd0], ebp
mov dword [esp + 0x44], ecx
mov byte [esp + 0x50], dl
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x60], ebp
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe0]
push eax
push ecx
lea ecx, [esi + 0xdc]
mov byte [esp + 0xd8], 1
call fcn.00451340
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x160]
cmp eax, 1
je 0x46341e
cmp eax, 2
jne 0x463471
mov eax, dword [esi + 0xd8]
mov ecx, dword [esi + 0xd4]
mov edx, dword [esi + 0xd0]
mov edi, dword [esi + 0xcc]
push eax
push ecx
push edx
lea edx, [esi + 0x360]
push edi
push edx
call dword [0x4974d4]
mov eax, dword [esi + 0x16c]
lea ebx, [esi + 0x2ec]
mov dword [esi + 0x118], eax
mov dword [esi + 0x154], eax
mov eax, dword [esi + 0x114]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x150], eax
jmp 0x463475
mov ebx, dword [esp + 0x18]
cmp dword [esi + 0x160], 3
jne 0x4634d7
mov eax, dword [esi + 0x2bc]
mov ecx, dword [esi + 0x2b8]
mov edx, dword [esi + 0x2b4]
mov edi, dword [esi + 0x2b0]
push eax
push ecx
push edx
lea ecx, [esi + 0x360]
push edi
push ecx
call dword [0x4974d4]
mov eax, dword [esi + 0x2b4]
mov ecx, dword [esi + 0x2b0]
lea edx, [esi + 0x220]
mov dword [esi + 0x154], eax
mov dword [esi + 0x150], ecx
mov dword [esi + 0x118], eax
mov dword [esi + 0x114], ecx
mov dword [esp + 0x18], edx
mov ebx, edx
mov eax, dword [esi + 0x114]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
cmp ecx, eax
je 0x4638ed
mov ecx, dword [esi + 0x2d0]
mov edx, dword [esi + 0x2d4]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], 1
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x64], ecx
cmp eax, ebp
mov dword [esp + 0x68], edx
jne 0x46351b
mov dword [esp + 0x24], ebp
jmp 0x463527
mov ecx, dword [ebx + 0x24]
sub ecx, eax
sar ecx, 4
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], ebp
test eax, eax
jle 0x46382c
mov dword [esp + 0x20], 0
jmp 0x463545
mov ebp, dword [esp + 0x28]
mov eax, dword [ebx + 0x20]
mov ecx, dword [0x497530]
mov edx, dword [esp + 0x20]
push ecx
add edx, eax
push 0
push edx
lea ecx, [esp + 0x38]
call fcn.00402010
mov eax, dword [esp + 0x34]
or edi, 0xffffffff
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x628]
cmp eax, edi
je 0x46369d
mov eax, dword [esi + 0x608]
test eax, eax
jne 0x46369d
lea ecx, [esp + 0x13]
push ecx
lea ecx, [esp + 0x80]
call fcn.00449d70
xor eax, eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], eax
mov edx, dword [esi + 0x628]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xb0]
mov byte [esp + 0xd4], 2
mov dword [esp + 0xac], edx
call fcn.00440d30
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x98]
push ecx
push edx
lea ecx, [esi + 0x618]
mov byte [esp + 0xd8], 3
call fcn.0044bbd0
mov ecx, dword [eax]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x6c]
mov edx, dword [eax + 4]
lea eax, [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x78], edx
call fcn.0040e6e0
mov edi, dword [eax]
lea ecx, [esp + 0xb4]
mov byte [esp + 0xd0], 2
mov edx, dword [eax + 4]
mov dword [esp + 0xa4], edx
call fcn.0044a080
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd0], 1
call fcn.0044a080
mov eax, dword [edi + 0x10]
lea edx, [edi + 0x18]
mov dword [esp + 0x48], eax
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x4c], ecx
push edx
lea ecx, [esp + 0x54]
call fcn.0040cc20
mov eax, dword [edi + 0x28]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + ebp*4]
cmp eax, 1
mov eax, dword [ebx + 0x48]
jne 0x46368c
cmp ebp, eax
jne 0x463684
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x20], edx
jmp 0x4636b1
mov eax, dword [esi + 0x28]
mov dword [esi + 0x20], eax
jmp 0x4636b1
cmp ebp, eax
jne 0x463695
mov ecx, dword [esi + 0x2c]
jmp 0x4636ae
mov edx, dword [esi + 0x30]
mov dword [esi + 0x20], edx
jmp 0x4636b1
cmp ebp, dword [ebx + 0x48]
jne 0x4636ab
mov eax, dword [esp + 0x44]
mov dword [esi + 0x20], eax
jmp 0x4636b1
mov ecx, dword [esi + 0x28]
mov dword [esi + 0x20], ecx
mov eax, dword [esp + 0x1c]
xor ebp, ebp
test eax, eax
jle 0x4637f0
mov eax, dword [esp + 0x30]
mov ebx, 1
mov edi, dword [esp + 0x34]
cmp edi, ebp
jb 0x463705
test eax, eax
je 0x463705
mov cl, byte [eax - 1]
test cl, cl
je 0x4636f0
cmp cl, 0xff
je 0x4636f0
push 0
push edi
lea ecx, [esp + 0x34]
call fcn.00402210
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4636fc
mov byte [eax - 1], 0xff
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
lea ecx, [eax + ebp]
jmp 0x46370a
mov ecx, 0x497534
mov dl, byte [ecx]
cmp edi, ebx
mov byte [esp + 0x14], dl
jb 0x463745
test eax, eax
je 0x463745
mov cl, byte [eax - 1]
test cl, cl
je 0x463734
cmp cl, 0xff
je 0x463734
push 0
push edi
lea ecx, [esp + 0x34]
call fcn.00402210
mov eax, dword [esp + 0x30]
test eax, eax
je 0x463740
mov byte [eax - 1], 0xff
mov eax, dword [esp + 0x30]
lea ecx, [ebx + eax]
jmp 0x46374a
mov ecx, 0x497534
mov dl, byte [esp + 0x14]
mov cl, byte [ecx]
cmp dl, 0xfe
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], 0
je 0x4637ba
cmp cl, 0xfe
je 0x4637ba
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0xd8]
mov edi, dword [esi + 0xd28]
lea eax, [esp + 0x14]
push 1
push eax
push ecx
push edx
mov ecx, esi
add ebp, 2
add ebx, 2
mov dword [esi + 0xd28], 0
call fcn.0045f330
mov eax, dword [esi + 0x48]
mov edx, dword [esp + 0x64]
mov ecx, dword [esi + 0x114]
add eax, edx
add ecx, eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0xd28], edi
mov dword [esi + 0x114], ecx
jmp 0x4637e2
mov ecx, dword [esp + 0x1c]
inc ebp
inc ebx
cmp ebp, ecx
je 0x4637ec
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x2d4]
mov dword [esi + 0x114], ecx
mov ecx, dword [esi + 0x118]
add ecx, edx
mov dword [esi + 0x118], ecx
cmp ebp, dword [esp + 0x1c]
jl 0x4636c8
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
mov ebp, dword [esi + 0x118]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x114], eax
mov eax, dword [esp + 0x28]
add ebp, ecx
mov ecx, dword [esp + 0x24]
inc eax
add edx, 0x10
cmp eax, ecx
mov dword [esi + 0x118], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], edx
jl 0x463541
xor ebp, ebp
mov eax, dword [esi + 0x160]
mov edx, dword [esp + 0x44]
cmp eax, 3
mov dword [esi + 0x20], edx
jne 0x463873
mov eax, dword [esi + 0x2a0]
mov ecx, dword [esi + 0x2bc]
mov edx, dword [esi + 0x2b8]
add ecx, eax
add edx, eax
mov eax, dword [esi + 0x2b4]
push ecx
mov ecx, dword [esi + 0x2b0]
push edx
push eax
lea edx, [esi + 0x360]
push ecx
push edx
call dword [0x4974d4]
mov eax, dword [esi + 0x160]
cmp eax, 1
je 0x463883
cmp eax, 2
jne 0x4638ac
mov eax, dword [esi + 0xd8]
mov ecx, dword [esi + 0xd4]
mov edx, dword [esi + 0xd0]
push eax
mov eax, dword [esi + 0xcc]
push ecx
push edx
add esi, 0x360
push eax
push esi
call dword [0x4974d4]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
xor ecx, ecx
cmp ebx, 0xffffffff
setne cl
push edx
mov esi, ecx
call fcn.00485136
mov ecx, dword [esp + 0x34]
add esp, 4
cmp ecx, ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
je 0x4638ff
mov al, byte [ecx - 1]
test al, al
je 0x4638f5
cmp al, 0xff
je 0x4638f5
dec al
mov byte [ecx - 1], al
jmp 0x4638ff
mov dword [ebx + 0x4c], ebp
jmp 0x46382e
dec ecx
push ecx
call fcn.00485136
add esp, 4
mov ecx, dword [esp + 0xc8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret 0x10