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

Disassembly:
push ebp
mov ecx, 0x4c15e4
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
call fcn.0042bb30
mov edx, eax
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x466249
mov eax, dword [ebp + 0x20]
lea eax, [eax*8 + 0x1b]
shr eax, 4
shl eax, 4
call fcn.0040c6f0
sub esp, eax
lea ecx, [ebp + 8]
lea eax, [esp + 0x13]
and eax, 0xfffffff0
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x10]
mov dword [esp], eax
call fcn.0042a030
sub esp, 4
test al, al
je 0x4658ac
mov eax, dword [ebp + 8]
movzx esi, word [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x28]
or dword [eax], 4
mov eax, dword [ebp - 0x3c]
mov word [ebp + 0xc], si
mov edx, dword [ebp + 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 8]
mov dword [ebp - 0x40], eax
movzx eax, word [ebp + 0x14]
mov word [ebp - 0x42], ax
call fcn.0042a0d0
mov edi, dword [ebp + 8]
movzx esi, word [ebp + 0xc]
movzx ebx, ax
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], ebx
call dword [eax + 0x20]
mov ecx, edi
sub esp, 4
mov word [ebp - 0x20], ax
mov eax, dword [edi]
mov dword [esp], ebx
mov dword [ebp - 0x1c], edi
call dword [eax + 0x18]
mov ebx, dword [ebp + 0x20]
sub esp, 4
mov ecx, eax
test ebx, ebx
je 0x46588c
mov ebx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x24]
xor edi, edi
mov word [ebp - 0x38], si
mov dword [ebp - 0x28], edi
mov esi, dword [ebp - 0x1c]
lea eax, [eax + ebx*4]
mov word [ebp - 0x34], cx
mov edi, dword [ebp + 0x1c]
xor ebx, ebx
mov dword [ebp - 0x4c], eax
jmp 0x465928
add ebx, 1
cmp dword [ebp + 0x20], ebx
je 0x465994
mov edx, dword [edi + ebx*4]
mov eax, dword [esi]
mov ecx, esi
movzx edx, word [edx]
mov dword [esp], edx
call dword [eax + 0x20]
sub esp, 4
cmp word [ebp - 0x20], ax
je 0x46595a
mov edx, dword [edi + ebx*4]
mov eax, dword [esi]
mov ecx, esi
movzx edx, word [edx]
mov dword [esp], edx
call dword [eax + 0x18]
sub esp, 4
cmp word [ebp - 0x34], ax
jne 0x465920
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x4c]
lea edx, [eax*4]
mov eax, dword [edi + ebx*4]
add ecx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
mov dword [esp], eax
call sub.msvcrt.dll_wcslen
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
add dword [ebp - 0x28], 1
mov dword [ecx], eax
mov eax, dword [ebp - 0x24]
mov dword [eax + edx], ebx
add ebx, 1
cmp dword [ebp + 0x20], ebx
jne 0x465928
mov edi, dword [ebp - 0x28]
movzx esi, word [ebp - 0x38]
mov dword [ebp - 0x50], ebx
cmp edi, 1
jbe 0x46623d
cmp word [ebp - 0x42], 0xffff
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x30], 0
sete byte [ebp - 0x43]
lea esi, [esi]
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov edx, edi
and edx, 1
cmp eax, ebx
mov dword [ebp - 0x20], eax
cmovbe ebx, eax
mov eax, 2
cmp eax, edi
jae 0x465a08
test edx, edx
je 0x4659f0
mov eax, dword [esi + 8]
cmp ebx, eax
cmova ebx, eax
mov eax, 3
cmp eax, edi
jae 0x465a08
mov edx, dword [esi + eax*4]
cmp ebx, edx
cmova ebx, edx
mov edx, dword [esi + eax*4 + 4]
cmp ebx, edx
cmova ebx, edx
add eax, 2
cmp eax, edi
jb 0x4659f0
mov ecx, dword [ebp - 0x3c]
add dword [ebp - 0x30], 1
mov edx, dword [ebp - 0x30]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x465cb8
add eax, 2
mov dword [ecx + 8], eax
cmp ebx, edx
je 0x465d5c
cmp dword [ebp - 0x30], ebx
jae 0x465bb0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x465ce2
movzx eax, word [eax]
cmp ax, 0xffff
je 0x465cf4
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x465a64
xor ebx, ebx
cmp byte [ebp - 0x43], 0
jne 0x465c68
cmp word [ebp - 0x42], 0xffff
jne 0x465b66
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x465ca4
nop
movzx ecx, word [eax]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
cmp cx, 0xffff
je 0x465c37
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call edx
mov ebx, dword [ebp - 0x3c]
sub esp, 4
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x465d4f
movzx eax, word [eax]
movzx edx, ax
cmp ax, 0xffff
je 0x465d31
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x18]
sub esp, 4
mov word [ebp - 0x34], ax
test edi, edi
je 0x465bb0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], esi
xor ebx, ebx
add eax, eax
mov dword [ebp - 0x28], eax
jmp 0x465b22
mov eax, dword [ebp - 0x1c]
movzx ecx, word [edx]
mov eax, dword [eax]
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call dword [eax + 0x18]
sub esp, 4
cmp word [ebp - 0x34], ax
je 0x465b53
mov eax, dword [ebp - 0x24]
sub edi, 1
mov eax, dword [eax + edi*4]
mov dword [esi], eax
mov esi, dword [ebp - 0x38]
mov eax, dword [esi + edi*4]
mov dword [esi + ebx*4], eax
cmp ebx, edi
jae 0x465b5a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x28]
lea esi, [eax + ebx*4]
mov eax, dword [esi]
add edx, dword [ecx + eax*4]
mov eax, dword [ebp - 0x1c]
movzx ecx, word [edx]
mov dword [ebp - 0x20], edx
mov eax, dword [eax]
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call dword [eax + 0x20]
mov edx, dword [ebp - 0x20]
sub esp, 4
cmp word [ebp - 0x2c], ax
jne 0x465af0
add ebx, 1
cmp ebx, edi
jb 0x465b22
mov esi, dword [ebp - 0x38]
cmp edi, 1
ja 0x4659c0
mov esi, 0xffffffff
cmp edi, 1
jne 0x46588c
mov ecx, dword [ebp - 0x3c]
call fcn.004977a0
mov edi, dword [ebp - 0x24]
add dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
mov edi, dword [edi]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x4c]
mov edi, dword [edi]
mov dword [ebp - 0x20], edi
cmp eax, edi
jb 0x466225
mov edi, dword [ebp - 0x30]
cmp dword [ebp - 0x20], edi
je 0x465f35
lea esi, cs:[esi]
nop
mov esi, 0xffffffff
jmp 0x46588c
test bl, bl
je 0x465f58
mov eax, dword [esi]
cmp edi, 1
jbe 0x465c06
lea ebx, [esi + edi*4]
lea edx, [esi + 4]
mov ecx, ebx
sub ecx, edx
and ecx, 4
je 0x465bf0
mov edx, dword [esi + 4]
cmp eax, edx
cmova eax, edx
lea edx, [esi + 8]
cmp edx, ebx
je 0x465c06
lea esi, cs:[esi]
nop
mov ecx, dword [edx]
cmp eax, ecx
cmova eax, ecx
mov ecx, dword [edx + 4]
cmp eax, ecx
cmova eax, ecx
add edx, 8
cmp edx, ebx
jne 0x465bf0
cmp dword [ebp - 0x30], eax
jae 0x465b66
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x465a35
mov eax, dword [ebp - 0x40]
test eax, eax
setne bl
and bl, byte [ebp - 0x43]
jne 0x465c68
cmp word [ebp - 0x42], 0xffff
je 0x465b66
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [esp], 0xffff
mov ecx, dword [ebp - 0x1c]
call dword [eax + 0x20]
mov edx, 0xffff
sub esp, 4
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x3c], 0
jmp 0x465ac3
mov dword [ebp - 0x3c], 0
lea esi, cs:[esi]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
cmp eax, dword [edx + 0xc]
jae 0x465d42
movzx eax, word [eax]
cmp ax, 0xffff
je 0x465d20
xor eax, eax
cmp bl, al
je 0x465b66
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x465c32
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jb 0x465a80
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx ecx, ax
jmp 0x465a83
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [ebp - 0x30]
cmp ebx, eax
je 0x465d5c
cmp eax, ebx
jae 0x465bb0
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jb 0x465a44
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp ax, 0xffff
jne 0x465a51
mov eax, dword [ebp - 0x40]
test eax, eax
setne bl
and bl, byte [ebp - 0x43]
jne 0x465c5c
cmp word [ebp - 0x42], 0xffff
jne 0x465c32
mov dword [ebp - 0x3c], 0
jmp 0x465b66
mov dword [ebp - 0x40], 0
mov eax, 1
jmp 0x465c86
mov dword [ebp - 0x3c], 0
mov edx, 0xffff
jmp 0x465ac3
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x465c7a
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x465ab6
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x466199
movzx eax, word [eax]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
setne bl
cmp ax, 0xffff
je 0x465ebf
movzx edx, byte [ebp - 0x43]
mov eax, edx
and bl, dl
jne 0x465efc
cmp bl, al
je 0x465ebb
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x465ed2
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x4661e5
movzx ecx, word [eax]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edx, dword [eax + 0x20]
cmp cx, 0xffff
je 0x465ed7
mov dword [esp], ecx
mov ecx, dword [ebp - 0x1c]
call edx
mov ebx, dword [ebp - 0x3c]
sub esp, 4
mov word [ebp - 0x46], ax
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x4661d8
movzx eax, word [eax]
movzx edx, ax
cmp ax, 0xffff
je 0x466188
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp], edx
xor ebx, ebx
call dword [eax + 0x18]
sub esp, 4
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x1c]
add eax, eax
mov dword [ebp - 0x34], eax
lea esi, cs:[esi]
nop
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + ebx*4]
jae 0x465e69
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x34]
mov eax, dword [eax + ebx*4]
add edx, dword [ecx + eax*4]
mov eax, dword [edi]
movzx ecx, word [edx]
mov dword [ebp - 0x2c], edx
mov dword [esp], ecx
mov ecx, edi
call dword [eax + 0x20]
mov edx, dword [ebp - 0x2c]
sub esp, 4
cmp word [ebp - 0x46], ax
je 0x465eb1
mov eax, dword [edi]
movzx edx, word [edx]
mov ecx, edi
mov dword [esp], edx
call dword [eax + 0x18]
sub esp, 4
cmp word [ebp - 0x38], ax
je 0x465eb1
mov eax, dword [ebp - 0x28]
add ebx, 1
cmp ebx, eax
jb 0x465e20
mov edi, eax
xor ebx, ebx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
xor eax, eax
jmp 0x465e96
add eax, 1
cmp eax, edi
jae 0x465bba
mov edx, dword [esi + eax*4]
cmp dword [ebp - 0x30], edx
sete dl
cmp dl, bl
jne 0x465e88
sub edi, 1
mov edx, dword [ecx + edi*4]
mov dword [ecx + eax*4], edx
mov edx, dword [esi + edi*4]
mov dword [esi + eax*4], edx
jmp 0x465e8b
mov edi, dword [ebp - 0x28]
mov ebx, 1
jmp 0x465e77
xor ebx, ebx
jmp 0x465e77
and bl, byte [ebp - 0x43]
mov dword [ebp - 0x3c], 0
jne 0x465efe
cmp word [ebp - 0x42], 0xffff
je 0x465e77
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [esp], 0xffff
mov ecx, dword [ebp - 0x1c]
call dword [eax + 0x20]
mov edx, 0xffff
sub esp, 4
mov word [ebp - 0x46], ax
mov dword [ebp - 0x3c], 0
jmp 0x465df3
xor ebx, ebx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 8]
cmp eax, dword [edx + 0xc]
jae 0x4661f5
movzx eax, word [eax]
cmp ax, 0xffff
je 0x465f47
xor eax, eax
jmp 0x465d8e
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x28]
add dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x20], eax
jne 0x466060
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp - 0x24]
mov esi, 0xffffffff
mov dword [eax], edi
jmp 0x465892
mov dword [ebp - 0x40], 0
mov eax, 1
jmp 0x465d8e
cmp edi, 2
je 0x4661a6
mov esi, 0xffffffff
cmp edi, 1
jne 0x46588c
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x24], eax
mov edi, dword [edi + eax*4]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x30], eax
jae 0x465b9b
cmp word [ebp - 0x42], 0xffff
mov ebx, dword [ebp - 0x3c]
sete al
mov esi, eax
test ebx, ebx
jne 0x466060
mov edx, 1
mov ecx, dword [ebp - 0x40]
mov eax, esi
test ecx, ecx
setne bl
and bl, al
jne 0x46609c
mov ebx, esi
cmp dl, bl
je 0x465b9b
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [edi + ebx*2]
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x20]
mov ebx, eax
mov eax, dword [ebp - 0x3c]
sub esp, 4
test eax, eax
jne 0x4660cb
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [esp], 0xffff
call dword [eax + 0x20]
sub esp, 4
cmp bx, ax
je 0x4660bf
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [edi + ebx*2]
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x18]
mov edx, 0xffff
sub esp, 4
mov dword [ebp - 0x3c], 0
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x18]
sub esp, 4
cmp bx, ax
jne 0x465b9b
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x465f1d
add eax, 2
add dword [ebp - 0x30], 1
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x20], eax
je 0x465f35
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x466150
movzx eax, word [eax]
xor edx, edx
cmp ax, 0xffff
jne 0x465fa8
mov ecx, dword [ebp - 0x40]
mov eax, esi
mov edx, 1
mov dword [ebp - 0x3c], 0
test ecx, ecx
setne bl
and bl, al
je 0x465fba
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x46615d
movzx eax, word [eax]
cmp ax, 0xffff
je 0x466144
xor ebx, ebx
jmp 0x465fbc
mov dword [ebp - 0x3c], 0
jmp 0x46603b
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 8]
cmp eax, dword [edx + 0xc]
jae 0x466171
movzx eax, word [eax]
movzx edx, ax
cmp ax, 0xffff
je 0x465fe6
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x20]
sub esp, 4
cmp bx, ax
je 0x46603b
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
movzx edx, word [edi + ebx*2]
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x18]
mov edx, dword [ebp - 0x3c]
mov ebx, eax
sub esp, 4
mov eax, dword [edx + 8]
cmp eax, dword [edx + 0xc]
jae 0x46617e
movzx eax, word [eax]
movzx edx, ax
cmp ax, 0xffff
jne 0x466024
mov dword [ebp - 0x3c], 0
mov edx, 0xffff
jmp 0x466024
mov dword [ebp - 0x40], 0
jmp 0x465fbc
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x466072
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 0x28], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [ebp - 0x28]
jmp 0x4660ae
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x4660dd
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x466126
mov dword [ebp - 0x3c], 0
mov edx, 0xffff
jmp 0x465df3
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x465d6e
mov edi, dword [ebp - 0x50]
test edi, 1
jne 0x465bb0
mov esi, dword [ebp - 0x24]
shr edi, 1
mov eax, dword [esi]
mov edx, dword [esi + 4]
cmp eax, edi
jae 0x466202
add edi, eax
cmp edi, edx
jne 0x465bb0
jmp 0x465f74
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x465de6
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx ecx, ax
jmp 0x465db3
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
call dword [eax + 0x24]
jmp 0x465f10
sub eax, edi
mov esi, 0xffffffff
cmp eax, edx
jne 0x46588c
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x4c]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [esi], eax
mov eax, dword [edi]
jmp 0x465f74
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp - 0x24]
cmp word [ebp - 0x42], 0xffff
mov edi, dword [eax + edi*4]
sete al
mov esi, eax
jmp 0x466060
mov dword [ebp - 0x30], 0
jmp 0x465b6b
call fcn.004b8390
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x11c
mov eax, dword [esp + 0x130]
mov dword [esp + 0x90], ecx
mov ecx, 0x4c14a0
mov edi, dword [esp + 0x134]
mov ebp, dword [esp + 0x138]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x3c], eax
call fcn.0042bb30
mov ebx, dword [esp + 0x140]
mov edx, dword [ebx + 0x6c]
mov ecx, dword [edx + 4]
cmp eax, dword [edx + 8]
jae 0x466612
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x466612
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x4c84e4
mov dword [esp + 4], 0x4c81dc
mov dword [esp], eax
call fcn.004b6d10
test eax, eax
je 0x466612
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x70]
mov edx, dword [eax + 0x68]
mov ebx, dword [eax + 0x64]
mov dword [esp + 0x4c], ecx
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0x7c]
mov dword [esp + 0x68], ebx
mov ebx, dword [eax + 0x6c]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x88]
mov dword [esp + 0x54], ebx
mov ebx, dword [eax + 0x9c]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x8c]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x90]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0x98]
mov dword [esp + 0x44], edx
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + 0xa0]
mov dword [esp + 0x74], ebx
mov ebx, dword [eax + 0xa4]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0xa8]
mov esi, dword [eax + 0xb0]
mov edx, dword [eax + 0xac]
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x7c], esi
mov esi, dword [eax + 0xb4]
mov dword [esp + 0xc8], edx
mov dword [esp + 0x80], esi
mov esi, dword [eax + 0xb8]
mov dword [esp + 0x84], esi
mov esi, dword [eax + 0xbc]
mov dword [esp + 0x88], esi
mov esi, dword [eax + 0xc0]
mov eax, dword [eax + 0x94]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xcc], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xd0], esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xd4], esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xac]
mov dword [esp + 0xd8], esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0xdc], esi
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0xe0], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xe8], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0xec], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xf0], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0xf8], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x100], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0xfc], ebx
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x140]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x104], ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x108], ebx
mov dword [esp + 0xac], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x90]
xor di, di
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
call fcn.00468a50
sub esp, 0x24
mov ecx, eax
movzx ebx, dx
mov eax, edx
mov dword [esp + 0x9c], edx
mov edx, edi
mov edi, ecx
or edx, ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0x98], ecx
test ebx, ebx
jne 0x4665a0
mov ebx, dword [esp + 0x148]
mov esi, dword [esp + 0xa8]
mov dword [ebx + 0x10], esi
cmp ax, 0xffff
sete bl
test ecx, ecx
setne al
and al, bl
mov esi, eax
jne 0x4665c8
cmp word [esp + 0x3c], 0xffff
sete al
mov ecx, eax
test ebp, ebp
je 0x466580
test al, al
jne 0x4665b0
cmp cl, bl
jne 0x46658e
mov eax, dword [esp + 0x144]
or dword [eax], 2
add esp, 0x11c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov esi, dword [esp + 0x144]
or dword [esi], 4
jmp 0x46655b
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x466600
movzx eax, word [eax]
cmp ax, 0xffff
sete cl
jmp 0x466580
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x4665e8
movzx eax, word [eax]
xor ebx, ebx
cmp ax, 0xffff
jne 0x46656d
mov ebx, esi
xor edi, edi
jmp 0x46656d
mov eax, dword [ecx]
mov dword [esp + 0x40], edx
call dword [eax + 0x24]
mov edx, dword [esp + 0x40]
jmp 0x4665d3
mov eax, dword [ebp]
mov dword [esp + 0x3c], edx
mov ecx, ebp
call dword [eax + 0x24]
mov edx, dword [esp + 0x3c]
jmp 0x4665bb
call fcn.004b8390
nop
nop
nop
nop
nop
nop
nop
nop
nop
sub esp, 0x4c
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call fcn.00466690
sub esp, 0x24
add esp, 0x4c
ret 0x20