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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ddc05
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0xde8598]
xor eax, esp
mov dword [esp + 0x490], eax
push ebx
push esi
push edi
mov eax, dword [0xde8598]
xor eax, esp
push eax
lea eax, [esp + 0x4a8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
push eax
lea ecx, [esp + 0x278]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x38], ebx
call fcn.00493200
lea eax, [esp + 0x70]
mov edi, 1
push 0x502430
push eax
mov dword [esp + 0x4b8], ebx
mov dword [esp + 0x2d4], ebx
mov dword [esp + 0x2e4], edi
mov dword [esp + 0x2ec], 2
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], 0x502400
mov dword [esp + 0x80], 0x501f18
mov dword [esp + 0x84], 0xf2
call fcn.0040c600
mov ecx, dword [esi + 0x38]
add esp, 8
push 0x10
call fcn.00401110
add eax, 0x108
push eax
lea ecx, [esp + 0x260]
push ecx
call fcn.00497c30
push 4
mov byte [esp + 0x4c0], 1
call fcn.004cab98
mov esi, eax
add esp, 0x10
mov dword [esp + 0x20], esi
mov byte [esp + 0x4b0], 2
test esi, esi
je 0x494cde
cmp dword [esp + 0x270], 0x10
mov eax, dword [esp + 0x25c]
jae 0x494cae
lea eax, [esp + 0x25c]
push 0xffffffffffffffff
push eax
lea edx, [esp + 0x58]
push edx
call dword [0x4eb9f8]
add esp, 0xc
mov ebx, edi
push eax
mov ecx, esi
mov byte [esp + 0x4b4], 3
mov dword [esp + 0x38], ebx
call dword [0x4eb8c0]
mov esi, eax
mov dword [esp + 0x40], esi
jmp 0x494cea
mov dword [esp + 0x40], 0
mov esi, dword [esp + 0x40]
mov dword [esp + 0x4b0], edi
test bl, 1
je 0x494d15
mov eax, dword [esp + 0x50]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x494d15
mov edx, dword [esp + 0x50]
mov ebx, dword [0x4eba10]
push edx
call ebx
add esp, 4
jmp 0x494d1b
mov ebx, dword [0x4eba10]
mov edi, dword [0x4eba0c]
push 0xffffffffffffffff
push 0x5023f8
call edi
add esp, 8
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x4b4], 5
call fcn.0040fe10
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x4b0], 7
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x494d66
mov eax, dword [esp + 0x38]
push eax
call ebx
add esp, 4
push 0xffffffffffffffff
push 0x5023f0
call edi
add esp, 8
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x4b4], 8
call fcn.0040fe10
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x4b0], 0xa
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x494dab
mov ecx, dword [esp + 0x3c]
push ecx
call ebx
add esp, 4
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
call dword [0x4eb8c4]
push 4
call fcn.004cab98
add esp, 4
mov dword [esp + 0x34], eax
mov ebx, dword [0x4eb618]
mov byte [esp + 0x4b0], 0xb
test eax, eax
je 0x494e04
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ecx
mov dword [ecx], 0xffffffff
mov ecx, esp
mov dword [ecx], 0xffffffff
mov dword [esp + 0x28], esp
lea ecx, [esp + 0x34]
push ecx
push eax
mov ecx, esi
call ebx
mov edi, eax
mov dword [esp + 0x28], edi
jmp 0x494e10
mov dword [esp + 0x28], 0
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
mov byte [esp + 0x4b4], 0xa
call dword [0x4eb8c4]
push 4
call fcn.004cab98
add esp, 4
mov dword [esp + 0x34], eax
mov byte [esp + 0x4b0], 0xc
test eax, eax
je 0x494e6b
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push ecx
mov dword [ecx], 0xffffffff
mov ecx, esp
mov dword [ecx], 0xffffffff
mov dword [esp + 0x28], esp
lea ecx, [esp + 0x38]
push ecx
push eax
mov ecx, esi
call ebx
mov esi, eax
mov dword [esp + 0x24], esi
jmp 0x494e77
mov dword [esp + 0x24], 0
mov esi, dword [esp + 0x24]
mov eax, dword [edi]
mov ecx, dword [esi]
mov ebx, dword [eax + 0xc]
sub ebx, dword [eax + 8]
mov edx, dword [ecx + 0xc]
sub edx, dword [ecx + 8]
mov eax, dword [eax]
mov byte [esp + 0x4b0], 0xa
mov dword [esp + 0x1c], edx
cmp eax, 1
je 0x494eab
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edx
mov ecx, edi
call fcn.0047b200
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x494ec5
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push edx
mov ecx, esi
call fcn.0047b200
mov edx, dword [esp + 0x1c]
cmp ebx, edx
je 0x494ed6
mov dword [esp + 0x18], 0x213d
jmp 0x495338
mov eax, dword [edi]
mov eax, dword [eax]
cmp eax, 1
je 0x494eec
mov ecx, dword [edi]
mov edx, dword [ecx + 4]
push edx
mov ecx, edi
call fcn.0047b200
mov ebx, dword [edi]
mov eax, dword [ebx + 8]
lea ebx, [ebx + eax*4 + 0x14]
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esp + 0x1c], ebx
cmp ecx, 1
je 0x494f0f
mov edx, dword [esi]
mov eax, dword [edx + 4]
push eax
mov ecx, esi
call fcn.0047b200
mov eax, dword [esi]
mov ecx, dword [eax + 8]
lea edx, [eax + ecx*4 + 0x14]
mov dword [esp + 0x14], edx
lea esp, [esp]
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x494f36
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push edx
mov ecx, esi
call fcn.0047b200
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
lea eax, [eax + ecx*4 + 0x14]
cmp dword [esp + 0x14], eax
je 0x495029
lea esp, [esp]
mov eax, dword [edi]
mov edx, dword [eax]
cmp edx, 1
je 0x494f66
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.0047b200
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
lea eax, [eax + edx*4 + 0x14]
cmp ebx, eax
je 0x49501c
mov ecx, dword [esp + 0x14]
mov edi, dword [0x4eb61c]
lea eax, [esp + 0x44]
push eax
call edi
mov esi, eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
mov byte [esp + 0x4b4], 0xd
call edi
push esi
mov ecx, eax
mov byte [esp + 0x4b4], 0xe
call dword [0x4eb998]
mov edx, dword [esp + 0x48]
mov bl, al
mov byte [esp + 0x4b0], 0xd
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x494fd1
mov ecx, dword [esp + 0x48]
push ecx
call dword [0x4eba10]
add esp, 4
mov edx, dword [esp + 0x44]
mov byte [esp + 0x4b0], 0xa
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x494ff4
mov ecx, dword [esp + 0x44]
push ecx
call dword [0x4eba10]
add esp, 4
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
test bl, bl
jne 0x49500e
add dword [esp + 0x1c], 4
mov ebx, dword [esp + 0x1c]
jmp 0x494f50
add dword [esp + 0x14], 4
mov ebx, dword [esp + 0x1c]
jmp 0x494f20
mov dword [esp + 0x18], 0x213e
jmp 0x495338
mov eax, dword [esi]
mov edx, dword [eax]
cmp edx, 1
je 0x49503f
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.0047b200
mov eax, dword [esi]
mov edx, dword [eax + 8]
lea ebx, [eax + edx*4 + 0x14]
mov dword [esp + 0x14], ebx
lea esp, [esp]
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x495066
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push edx
mov ecx, esi
call fcn.0047b200
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
lea eax, [eax + ecx*4 + 0x14]
cmp ebx, eax
je 0x495327
lea edx, [esp + 0x4c]
push edx
mov ecx, ebx
call dword [0x4eb61c]
lea ecx, [esp + 0x23c]
push ecx
mov ecx, eax
mov byte [esp + 0x4b4], 0xf
call dword [0x4eb9b0]
mov edx, dword [esp + 0x4c]
mov byte [esp + 0x4b0], 0x11
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x4950bf
mov ecx, dword [esp + 0x4c]
push ecx
call dword [0x4eba10]
add esp, 4
lea ecx, [esp + 0x54]
call fcn.00403c30
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x4b4], 0x12
call fcn.004947f0
test eax, eax
jne 0x4952f2
sub esp, 0x1c
lea eax, [esp + 0x258]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call dword [0x4eb314]
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0xcc]
push edx
call fcn.004949e0
mov esi, eax
mov ecx, 0x64
lea edi, [esp + 0x330]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x384]
mov ebx, dword [esp + 0x380]
mov esi, dword [esp + 0x4b8]
mov edi, dword [esp + 0x4bc]
add esp, 0x24
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2d8], ebx
mov dword [esp + 0x2dc], eax
mov dword [esp + 0x2c8], esi
mov dword [esp + 0x2cc], edi
call dword [0x4eb6a4]
lea edx, [esp + 0x90]
push edx
mov ecx, eax
mov byte [esp + 0x4b4], 0x13
call dword [0x4eb9b0]
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x4b0], 0x14
jb 0x495194
mov eax, dword [eax + 4]
jmp 0x495197
add eax, 4
push eax
lea ecx, [esp + 0x2ec]
call dword [0x4eb248]
lea ecx, [esp + 0x90]
mov byte [esp + 0x4b0], 0x13
call dword [0x4eb23c]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x4b0], 0x12
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4951dd
mov edx, dword [esp + 0x20]
push edx
call dword [0x4eba10]
add esp, 4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x23c]
push eax
call fcn.004934f0
cmp dword [esp + 0x254], 0x10
mov ecx, dword [esp + 0x48c]
mov dword [esp + 0x304], ecx
mov ecx, dword [esp + 0x240]
mov dword [esp + 0x2e0], eax
jae 0x49521b
lea ecx, [esp + 0x240]
mov eax, dword [esp + 0x360]
add esi, ebx
adc edi, eax
push edi
push esi
push eax
push ebx
push ecx
lea edx, [esp + 0x94]
push 0x5023c8
push edx
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa0], 0x502400
mov dword [esp + 0xa4], 0x501f18
mov dword [esp + 0xa8], 0x143
call fcn.0040c600
mov ecx, dword [esp + 0x34]
add esp, 0x1c
lea eax, [esp + 0x274]
push eax
call fcn.00493430
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
add dword [esp + 0x14], 4
mov dword [ecx], ecx
mov ecx, dword [esp + 0x68]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x68]
xor edi, edi
mov dword [esp + 0x6c], edi
cmp eax, ecx
je 0x4952b5
nop
mov esi, dword [eax]
push eax
call fcn.004cab6a
mov ecx, dword [esp + 0x6c]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x4952a0
push ecx
call fcn.004cab6a
mov ecx, dword [esp + 0x58]
push ecx
mov dword [esp + 0x70], edi
call fcn.004cab6a
add esp, 8
lea ecx, [esp + 0x23c]
mov byte [esp + 0x4b0], 0xa
call dword [0x4eb23c]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
jmp 0x495050
lea ecx, [esp + 0x54]
mov dword [esp + 0x18], 0x2138
call fcn.0047d300
mov edx, dword [esp + 0x54]
push edx
call fcn.004cab6a
add esp, 4
lea ecx, [esp + 0x23c]
mov byte [esp + 0x4b0], 0xa
call dword [0x4eb23c]
jmp 0x495338
mov ecx, dword [esp + 0x18]
call fcn.00493130
mov dword [esp + 0x18], 0x2134
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x495351
mov ecx, ebx
call dword [0x4eb9d8]
push ebx
call fcn.004cab6a
add esp, 4
mov eax, dword [edi]
test eax, eax
je 0x49536a
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x49536a
mov edx, dword [edi]
push edx
mov ecx, edi
call fcn.0040f8b0
push edi
call fcn.004cab6a
mov eax, dword [esi]
add esp, 4
test eax, eax
je 0x49538c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x49538c
mov edx, dword [esi]
push edx
mov ecx, esi
call fcn.0040f8b0
push esi
call fcn.004cab6a
mov eax, dword [esp + 0x34]
mov edi, dword [0x4eba04]
add esp, 4
mov byte [esp + 0x4b0], 7
test eax, eax
je 0x4953df
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4953df
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0xc]
lea ecx, [eax + edx*4 + 0x14]
mov edx, dword [eax + 8]
mov esi, eax
push ecx
lea eax, [eax + edx*4 + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.00402a60
mov ecx, dword [esi]
test ecx, ecx
jne 0x4953df
push esi
call edi
add esp, 4
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x4b0], 1
test eax, eax
je 0x495423
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x495423
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xc]
lea edx, [eax + ecx*4 + 0x14]
mov ecx, dword [eax + 8]
push edx
lea edx, [eax + ecx*4 + 0x14]
push edx
lea ecx, [esp + 0x34]
mov esi, eax
call fcn.00402a60
mov eax, dword [esi]
test eax, eax
jne 0x495423
push esi
call edi
add esp, 4
lea ecx, [esp + 0x258]
mov byte [esp + 0x4b0], 0
call dword [0x4eb23c]
lea ecx, [esp + 0x274]
mov dword [esp + 0x4b0], 0xffffffff
call fcn.00480b60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x4a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x490]
xor ecx, esp
call fcn.004cab76
mov esp, ebp
pop ebp
ret 4