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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x495a1f
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
test byte [eax], al
mov edx, dword [ecx + 0x13c]
test edx, edx
jne 0x4952f0
mov dword [esp + 0x64], edx
mov eax, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004985d0
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [esp + 8]
mov ebx, dword [0x81dcc0]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
test ebx, ebx
jne 0x4952d1
mov dword [ecx + 0x13c], edx
jmp 0x4952e8
add ecx, 0x13c
mov ebx, edi
mov edi, ecx
mov eax, edx
call fcn.00462500
mov eax, dword [esp + 0x6c]
mov edi, ebx
test ebp, ebp
jne 0x495355
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
test ecx, ecx
jg 0x4952ff
mov ebx, 0xffffffff
jmp 0x495301
mov ebx, ecx
mov ebp, dword [eax]
mov ebp, dword [ebp + 0x13c]
mov dword [esp + 0x64], ebp
test byte [ebp], al
test edx, edx
setne dl
lea esi, [ebp + 4]
mov dword [esp + 0x4c], esi
xor edi, edi
xor edi, edi
mov dword [esp + 0x3c], edi
xor edi, edi
mov dword [esp + 0x38], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
mov dword [esp + 0x30], edi
xor edi, edi
mov dword [esp + 0x58], edi
xor edi, edi
mov dword [esp + 0x54], edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x50], edi
xor edi, edi
jmp 0x49547c
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], esi
lea eax, [0x614360]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x633e64]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x4953a2
mov dword [eax + 8], edx
jmp 0x4953b0
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00462500
mov eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x4953ca
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x14], ecx
jmp 0x4953da
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00462500
mov eax, ecx
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
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
lea ecx, [0x68bcd4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x68
ret
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x4c]
mov ebx, edx
mov edx, 1
mov edi, eax
mov eax, dword [esp + 0x6c]
test ebx, ebx
je 0x495916
mov dword [esp + 0x28], ebx
mov eax, dword [eax]
mov eax, dword [eax + 0x13c]
movzx ebx, byte [eax + 0x258]
test bl, bl
jne 0x495912
mov dword [esp + 0x24], edi
test dl, dl
je 0x4954d5
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00471320
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x4957e0
mov ebp, dword [esp + 0x64]
lea eax, [ebp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0x103
mov dword [esp + 8], 0x103
call fcn.004705a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
cmp ecx, 1
jne 0x495502
cmp byte [eax], 0x2e
je 0x49550e
cmp ecx, 2
jne 0x49552f
cmp word [eax], 0x2e2e
jne 0x49552f
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
jmp 0x49544f
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x74]
test edx, edx
jne 0x4955ea
mov ebx, dword [esp + 0x2c]
inc ebx
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
jb 0x495556
mov esi, dword [esp + 0x50]
jmp 0x495598
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5ff840]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x74]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x20]
mov edi, edx
lea edx, [esi + ebx*8 - 4]
mov dword [edx], ecx
lea ecx, [esi + ebx*8 - 8]
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x4955b2
mov dword [ecx], eax
jmp 0x4955bd
mov edx, edi
mov edi, ecx
call fcn.00462500
mov edi, edx
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x50], esi
mov esi, dword [esp + 0x3c]
jmp 0x4957d6
lea eax, [0x627060]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 4]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x18]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 0x28]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x495655
mov edx, dword [esp + 0x44]
mov dword [eax], edx
jmp 0x495662
mov edi, eax
mov eax, dword [esp + 0x44]
call fcn.00462500
mov eax, edi
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx]
mov ebx, dword [ebx + 0x13c]
mov ebp, dword [ebx + 0x250]
mov ebx, dword [ebx + 0x254]
mov dword [eax + 0x40], ebx
mov ebx, dword [0x81dcc0]
test ebx, ebx
jne 0x49568c
mov dword [eax + 0x3c], ebp
jmp 0x49569a
lea edi, [eax + 0x3c]
mov ebx, eax
mov eax, ebp
call fcn.00462500
mov eax, ebx
mov dword [esp + 0x40], eax
mov byte [eax + 0x50], 1
mov ebx, dword [esp + 0x74]
cmp ebx, 1
jne 0x495742
mov ebp, dword [esp + 0x34]
inc ebp
mov esi, dword [esp + 0x3c]
cmp esi, ebp
jb 0x4956c2
mov edi, dword [esp + 0x58]
jmp 0x495708
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x60eec0]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov edi, eax
mov esi, ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x64]
lea ebx, [edi + ebp*8 - 8]
lea ecx, [0x68c40c]
mov dword [ebx], ecx
lea ebx, [edi + ebp*8 - 4]
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x495726
mov dword [ebx], eax
jmp 0x495731
mov ecx, edi
mov edi, ebx
call fcn.00462500
mov edi, ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
jmp 0x4957d6
mov ebp, dword [esp + 0x38]
inc ebp
mov esi, dword [esp + 0x24]
cmp esi, ebp
jb 0x495755
mov edi, dword [esp + 0x54]
jmp 0x49579b
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], 1
lea eax, [0x617240]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x40]
lea ebx, [edi + ebp*8 - 8]
lea ecx, [0x68c8b8]
mov dword [ebx], ecx
lea ebx, [edi + ebp*8 - 4]
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x4957b9
mov dword [ebx], eax
jmp 0x4957c4
mov ecx, edi
mov edi, ebx
call fcn.00462500
mov edi, ecx
mov eax, esi
mov ecx, ebp
mov ebx, edi
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
dec edx
jmp 0x49544f
mov dword [esp + 0x60], ebp
mov dword [esp + 0x48], ebx
lea eax, [0x68bfa4]
cmp ecx, eax
jne 0x495820
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x68b3d0]
mov dword [esp + 8], eax
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
je 0x495820
mov eax, dword [esp + 0x70]
test eax, eax
mov edi, dword [esp + 0x24]
jmp 0x495918
lea eax, [0x614360]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x63696a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x495865
mov dword [eax + 8], edx
jmp 0x495873
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00462500
mov eax, ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x81dcc0]
test ecx, ecx
jne 0x49588d
mov ecx, dword [esp + 0x48]
mov dword [eax + 0x14], ecx
jmp 0x49589d
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x48]
call fcn.00462500
mov eax, ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x98], ecx
lea ecx, [0x68bcd4]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
add esp, 0x68
ret
test ecx, ecx
jmp 0x495918
test ecx, ecx
jg 0x495928
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
jmp 0x49593d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
lea edx, [ecx + eax]
mov ebx, dword [esp + 0x38]
add edx, ebx
test edx, edx
je 0x4959a4
mov edx, dword [esp + 0x50]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
add esp, 0x68
ret
mov eax, dword [0x7f8398]
mov ecx, dword [0x7f839c]
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
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
add esp, 0x68
ret
call fcn.004610f0
jmp fcn.00495260