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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6399c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6e9060]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x130], eax
mov dword [edi + 0x12c], ecx
mov esi, dword [edi + 0x144]
add edi, 0x134
cmp dword [edi + 0xc], esi
jbe 0x494485
call 0x579bcb
mov ebx, dword [edi + 0xc]
mov edx, dword [edi]
mov dword [esp + 0x20], edx
cmp ebx, dword [edi + 0x10]
jbe 0x494498
call 0x579bcb
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
push esi
push ecx
push ebx
push eax
lea ebx, [esp + 0x38]
mov esi, edi
call fcn.004a40e1
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x12c]
mov ecx, dword [esi + 0x54]
mov eax, dword [esi + 0x130]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
mov dword [esp + 0x50], eax
mov eax, dword [edx]
mov dword [esp + 0x18], ecx
call eax
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x18], eax
call int.004b4641
xor ebx, ebx
mov dword [esp + 0x80], 0
mov dword [esp + 0x10], ebx
cmp dword [esi + 0x18c], ebx
je 0x494695
cmp dword [esp + 0x14], ebx
jle 0x4945c0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push ebx
call edx
test eax, eax
je 0x49455e
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x494523
xor eax, eax
jmp 0x49452b
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x494543
mov dword [esi], ebx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x4945b1
cmp ecx, esi
jbe 0x49454c
call 0x579bcb
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
mov eax, edi
jmp 0x4945ac
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x49456a
xor ecx, ecx
jmp 0x494573
mov ecx, dword [esp + 0x70]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x6c]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x49458d
mov dword [eax], ebx
add eax, 4
mov dword [esp + 0x6c], eax
jmp 0x4945b1
mov esi, eax
cmp edx, eax
jbe 0x494598
call 0x579bcb
mov eax, dword [esp + 0x5c]
push esi
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x28]
push edx
push eax
lea eax, [esp + 0x6c]
call fcn.004b4741
inc ebx
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jl 0x494506
mov ebx, dword [edi + 0x10]
cmp dword [edi + 0xc], ebx
jbe 0x4945cd
call 0x579bcb
mov esi, dword [edi + 0xc]
mov eax, dword [edi]
mov dword [esp + 0x20], eax
cmp esi, dword [edi + 0x10]
jbe 0x4945e4
call 0x579bcb
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
test eax, eax
je 0x4945ee
cmp eax, ecx
je 0x4945f3
call 0x579bcb
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, ebx
sub edx, esi
sar edx, 2
push edx
push ebx
push esi
mov dword [eax + 8], ecx
call fcn.00499f21
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
add esp, 0x18
mov esi, eax
cmp ecx, eax
jbe 0x49463f
call 0x579bcb
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x20], edx
mov ebx, ecx
cmp ecx, eax
jbe 0x494656
call 0x579bcb
mov edx, dword [esp + 0x20]
test edx, edx
je 0x494660
cmp edx, dword [esp + 0x5c]
je 0x494665
call 0x579bcb
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov edx, esi
sub edx, ebx
sar edx, 2
push edx
push esi
push ebx
mov dword [eax + 8], ecx
call fcn.00499f21
add esp, 0x18
jmp 0x4948aa
cmp dword [esp + 0x14], ebx
jle 0x4948aa
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
test eax, eax
je 0x494848
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, eax
sub ecx, esi
test ecx, 0xfffffffc
je 0x494802
mov ebx, eax
cmp esi, eax
jbe 0x4946e0
call 0x579bcb
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x28], ecx
cmp esi, eax
jbe 0x4946f5
call 0x579bcb
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4946ff
cmp ecx, dword [esp + 0x5c]
je 0x494704
call 0x579bcb
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, ebx
sub eax, esi
sar eax, 2
push eax
push ebx
push esi
call fcn.00499f21
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov eax, edx
sub eax, ecx
sar eax, 2
add esp, 0x18
xor ebx, ebx
test eax, eax
jbe 0x4947c1
cmp ebx, eax
jb 0x494757
call 0x579bcb
mov ecx, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x494769
xor ecx, ecx
jmp 0x494771
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x49478f
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi], ecx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x4947ad
cmp eax, esi
jbe 0x494798
call 0x579bcb
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
push esi
push eax
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, edi
call fcn.004b4741
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov eax, edx
sub eax, ecx
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x494757
mov dword [esp + 0x20], edx
cmp ecx, edx
jbe 0x4947d6
call 0x579bcb
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
mov ebx, ecx
cmp ecx, edx
jbe 0x4947e5
call 0x579bcb
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x5c]
push ecx
push esi
push ebx
push edx
lea ebx, [esp + 0x48]
lea esi, [esp + 0x6c]
call fcn.004a40e1
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x49480d
xor eax, eax
jmp 0x494815
mov eax, dword [edi + 0x14]
sub eax, ecx
sar eax, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, ecx
sar edx, 2
cmp edx, eax
jae 0x49482d
mov dword [esi], ebx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x49489b
cmp ecx, esi
jbe 0x494836
call 0x579bcb
mov eax, dword [edi]
push esi
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov eax, edi
jmp 0x494896
mov edx, dword [esp + 0x68]
test edx, edx
jne 0x494854
xor ecx, ecx
jmp 0x49485d
mov ecx, dword [esp + 0x70]
sub ecx, edx
sar ecx, 2
mov eax, dword [esp + 0x6c]
mov esi, eax
sub esi, edx
sar esi, 2
cmp esi, ecx
jae 0x494877
mov dword [eax], ebx
add eax, 4
mov dword [esp + 0x6c], eax
jmp 0x49489b
mov esi, eax
cmp edx, eax
jbe 0x494882
call 0x579bcb
mov eax, dword [esp + 0x5c]
push esi
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x50]
push edx
push eax
lea eax, [esp + 0x6c]
call fcn.004b4741
inc ebx
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
jl 0x49469f
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
mov ecx, ebx
sub ecx, esi
test ecx, 0xfffffffc
je 0x4949e9
cmp esi, ebx
jbe 0x4948cf
call 0x579bcb
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], eax
cmp esi, dword [esp + 0x6c]
jbe 0x4948e6
call 0x579bcb
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4948f0
cmp eax, dword [esp + 0x5c]
je 0x4948f5
call 0x579bcb
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, ebx
sub eax, esi
sar eax, 2
push eax
push ebx
push esi
call fcn.00499f21
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov eax, edx
sub eax, ecx
sar eax, 2
add esp, 0x18
xor ebx, ebx
test eax, eax
jbe 0x4949b2
cmp ebx, eax
jb 0x494948
call 0x579bcb
mov ecx, dword [esp + 0x68]
mov eax, dword [edi + 0xc]
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x20], ecx
test eax, eax
jne 0x49495a
xor ecx, ecx
jmp 0x494962
mov ecx, dword [edi + 0x14]
sub ecx, eax
sar ecx, 2
mov esi, dword [edi + 0x10]
mov edx, esi
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x494980
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov dword [esi], ecx
add esi, 4
mov dword [edi + 0x10], esi
jmp 0x49499e
cmp eax, esi
jbe 0x494989
call 0x579bcb
mov eax, dword [edi]
mov edx, dword [esp + 0x20]
push esi
push eax
push edx
lea eax, [esp + 0x54]
push eax
mov eax, edi
call fcn.004b4741
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov eax, edx
sub eax, ecx
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x494948
mov ebx, edx
cmp ecx, edx
jbe 0x4949c5
call 0x579bcb
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x5c]
mov edi, ecx
cmp ecx, edx
jbe 0x4949d4
call 0x579bcb
mov ecx, dword [esp + 0x5c]
push ebx
push esi
push edi
push ecx
lea ebx, [esp + 0x58]
lea esi, [esp + 0x6c]
call fcn.004a40e1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
xor esi, esi
push esi
push esi
push eax
call dword [0x6457ec]
mov eax, dword [esp + 0x68]
cmp eax, esi
je 0x494a0b
push eax
call 0x559708
add esp, 4
mov ecx, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
call 0x559708
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8