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

Disassembly:
push 0xffffffffffffffff
push 0x540bdb
mov eax, dword fs:[0]
push eax
sub esp, 0x3c0
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x3bc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x3d4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3e4]
mov dword [esp + 0x1c], 0
mov ebx, dword [edi + 0x1f28]
mov eax, dword [edi + 0x1f38]
mov edx, dword [edi + 0x1f30]
mov ebp, dword [edi + 0x1f2c]
mov esi, ecx
mov ecx, dword [edi + 0x1f34]
mov dword [esp + 0x18], ebx
mov ebx, dword [edi]
or dword [esi + 0x58], ebx
mov ebx, dword [esp + 0x18]
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebp
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], ecx
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x1f20]
or dword [esi + 0x54], eax
call fcn.00486880
mov cl, byte [esi + 0x56]
and cl, 1
movzx edx, cl
push edi
push edx
mov ecx, eax
mov dword [esp + 0x20], eax
call fcn.00486900
mov ecx, esi
call fcn.00480b40
test al, al
je 0x493852
mov ebx, dword [esp + 0x18]
mov ecx, ebx
call fcn.004ac630
push 0x200
xor ebp, ebp
lea eax, [esp + 0x1d4]
push ebp
push eax
call fcn.00526600
add esp, 0xc
lea ecx, [esp + 0x1d0]
push ecx
mov ecx, ebx
mov dword [esp + 0x1d4], 0x200
call fcn.004ac680
lea ebx, [ebp + 2]
test al, al
je 0x4931ae
test byte [esp + 0x1d4], 1
je 0x493138
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x1d8]
mov dword [edx + 4], eax
test byte [esp + 0x1d4], bl
je 0x49315d
mov ecx, dword [esi + 0x28]
mov dx, word [esp + 0x1de]
mov word [ecx + 8], dx
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x1e0]
mov dword [eax + 0xc], ecx
test byte [esp + 0x1d4], 4
je 0x493174
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x1e4]
mov dword [edx + 0x10], eax
test byte [esp + 0x1d4], 8
je 0x493191
lea ecx, [esp + 0x1e8]
push ecx
mov ecx, dword [esi + 0x28]
add ecx, 0x14
call fcn.004b5f20
test byte [esp + 0x1d4], 0x10
je 0x4931ae
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x268]
push edx
add ecx, 0x54
call fcn.004b5f20
mov eax, dword [esi + 0x28]
cmp dword [eax + 0x2c], ebp
jne 0x49324b
mov ecx, dword [0x55cef8]
cmp byte [ecx + 0x589f24], 0
lea ecx, [ecx + 0x589f24]
je 0x4931da
push ecx
lea ecx, [eax + 0x14]
call fcn.004b5f20
jmp 0x49324b
call fcn.00478640
add eax, 8
push eax
lea ecx, [esp + 0x1b4]
call fcn.004bc340
push 1
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0x1b8]
mov dword [esp + 0x3e4], ebp
call fcn.004bd880
mov ecx, dword [esi + 0x28]
push eax
add ecx, 0x14
mov byte [esp + 0x3e0], 1
call fcn.004b5e20
lea ecx, [esp + 0x130]
mov byte [esp + 0x3dc], 0
call fcn.004bbaf0
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x3dc], 0xffffffff
call fcn.004bbaf0
mov ecx, dword [esi + 0x54]
shr ecx, 0x16
test cl, 1
je 0x49325c
mov eax, dword [esi + 0x28]
or dword [eax + 0x78], ebx
mov eax, dword [edi + 0x1fe8]
push 1
lea edx, [edi + 0x1fe4]
push edx
push eax
lea ecx, [edi + 0x1fec]
push ecx
mov ecx, dword [esi + 0x28]
call fcn.004ae940
test al, al
jne 0x49332f
mov edx, dword [0x55cea4]
lea eax, [edx + 0x589f24]
push eax
lea ecx, [esp + 0x54]
call fcn.0047ae40
mov ecx, dword [0x55cec4]
lea edx, [ecx + 0x589f24]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x3e0], ebx
call fcn.0047ae40
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x3e8], 3
call fcn.0049a100
add esp, 0xc
cmp dword [esp + 0x48], 0x10
mov ebx, 0x469080
mov dword [esp + 0x2c], ebx
jb 0x4932f2
mov eax, dword [esp + 0x34]
push eax
call fcn.005265f5
add esp, 4
cmp dword [esp + 0x6c], 0x10
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebp
mov byte [esp + 0x34], 0
mov dword [esp + 0x3dc], 0xffffffff
mov dword [esp + 0x50], ebx
jb 0x493852
mov ecx, dword [esp + 0x58]
push ecx
call fcn.005265f5
add esp, 4
jmp 0x493852
mov eax, dword [esi + 0x28]
mov dword [eax + 0x424], 0x3e8
test byte [esi + 0x54], 1
push ebp
mov ecx, esi
je 0x49383b
mov edx, dword [edi + 0x1dd8]
push edx
call fcn.0047fbc0
test al, al
je 0x493852
mov eax, dword [edi + 0x1f3c]
push eax
mov ecx, esi
call fcn.00492f30
mov ecx, esi
mov dword [edi + 0x1f28], ebp
mov dword [edi + 0x1f2c], ebp
mov dword [edi + 0x1f30], ebp
mov dword [edi + 0x1f34], ebp
mov dword [edi + 0x1f38], ebp
mov dword [edi + 0x1f3c], ebp
call fcn.0047f770
test al, al
je 0x493852
mov ecx, dword [edi + 0x1f48]
mov eax, dword [edi + 0x1f4c]
mov edx, dword [edi + 0x1f44]
mov dword [esi + 0x7c], ecx
lea ecx, [esp + 0x17]
push ecx
mov ecx, esi
mov dword [esi + 0x78], edx
mov dword [esi + 0x80], eax
mov byte [esp + 0x1b], 0
call fcn.00481190
test al, al
je 0x493852
mov eax, dword [edi + 0x1ddc]
mov ecx, dword [edi + 0x1dd8]
mov dword [edi + 0x1f44], ebp
mov dword [edi + 0x1f48], ebp
mov dword [edi + 0x1f4c], ebp
mov edx, dword [esi]
mov edx, dword [edx + 0xc]
push eax
push ecx
mov ecx, esi
call edx
test al, al
je 0x493852
mov eax, dword [edi + 0x14c]
mov dword [esi + 0x70], eax
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x150]
mov dword [esi + 0x74], eax
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x114]
mov ecx, dword [edi + 0x118]
add ecx, 0x589f24
push eax
push ecx
mov ecx, esi
mov dword [edi + 0x14c], ebp
mov dword [edi + 0x150], ebp
call fcn.0047f790
test al, al
je 0x493852
mov ecx, esi
call fcn.0047f8d0
test al, al
jne 0x4934e5
mov edx, dword [0x55ceb4]
lea eax, [edx + 0x589f24]
push eax
lea ecx, [esp + 0xd4]
call fcn.0047ae40
mov ecx, dword [0x55cec4]
lea edx, [ecx + 0x589f24]
push edx
lea ecx, [esp + 0x74]
mov dword [esp + 0x3e0], 4
call fcn.0047ae40
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x3e8], 5
call fcn.0049a100
add esp, 0xc
lea ecx, [esp + 0x70]
mov byte [esp + 0x3dc], 4
call fcn.00477890
lea ecx, [esp + 0xd0]
mov dword [esp + 0x3dc], 0xffffffff
call fcn.00477890
jmp 0x493852
mov ecx, esi
call fcn.00480e70
test al, al
jne 0x493585
mov eax, dword [0x55ceb8]
lea ecx, [eax + 0x589f24]
push ecx
lea ecx, [esp + 0x114]
call fcn.0047ae40
mov edx, dword [0x55cec4]
lea eax, [edx + 0x589f24]
mov ebx, 6
push eax
lea ecx, [esp + 0xf4]
mov dword [esp + 0x3e0], ebx
call fcn.0047ae40
lea ecx, [esp + 0x110]
push ecx
lea edx, [esp + 0xf4]
push edx
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x3e8], 7
call fcn.0049a100
add esp, 0xc
lea ecx, [esp + 0xf0]
mov byte [esp + 0x3dc], bl
call fcn.00477890
lea ecx, [esp + 0x110]
mov dword [esp + 0x3dc], 0xffffffff
call fcn.00477890
jmp 0x493852
cmp dword [esp + 0x1d4], ebp
jne 0x4935af
push 0x200
lea ecx, [esp + 0x1d4]
push ebp
push ecx
call fcn.00526600
add esp, 0xc
mov dword [esp + 0x1d4], 0x12
mov eax, dword [esi + 0x3c]
mov dx, word [esi + 0x38]
mov dword [esp + 0x1e0], eax
mov al, byte [esp + 0x1d4]
mov dword [esp + 0x1d0], 0x200
mov word [esp + 0x1de], dx
test al, 1
je 0x4935e8
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx + 4]
mov dword [esp + 0x1d8], edx
test al, 4
je 0x4935f9
mov ecx, dword [esi + 0x28]
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x1e4], edx
test al, 8
je 0x493669
mov edx, dword [esi + 0x28]
cmp dword [edx + 0x30], 0x10
jb 0x49360b
mov eax, dword [edx + 0x1c]
jmp 0x49360e
lea eax, [edx + 0x1c]
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493611
sub eax, ebx
cmp eax, 0x80
jae 0x49363d
cmp dword [edx + 0x30], 0x10
jb 0x49362c
mov eax, dword [edx + 0x1c]
jmp 0x49362f
lea eax, [edx + 0x1c]
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x493632
sub eax, ebx
jmp 0x493642
mov eax, 0x80
cmp dword [edx + 0x30], 0x10
jb 0x49364d
mov edx, dword [edx + 0x1c]
jmp 0x493650
add edx, 0x1c
push eax
push edx
lea eax, [esp + 0x1f0]
push eax
call fcn.00526df0
mov al, byte [esp + 0x1e0]
add esp, 0xc
test al, 0x10
je 0x493769
push 1
lea ecx, [esp + 0x174]
push ecx
mov ecx, dword [esi + 0x28]
call fcn.00487f10
mov ebx, 0x10
mov ebp, 8
mov dword [esp + 0x3dc], ebp
cmp dword [eax + 0x1c], ebx
jb 0x49369e
mov eax, dword [eax + 8]
jmp 0x4936a1
add eax, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4936a4
sub eax, edx
cmp eax, 0x80
jae 0x4936f3
mov ecx, dword [esi + 0x28]
push 1
lea edx, [esp + 0x194]
push edx
call fcn.00487f10
mov byte [esp + 0x3dc], 9
mov dword [esp + 0x1c], 1
cmp dword [eax + 0x1c], ebx
jb 0x4936e0
mov eax, dword [eax + 8]
jmp 0x4936e3
add eax, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4936e6
sub eax, edx
mov ebx, eax
jmp 0x4936f8
mov ebx, 0x80
mov ecx, dword [esi + 0x28]
push 1
lea eax, [esp + 0x154]
push eax
call fcn.00487f10
cmp dword [eax + 0x1c], 0x10
jb 0x493715
mov eax, dword [eax + 8]
jmp 0x493718
add eax, 8
push ebx
push eax
lea ecx, [esp + 0x270]
push ecx
call fcn.00526df0
add esp, 0xc
lea ecx, [esp + 0x150]
call fcn.00477890
test byte [esp + 0x1c], 1
mov dword [esp + 0x3dc], ebp
je 0x493750
lea ecx, [esp + 0x190]
call fcn.00477890
lea ecx, [esp + 0x170]
mov dword [esp + 0x3dc], 0xffffffff
call fcn.00477890
xor ebp, ebp
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x1d0]
push edx
mov ecx, ebx
call fcn.004ac6f0
mov eax, dword [0x55cef4]
cmp byte [eax + 0x589f24], 0
jne 0x49379e
push 0x61e0000
mov ecx, ebx
call fcn.004ac5c0
test al, al
je 0x493840
mov ecx, dword [0x55cef4]
lea edx, [ecx + 0x589f24]
push edx
lea ecx, [esp + 0x94]
call fcn.0047ae40
mov eax, dword [0x55ce90]
lea ecx, [eax + 0x589f24]
push ecx
mov ebx, 0xa
lea ecx, [esp + 0xb4]
mov dword [esp + 0x3e0], ebx
call fcn.0047ae40
mov ecx, dword [esi + 0x30]
push 1
push ebp
push 0x186a3
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0xc0]
push eax
push 1
push ebp
push ecx
lea edx, [esp + 0x44]
push edx
mov byte [esp + 0x400], 0xb
call fcn.0049a000
add esp, 0x24
lea ecx, [esp + 0xb0]
mov byte [esp + 0x3dc], bl
call fcn.00477890
lea ecx, [esp + 0x90]
mov dword [esp + 0x3dc], 0xffffffff
call fcn.00477890
jmp 0x493840
call fcn.00492f30
mov ecx, esi
call fcn.0048bbb0
mov ecx, esi
call fcn.004877b0
test al, al
jne 0x49387d
mov eax, dword [esi + 0x58]
shr eax, 9
test al, 1
je 0x493867
or dword [edi + 0x1f20], 0x10
xor al, al
jmp 0x4938d5
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
xor al, al
jmp 0x4938d5
mov ecx, dword [esi + 0x54]
shr ecx, 0xc
test cl, 1
je 0x49389b
lea edx, [edi + 0x1df8]
push edx
call fcn.00492f90
mov ecx, eax
call fcn.00489020
mov ecx, dword [esi + 0x28]
push 0x18
lea eax, [edi + 0x1df8]
push eax
add ecx, 0x2f0
call fcn.004be0a0
mov ecx, esi
call fcn.0048ab10
mov ecx, dword [esi + 0x28]
push 0xa00
add edi, 0x188
push edi
add ecx, 0x2f0
call fcn.004be0a0
mov al, 1
mov ecx, dword [esp + 0x3d4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3bc]
xor ecx, esp
call fcn.00526a8a
add esp, 0x3cc
ret 4