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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], edx
push esi
push edi
mov dword [esp + 0x1c], ebx
mov esi, dword [ebx + 8]
test esi, esi
jne 0x4666d5
cmp dword [ebx + 0x74], esi
jne 0x4666ce
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4666ce
mov byte [ebx + 0x17], 1
call fcn.0042a700
mov esi, eax
mov eax, dword [ebx + 0x28]
dec dword [ebx + 0x38]
dec eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebx + 0x38]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jge 0x46673c
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 0x74]
movzx edi, byte [eax + 0x18]
cmp dword [esi + 0x78], ecx
jg 0x466711
push 0
push edx
push edi
mov edx, 0x30
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x46673c
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x30
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x20], eax
mov edi, dword [ecx + 0x14]
mov dword [esp + 0x28], edi
test edi, edi
jle 0x4667e3
mov edi, dword [esp + 0x10]
nop dword [eax + eax]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dx, word [edx + eax*4]
call fcn.00456920
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi + 0x74]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x78], ecx
jg 0x466799
push 0
push dword [esp + 0x14]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.0042a9a0
mov edi, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4667c4
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
jl 0x466760
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
cmp dword [ebp + 0x20], 0
jne 0x466e50
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x466a74
mov al, byte [ebx + 0x13]
test al, al
jne 0x466807
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
jmp 0x466816
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov edi, dword [ebx + eax*4 + 0x98]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dx, word [eax]
call fcn.00456920
mov edx, dword [ebp + 0x18]
mov ecx, dword [esi + 0x74]
inc edx
cwde
add edx, eax
cmp dword [esi + 0x78], ecx
jg 0x466847
push 0
push edi
push edx
mov edx, 0x4f
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x466876
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
mov dword [esp + 0x28], edx
cmp dword [esi + 0x78], edx
jg 0x46689c
push 0
push 0
push edi
mov edx, 0xf
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x4668cb
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax]
jne 0x466941
cmp dword [ebp + 0x1c], 1
jne 0x466941
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4668fc
push edi
push dword [esp + 0x14]
mov edx, 0x35
mov ecx, esi
push dword [ebp + 0x18]
call fcn.0042a9a0
add esp, 0xc
jmp 0x46692a
mov edx, dword [ebp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x35
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x466941
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov edx, dword [esp + 0x24]
mov ecx, ebx
push 0x64
push dword [ebp + 8]
push edx
mov edx, dword [esp + 0x20]
call fcn.00469780
mov ecx, dword [esi + 0x74]
add esp, 0xc
cmp dword [esi + 0x78], ecx
jg 0x466979
push edi
push 0
push dword [esp + 0x1c]
mov edx, 0x21
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4669a8
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x21
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4669c9
push 0
push dword [esp + 0x14]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0042a9a0
add esp, 0xc
jmp 0x4669fc
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x74]
cmp byte [eax + 0x53], 0
lea ecx, [edx - 2]
je 0x466a11
mov eax, 0x4edf70
jmp 0x466a24
sar ecx, 0x1f
mov eax, edx
sub eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
add eax, 0xffffffe0
mov ecx, dword [esp + 0x28]
mov dword [eax], edx
mov edx, dword [esi + 0x74]
test ecx, ecx
jns 0x466a34
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x466a43
mov eax, 0x4edf68
jmp 0x466a4c
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test edi, edi
je 0x466e50
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x466e50
movzx eax, al
mov dword [ebx + eax*4 + 0x98], edi
inc byte [ebx + 0x13]
jmp 0x466e50
cmp edi, 1
jne 0x466aa2
mov al, byte [ebx + 0x13]
test al, al
jne 0x466a8d
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [esp + 0x18], eax
mov dword [ebx + 0x2c], eax
jmp 0x466acf
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x98]
mov dword [esp + 0x18], eax
jmp 0x466acf
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x18], edx
cmp edi, ecx
jg 0x466abd
lea eax, [edi + edx]
sub ecx, edi
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x1c], ecx
jmp 0x466acc
mov eax, dword [ebx + 0x2c]
lea ecx, [eax + 1]
add eax, edi
mov dword [esp + 0x18], ecx
mov dword [ebx + 0x2c], eax
mov edx, dword [ebp + 0xc]
mov al, byte [ebx + 0x13]
test al, al
jne 0x466ade
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x466aed
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x98]
mov ecx, dword [esi + 0x74]
mov edx, dword [edx + 0x2c]
mov dword [esp + 0x20], eax
cmp dword [esi + 0x78], ecx
jg 0x466b16
push dword [esp + 0x24]
mov ecx, esi
push edx
push dword [esp + 0x1c]
mov edx, 0x64
call fcn.0042a9a0
add esp, 0xc
jmp 0x466b49
mov edi, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 8]
mov ecx, ebx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
call fcn.0045ec90
mov dword [esp + 0x24], eax
test eax, eax
je 0x466b94
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx]
cmp byte [ecx + 0x53], 0
je 0x466b7e
push eax
mov edx, 0xfffffff7
call fcn.0042b470
add esp, 4
jmp 0x466b94
mov eax, dword [edx + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x70]
mov edx, dword [esp + 0x24]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
test edi, edi
jle 0x466c23
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dx, word [eax + ebx*4]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
call fcn.00456920
mov ecx, dword [ebp + 0x18]
inc ecx
cwde
add eax, ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x2c], eax
cmp dword [esi + 0x78], ecx
jg 0x466be3
mov edx, dword [esp + 0x24]
mov ecx, esi
push 0
push edx
push eax
mov edx, 0x4e
call fcn.0042a9a0
add esp, 0xc
jmp 0x466c16
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
inc dword [esp + 0x24]
inc ebx
cmp ebx, edi
jl 0x466ba6
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
cmp eax, dword [ecx]
jne 0x466d5d
cmp dword [ebp + 0x1c], 1
jne 0x466d5d
mov eax, dword [esi + 0x74]
inc eax
add eax, edi
mov dword [esp + 0x2c], eax
test edi, edi
jle 0x466d09
xor ebx, ebx
nop
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dx, word [eax + ebx*4]
call fcn.00456920
mov ecx, dword [ebp + 0x18]
inc ecx
cwde
add eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
movzx edi, word [eax + ebx*2]
mov edx, edi
call fcn.00456920
mov ecx, dword [ebp + 0x18]
cwde
lea edx, [ecx + 1]
add edx, eax
mov eax, dword [ebp + 8]
cmp di, word [eax + 0x20]
mov edi, dword [esp + 0x24]
cmove edx, ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x466cb3
push edx
push dword [esp + 0x30]
mov edx, 0x34
mov ecx, esi
push edi
call fcn.0042a9a0
add esp, 0xc
jmp 0x466cde
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x466cf5
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov edi, dword [esp + 0x28]
inc ebx
mov ecx, dword [ebp + 0x10]
cmp ebx, edi
jl 0x466c50
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x466d2a
push 0
push dword [esp + 0x14]
mov edx, 0xb
mov ecx, esi
push 0
call fcn.0042a9a0
add esp, 0xc
jmp 0x466d5d
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp + 0xc]
push edi
push ecx
mov ecx, dword [ebx]
call fcn.00469930
add esp, 4
mov edx, 0x5f
mov ecx, esi
push eax
push dword [esp + 0x28]
push edi
push dword [esp + 0x28]
call fcn.0042ace0
mov ecx, dword [esi + 0x74]
add esp, 0x14
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x78], ecx
jg 0x466db4
push dword [esp + 0x20]
mov edx, 0x1f
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.0042a9a0
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, eax
jmp 0x466deb
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
jne 0x466e06
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], 0
test edx, edx
je 0x466e1e
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x466e1e
movzx eax, al
mov dword [ebx + eax*4 + 0x98], edx
inc byte [ebx + 0x13]
cmp edi, 1
jne 0x466e41
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x466e50
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x466e50
movzx eax, al
mov dword [ebx + eax*4 + 0x98], ecx
inc byte [ebx + 0x13]
jmp 0x466e50
cmp edi, dword [ebx + 0x1c]
jle 0x466e50
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], eax
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx + 0x18]
lea edx, [ecx + 0x18]
test al, al
jne 0x466f2e
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
and eax, 0x80000
or eax, 0
jne 0x466f2c
cmp dword [ebx + 0x74], eax
jne 0x466f2c
cmp byte [ebx + 0x14], al
jne 0x466f2c
mov edi, dword [ebx + 8]
test edi, edi
jne 0x466ea2
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x466e99
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.0042a700
mov edi, eax
mov ecx, dword [ebx + 0x74]
test ecx, ecx
cmovne ebx, ecx
mov byte [ebx + 0x15], 1
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x466ed2
push 0
push 2
push 0x313
mov edx, 0x45
mov ecx, edi
call fcn.0042a9a0
add esp, 0xc
mov edx, eax
jmp 0x466f05
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0x313
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.0042b7b0
mov eax, dword [edi + 0x74]
add esp, 8
test eax, eax
jle 0x466f93
lea ecx, [eax + eax*4]
mov edx, 4
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x466f93
mov al, byte [edx]
mov edi, dword [ebp + 0x1c]
test edi, edi
jle 0x466f48
test al, al
jne 0x466f48
mov eax, dword [ebx + 0x74]
lea edx, [ecx + 0x18]
test eax, eax
cmovne ebx, eax
mov byte [ebx + 0x15], 1
mov ecx, dword [esi + 0x74]
movzx edx, byte [edx]
cmp dword [esi + 0x78], ecx
jg 0x466f68
push 0
push edi
push edx
mov edx, 0x9c
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x466f93
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x9c
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x10]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x466fb1
push edx
mov edx, esi
call fcn.0042b160
add esp, 4
jmp 0x466fba
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x466fe0
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x78
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
pop edi
pop esi
pop ebx
mov dword [eax + ecx*4], 0x78
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esp, ebp
pop ebp
ret