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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2e4
mov eax, dword [0x516344]
xor eax, esp
mov dword [esp + 0x2e0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov esi, edx
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x70], eax
call fcn.004035af
xor edi, edi
cmp dword [esi + 4], edi
jle 0x468f68
lea eax, [esp + 0x48]
push eax
mov eax, ebx
call fcn.00468e79
cmp eax, edi
je 0x468f68
mov esi, eax
lea ecx, [esp + 0x48]
call fcn.00403559
mov eax, esi
jmp 0x4696b5
lea ecx, [esp + 0x30]
call fcn.004035af
lea ecx, [esp + 0x24]
call fcn.004035af
cmp byte [ebp + 0x10], 0
jne 0x468fdf
lea eax, [esp + 0x28]
lea esi, [ebx + 0x54]
push eax
call fcn.00459460
pop ecx
lea edi, [esp + 0x30]
call fcn.00441d4c
lea ecx, [esp + 0x28]
call fcn.00403559
mov eax, edi
call fcn.00459060
lea eax, [ebx + 0x5c]
lea edi, [esp + 0x24]
call fcn.00441d4c
mov eax, edi
call fcn.00459060
lea esi, [esp + 0x28]
mov ecx, ebx
call fcn.004696cc
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
mov eax, edi
call fcn.00441f8c
mov ecx, esi
call fcn.00403559
mov esi, dword [esp + 0x2c]
xor edi, edi
lea ecx, [esp + 0x58]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call fcn.004035af
cmp dword [esi + 4], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x1c], edi
jle 0x4694e8
push 0x260
call fcn.004aa8c8
mov esi, eax
pop ecx
cmp esi, edi
je 0x469052
or dword [esi], 0xffffffff
lea eax, [esi + 0x10]
mov byte [esi + 8], 1
call fcn.0047b532
lea ecx, [esi + 0x258]
mov dword [esi + 0x250], edi
mov dword [esi + 0x254], edi
call fcn.004035af
jmp 0x469054
xor esi, esi
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x10], eax
jne 0x4690ac
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x28]
cmp edx, ecx
jb 0x469079
lea edx, [ecx + eax*4]
lea ebx, [esp + 0x28]
cmp ebx, edx
jb 0x4693eb
cmp eax, edi
jne 0x469082
xor ebx, ebx
inc ebx
jmp 0x469094
mov ebx, dword [esp + 0x10]
add ebx, ebx
cmp ebx, edi
jl 0x4690c1
cmp ebx, 0x1fffffff
ja 0x4690c1
push 4
push ebx
push ecx
call fcn.004a9115
add esp, 0xc
cmp eax, edi
je 0x4690c1
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea eax, [eax + ecx*4]
cmp eax, edi
je 0x4690bd
mov dword [eax], esi
inc dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xc]
call fcn.00469dee
mov edi, dword [eax]
mov bl, byte [ebp + 0x10]
xor esi, esi
cmp dword [0x519dc4], esi
lea eax, [edi + 0x10]
mov dword [esp + 0x28], edi
mov dword [esp + 0x6c], eax
mov byte [edi + 8], bl
jg 0x4690fc
lea eax, [esp + 0x48]
call fcn.0047b5cd
test al, al
je 0x4693f5
lea ecx, [esp + 0x20]
call fcn.004035af
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
call fcn.00469dee
mov eax, dword [eax]
test bl, bl
je 0x46921c
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
call fcn.00469dee
mov edi, dword [esp + 0x18]
mov eax, dword [eax]
add edi, 0x6c
mov ecx, edi
call fcn.00469dcd
mov ecx, dword [esp + 0x2c]
mov ebx, eax
mov eax, dword [esp + 0x1c]
call fcn.00469dee
mov eax, dword [eax]
mov ecx, edi
call fcn.00469dcd
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x18]
shr eax, 1
and al, 1
mov byte [esp + 0x3b], al
mov eax, dword [ebx]
mov dword [esi + 4], eax
mov edi, dword [ebx + 4]
lea eax, [ebx + 0x18]
push eax
mov eax, edi
mov dword [esp + 0x6c], edi
call fcn.00469744
lea ecx, [esp + 0x44]
push ecx
mov esi, eax
call fcn.00465f84
pop ecx
pop ecx
cmp edi, 9
je 0x469195
cmp edi, 0xa
jne 0x4691a8
mov edi, dword [esp + 0x28]
add edi, 0x258
lea eax, [esp + 0x40]
call fcn.00441d4c
lea eax, [esp + 0x3c]
push eax
lea esi, [esp + 0x44]
call fcn.00459460
pop ecx
lea edi, [esp + 0x20]
call fcn.00441d4c
lea ecx, [esp + 0x3c]
call fcn.00403559
movzx eax, byte [esp + 0x3b]
neg eax
sbb eax, eax
and eax, dword [esp + 0x18]
je 0x4691dd
add eax, 4
jmp 0x4691df
xor eax, eax
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x6c]
lea ecx, [esi + 0xf0]
push ecx
lea ecx, [esp + 0x24]
push ecx
push eax
push 0
push dword [ebx + 0xc]
lea eax, [esi + 0x54]
push 0
push dword [ebx + 0x10]
call fcn.0047b649
lea ecx, [esp + 0x40]
test eax, eax
jne 0x469493
call fcn.00403559
jmp 0x469372
mov ebx, dword [esp + 0x18]
add ebx, 0x90
mov ecx, ebx
call fcn.00470994
mov esi, dword [eax + 4]
mov dword [esp + 0x68], esi
cmp esi, 9
je 0x46923e
cmp esi, 0xa
jne 0x469282
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
call fcn.00469dee
mov eax, dword [eax]
mov ecx, ebx
call fcn.00470994
mov ecx, dword [esp + 0x18]
push eax
mov eax, esi
call fcn.00469744
lea ecx, [esp + 0x38]
push ecx
mov esi, eax
call fcn.00465f84
pop ecx
pop ecx
add edi, 0x258
call fcn.00441d4c
lea ecx, [esp + 0x34]
call fcn.00403559
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
call fcn.00469dee
mov eax, dword [eax]
mov ecx, ebx
call fcn.00470994
push eax
lea eax, [esp + 0x48]
push eax
lea esi, [esp + 0x38]
call fcn.00465f84
xor edi, edi
push 0x24c
lea eax, [esp + 0xa8]
push edi
push eax
mov dword [esp + 0xac], edi
call fcn.004ab120
add esp, 0x14
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x48]
call dword [0x4df2d4]
push 1
push edi
push edi
push dword [esp + 0xc0]
mov dword [esp + 0xa0], eax
call fcn.004b0f70
mov esi, eax
mov eax, dword [esp + 0xb8]
xor ecx, ecx
add esi, eax
mov ebx, edx
adc ebx, ecx
cmp dword [esp + 0x90], edi
je 0x469316
push dword [esp + 0x90]
call dword [0x4df2f8]
mov eax, dword [esp + 0x68]
cmp eax, 6
je 0x469324
cmp eax, 7
jne 0x46932a
lea eax, [esp + 0x24]
jmp 0x469333
mov ecx, dword [esp + 0x18]
call fcn.00469744
lea edi, [esp + 0x20]
call fcn.00441d4c
mov eax, dword [esp + 0x18]
add eax, 0xf0
push eax
mov eax, edi
mov edi, dword [esp + 0x70]
push eax
xor eax, eax
push eax
push ebx
push esi
push eax
push eax
lea eax, [esp + 0x60]
call fcn.0047b649
lea ecx, [esp + 0x44]
test eax, eax
jne 0x469493
call fcn.00403559
mov esi, dword [esp + 0x18]
lea eax, [esi + 0xa8]
push eax
push 1
lea ecx, [esp + 0x28]
call fcn.0045a9d0
cmp byte [esi + 0x88], 0
pop ecx
pop ecx
je 0x4693a3
cmp dword [esp + 0x68], 6
jne 0x4693a3
lea ebx, [esp + 0x20]
lea esi, [esp + 0x4c]
call fcn.004581c0
mov eax, dword [esp + 0x70]
cmp dword [eax], 0
je 0x4693c6
push dword [esp + 0x6c]
call dword [0x519dcc]
mov ecx, dword [esp + 0x28]
mov dword [ecx + 0x250], eax
mov dword [ecx + 0x254], edx
lea ecx, [esp + 0x20]
call fcn.00403559
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 4]
jge 0x4694e8
xor edi, edi
jmp 0x469019
push 0x80004005
call fcn.004035e7
cmp dword [esp + 0x60], esi
je 0x469409
push dword [esp + 0x60]
call dword [0x4df314]
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x58]
call fcn.00403559
lea esi, [esp + 0x4c]
call fcn.00443155
mov eax, dword [esp + 0x10]
xor ebx, ebx
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x34], eax
jle 0x46945d
mov eax, edi
lea ecx, [esp + 0xc]
call fcn.00469dee
mov esi, dword [eax]
cmp esi, ebx
je 0x469456
lea ecx, [esi + 0x258]
call fcn.00403559
lea eax, [esi + 0x10]
call fcn.0047b56c
push esi
call fcn.004a8f80
pop ecx
inc edi
cmp edi, dword [esp + 0x34]
jl 0x46942b
cmp dword [esp + 0xc], ebx
je 0x469471
push dword [esp + 0xc]
call fcn.004a9087
pop ecx
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00403559
lea ecx, [esp + 0x30]
call fcn.00403559
push 0xb
pop esi
jmp 0x468f58
call fcn.00403559
lea ecx, [esp + 0x20]
call fcn.00403559
cmp dword [esp + 0x60], 0
je 0x4694b7
push dword [esp + 0x60]
call dword [0x4df314]
and dword [esp + 0x60], 0
lea ecx, [esp + 0x58]
call fcn.00403559
lea esi, [esp + 0x4c]
call fcn.00443155
lea esi, [esp + 0xc]
call fcn.00469e0f
lea ecx, [esp + 0x24]
call fcn.00403559
lea ecx, [esp + 0x30]
call fcn.00403559
push 0xe
jmp 0x46948d
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x78], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
xor edi, edi
mov eax, esi
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
call fcn.0047bfb9
mov dword [esp + 0x3c], eax
cmp eax, edi
je 0x4695e9
mov esi, dword [0x4df314]
cmp dword [esp + 0x88], edi
je 0x469550
push dword [esp + 0x88]
call esi
mov dword [esp + 0x88], edi
cmp dword [esp + 0x60], edi
je 0x469560
push dword [esp + 0x60]
call esi
mov dword [esp + 0x60], edi
lea ecx, [esp + 0x58]
call fcn.00403559
lea esi, [esp + 0x4c]
call fcn.00443155
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x34], eax
jle 0x4695b2
mov eax, ebx
lea ecx, [esp + 0xc]
call fcn.00469dee
mov esi, dword [eax]
cmp esi, edi
je 0x4695ab
lea ecx, [esi + 0x258]
call fcn.00403559
lea eax, [esi + 0x10]
call fcn.0047b56c
push esi
call fcn.004a8f80
pop ecx
inc ebx
cmp ebx, dword [esp + 0x34]
jl 0x469580
cmp dword [esp + 0xc], edi
je 0x4695c6
push dword [esp + 0xc]
call fcn.004a9087
pop ecx
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
call fcn.00403559
lea ecx, [esp + 0x30]
call fcn.00403559
mov esi, dword [esp + 0x3c]
jmp 0x468f58
mov eax, dword [esi + 8]
lea ecx, [esp + 0x4c]
call fcn.0047b787
mov esi, dword [0x4df314]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x88], edi
je 0x469618
push dword [esp + 0x88]
call esi
mov dword [esp + 0x88], edi
cmp dword [esp + 0x60], edi
je 0x469628
push dword [esp + 0x60]
call esi
mov dword [esp + 0x60], edi
lea ecx, [esp + 0x58]
call fcn.00403559
lea esi, [esp + 0x4c]
call fcn.00443155
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x34], eax
jle 0x46967a
mov eax, ebx
lea ecx, [esp + 0xc]
call fcn.00469dee
mov esi, dword [eax]
cmp esi, edi
je 0x469673
lea ecx, [esi + 0x258]
call fcn.00403559
lea eax, [esi + 0x10]
call fcn.0047b56c
push esi
call fcn.004a8f80
pop ecx
inc ebx
cmp ebx, dword [esp + 0x34]
jl 0x469648
cmp dword [esp + 0xc], edi
je 0x46968e
push dword [esp + 0xc]
call fcn.004a9087
pop ecx
mov dword [esp + 0xc], edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
call fcn.00403559
lea ecx, [esp + 0x30]
call fcn.00403559
lea ecx, [esp + 0x48]
call fcn.00403559
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a8f8b
mov esp, ebp
pop ebp
ret 0xc