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

Disassembly:
push ebp
mov ecx, 0x4b6704
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
call fcn.00429480
mov edx, eax
mov eax, dword [ebp + 0x24]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 4]
mov esi, dword [eax + edx*4]
test esi, esi
je 0x45f772
mov eax, dword [ebp + 0x20]
lea eax, [eax*8 + 0x1b]
shr eax, 4
shl eax, 4
call fcn.0040c0d8
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.00427660
sub esp, 4
test al, al
je 0x45f618
movzx eax, word [ebp + 0xc]
mov dword [ebp - 0x20], 0
xor ebx, ebx
xor edi, edi
mov esi, dword [ebp + 8]
mov word [ebp - 0x2c], ax
cmp word [ebp + 0x14], 0xffff
sete byte [ebp - 0x35]
lea esi, [esi]
cmp word [ebp - 0x2c], 0xffff
sete dl
test esi, esi
je 0x45f41c
test dl, dl
jne 0x45f510
mov esi, edx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x45f42f
cmp byte [ebp - 0x35], 0
jne 0x45f550
movzx eax, byte [ebp - 0x35]
mov ecx, esi
cmp cl, al
je 0x45f57a
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x45f44c
test dl, dl
jne 0x45f5b0
test ebx, ebx
je 0x45f590
mov eax, dword [ebp - 0x20]
xor esi, esi
mov dword [ebp - 0x1c], edi
xor edx, edx
mov dword [ebp - 0x30], esi
add eax, eax
mov dword [ebp - 0x34], eax
jmp 0x45f47b
add dword [ebp - 0x30], 1
add edx, 1
cmp edx, ebx
jae 0x45f4cb
mov edi, dword [ebp - 0x1c]
lea eax, [edx*4]
mov esi, dword [ebp - 0x20]
lea ecx, [edi + eax]
cmp esi, dword [ecx]
jae 0x45f470
mov esi, dword [ebp - 0x24]
lea edi, [eax + esi]
mov eax, dword [ebp + 0x1c]
mov esi, dword [edi]
mov dword [ebp - 0x28], edi
movzx edi, word [ebp - 0x2c]
mov eax, dword [eax + esi*4]
mov esi, dword [ebp - 0x34]
cmp word [eax + esi], di
je 0x45f540
mov esi, dword [ebp - 0x24]
sub ebx, 1
mov edi, dword [ebp - 0x28]
mov eax, dword [esi + ebx*4]
mov dword [edi], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + ebx*4]
mov dword [ecx], eax
cmp edx, ebx
jb 0x45f47b
mov esi, dword [ebp - 0x30]
mov edi, dword [ebp - 0x1c]
cmp ebx, esi
je 0x45f57a
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x45f5e0
add eax, 2
mov dword [esi + 8], eax
mov eax, 0xffffffff
mov edx, 0xffffffff
add dword [ebp - 0x20], 1
mov word [ebp + 0xc], ax
mov word [ebp - 0x2c], dx
jmp 0x45f408
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x45f735
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45f6a4
cmp ax, 0xffff
sete al
mov esi, eax
jmp 0x45f41e
add edx, 1
jmp 0x45f477
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x45f748
movzx eax, word [eax]
cmp ax, 0xffff
je 0x45f698
cmp ax, 0xffff
mov ecx, esi
sete al
cmp cl, al
jne 0x45f43d
cmp ebx, 1
je 0x45f5ec
cmp ebx, 2
jne 0x45f590
mov eax, dword [ebp - 0x20]
cmp dword [edi], eax
je 0x45f5f3
cmp dword [edi + 4], eax
je 0x45f5f3
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 0xc]
or dword [eax], 4
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x45f727
movzx eax, word [eax]
mov word [ebp - 0x2c], ax
cmp word [ebp - 0x2c], 0xffff
jne 0x45f44c
mov dword [ebp + 8], 0
jmp 0x45f44c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
jmp 0x45f4ee
mov eax, dword [ebp - 0x20]
cmp dword [edi], eax
jne 0x45f590
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov edx, eax
sub edx, dword [ebp + 0x20]
cmp eax, dword [ebp + 0x20]
cmovge eax, edx
mov edx, dword [ebp + 0x18]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
lea ecx, [ebp + 8]
call fcn.00427700
mov ebx, dword [ebp + 0x20]
mov word [ebp - 0x1c], ax
add ebx, ebx
je 0x45f759
xor eax, eax
mov dword [ebp - 0x20], ebx
xor edi, edi
mov dword [ebp - 0x28], esi
mov ebx, eax
mov esi, dword [ebp + 0x1c]
jmp 0x45f660
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov dword [esp], ecx
mov ecx, edx
call dword [eax + 0x18]
sub esp, 4
cmp word [ebp - 0x1c], ax
je 0x45f66c
mov eax, dword [ebp - 0x20]
add edi, 1
cmp edi, eax
je 0x45f67f
mov eax, dword [esi + edi*4]
movzx ecx, word [eax]
cmp cx, word [ebp - 0x1c]
jne 0x45f640
mov eax, dword [ebp - 0x24]
mov dword [eax + ebx*4], edi
mov eax, dword [ebp - 0x20]
add edi, 1
add ebx, 1
cmp edi, eax
jne 0x45f660
mov dword [ebp - 0x20], ebx
mov esi, dword [ebp + 8]
test ebx, ebx
jne 0x45f6b0
movzx eax, word [ebp + 0xc]
xor edi, edi
mov word [ebp - 0x2c], ax
jmp 0x45f3f9
mov dword [ebp + 0x10], 0
jmp 0x45f569
mov dword [ebp + 8], 0
jmp 0x45f529
mov ecx, esi
mov ebx, 0xffffffff
call fcn.0048d9b0
mov eax, dword [ebp - 0x20]
mov word [ebp + 0xc], bx
lea eax, [eax*4 + 0x1b]
shr eax, 4
shl eax, 4
call fcn.0040c0d8
xor ebx, ebx
mov edi, dword [ebp - 0x24]
sub esp, eax
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp + 0x1c]
lea eax, [esp + 0x13]
and eax, 0xfffffff0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
nop
mov eax, dword [edi + ebx*4]
mov eax, dword [esi + eax*4]
mov dword [esp], eax
call sub.ucrtbase.dll_wcslen
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + ebx*4], eax
add ebx, 1
cmp dword [ebp - 0x20], ebx
jne 0x45f6f0
mov ecx, 0xffffffff
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x20], 1
mov word [ebp - 0x2c], cx
jmp 0x45f3f9
mov eax, dword [ecx]
call dword [eax + 0x24]
mov word [ebp - 0x2c], ax
jmp 0x45f5c3
mov eax, dword [esi]
mov byte [ebp - 0x1c], dl
mov ecx, esi
call dword [eax + 0x24]
movzx edx, byte [ebp - 0x1c]
jmp 0x45f51f
mov eax, dword [ecx]
mov byte [ebp - 0x1c], dl
call dword [eax + 0x24]
movzx edx, byte [ebp - 0x1c]
jmp 0x45f55f
movzx eax, word [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], 0
xor edi, edi
mov word [ebp - 0x2c], ax
jmp 0x45f3f9
call fcn.004add00
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xa4]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x50], ecx
mov ecx, 0x4b6704
mov esi, dword [esp + 0xbc]
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x48], eax
mov word [esp + 0x54], ax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], eax
call fcn.00429480
mov edx, eax
mov eax, dword [esp + 0xb0]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 4]
mov edi, dword [eax + edx*4]
test edi, edi
je 0x45fe7f
mov eax, dword [esp + 0xb4]
cmp esi, dword [esp + 0xc0]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [eax], 0
lea eax, [esp + 0x74]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x4c], eax
jne 0x45f8fd
jmp 0x45fa7b
mov eax, dword [edi]
movzx edx, word [esi]
mov ecx, edi
mov dword [esp], 0x20
mov dword [esp + 4], edx
call dword [eax + 8]
sub esp, 8
mov byte [esp + 0x56], al
test al, al
jne 0x45fab0
test ebp, ebp
je 0x45f85b
cmp byte [esp + 0x3c], 0
jne 0x45fd20
movzx edx, word [esp + 0x54]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], edx
call dword [eax + 0x20]
movzx edx, word [esi]
mov ecx, edi
mov ebx, eax
mov eax, dword [edi]
sub esp, 4
mov dword [esp], edx
call dword [eax + 0x20]
sub esp, 4
cmp bx, ax
je 0x45f8c0
test ebp, ebp
je 0x45f893
cmp byte [esp + 0x3c], 0
jne 0x45fde0
movzx edx, word [esp + 0x54]
mov eax, dword [edi]
mov ecx, edi
mov dword [esp], edx
call dword [eax + 0x18]
movzx edx, word [esi]
mov ecx, edi
mov ebx, eax
mov eax, dword [edi]
sub esp, 4
mov dword [esp], edx
call dword [eax + 0x18]
sub esp, 4
cmp bx, ax
jne 0x45fdfd
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x45fdc0
add eax, 2
mov dword [ebp + 8], eax
mov edx, 0xffffffff
add esi, 2
mov word [esp + 0x54], dx
cmp dword [esp + 0xc0], esi
je 0x45fa7b
mov eax, dword [esp + 0xb4]
mov eax, dword [eax]
test eax, eax
jne 0x45fa7b
cmp word [esp + 0x54], 0xffff
sete byte [esp + 0x3c]
test ebp, ebp
movzx eax, byte [esp + 0x3c]
setne dl
and dl, al
jne 0x45fcf0
movzx edx, byte [esp + 0x3c]
mov ecx, dword [esp + 0x40]
cmp word [esp + 0x44], 0xffff
sete byte [esp + 0x3b]
movzx eax, byte [esp + 0x3b]
test ecx, ecx
setne bl
and bl, al
jne 0x45fca0
movzx ebx, byte [esp + 0x3b]
cmp dl, bl
je 0x45fcd5
mov eax, dword [edi]
mov dword [esp + 4], 0
mov ecx, edi
movzx edx, word [esi]
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 8
cmp al, 0x25
jne 0x45f828
lea eax, [esi + 2]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0xc0], eax
je 0x45fdfd
mov eax, dword [edi]
mov dword [esp + 4], 0
mov ecx, edi
movzx edx, word [esi + 2]
mov dword [esp], edx
call dword [eax + 0x30]
sub esp, 8
cmp al, 0x45
je 0x45fc50
cmp al, 0x4f
je 0x45fc50
mov eax, dword [esi]
mov dword [esp + 0x6c], eax
xor eax, eax
mov word [esp + 0x70], ax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov dword [esp], ebp
mov cx, word [esp + 0x54]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb8]
mov esi, ecx
mov dword [esp + 4], esi
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
call fcn.0045dbc0
sub esp, 0x24
mov ebx, eax
cmp dx, 0xffff
mov si, dx
mov dword [esp + 0x5c], edx
mov ebp, eax
mov word [esp + 0x54], dx
sete dl
test ebx, ebx
mov dword [esp + 0x58], eax
setne al
and al, dl
mov dword [esp + 0x48], esi
mov esi, eax
jne 0x45fd80
mov esi, dword [esp + 0x40]
test esi, esi
setne bl
and bl, byte [esp + 0x3b]
jne 0x45fd40
cmp byte [esp + 0x3b], dl
jne 0x45fa67
mov eax, dword [esp + 0xb4]
or dword [eax], 2
mov esi, dword [esp + 0x3c]
add esi, 2
cmp dword [esp + 0xc0], esi
jne 0x45f8ec
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0048fd50
sub esp, 4
mov eax, dword [esp + 0x48]
mov ax, word [esp + 0x54]
add esp, 0x8c
pop ebx
pop esi
mov edx, eax
pop edi
mov eax, ebp
pop ebp
ret 0x24
mov ebx, dword [esp + 0xc0]
add esi, 2
cmp dword [esp + 0xc0], esi
jne 0x45facf
jmp 0x45faeb
add esi, 2
cmp ebx, esi
je 0x45faeb
mov eax, dword [edi]
movzx edx, word [esi]
mov ecx, edi
mov dword [esp], 0x20
mov dword [esp + 4], edx
call dword [eax + 8]
sub esp, 8
test al, al
jne 0x45fac8
test ebp, ebp
je 0x45faf6
cmp byte [esp + 0x3c], 0
jne 0x45fb60
movzx edx, byte [esp + 0x3c]
mov ecx, dword [esp + 0x40]
test ecx, ecx
setne bl
and bl, byte [esp + 0x3b]
jne 0x45fbb0
movzx ebx, byte [esp + 0x3b]
cmp byte [esp + 0x3c], bl
je 0x45f8df
test ebp, ebp
je 0x45fb29
test dl, dl
jne 0x45fbe8
movzx eax, word [esp + 0x54]
mov edx, dword [edi]
movzx eax, ax
mov dword [esp], 0x20
mov ecx, edi
mov dword [esp + 4], eax
call dword [edx + 8]
sub esp, 8
test al, al
je 0x45f8df
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x45fc08
add eax, 2
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x45fc1c
movzx eax, word [eax]
mov word [esp + 0x54], ax
cmp word [esp + 0x54], 0xffff
je 0x45fc38
mov ecx, dword [esp + 0x40]
mov ebx, 0xffffffff
mov byte [esp + 0x3c], 0
mov word [esp + 0x54], bx
movzx edx, byte [esp + 0x56]
test ecx, ecx
setne bl
and bl, byte [esp + 0x3b]
je 0x45fb0e
lea esi, [esi]
nop
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x45fda8
movzx eax, word [eax]
cmp ax, 0xffff
mov eax, 0
cmovne ebx, eax
mov eax, 0
cmovne eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
jmp 0x45fb13
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x45fdd0
movzx eax, word [eax]
xor ecx, ecx
cmp ax, 0xffff
cmove ebp, ecx
jmp 0x45fb2e
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x28]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jb 0x45fb6c
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
mov word [esp + 0x54], ax
cmp word [esp + 0x54], 0xffff
jne 0x45fb80
lea esi, [esi]
movzx eax, byte [esp + 0x56]
xor ebp, ebp
mov byte [esp + 0x3c], al
mov edx, eax
jmp 0x45fafb
lea eax, [esi + 4]
mov dword [esp + 0x3c], eax
cmp dword [esp + 0xc0], eax
je 0x45fdfd
mov eax, dword [edi]
mov dword [esp + 4], 0
mov ecx, edi
movzx edx, word [esi + 4]
mov dword [esp], edx
call dword [eax + 0x30]
mov eax, dword [esi]
sub esp, 8
mov dword [esp + 0x6c], eax
movzx eax, word [esi + 4]
mov word [esp + 0x70], ax
xor eax, eax
mov word [esp + 0x72], ax
jmp 0x45f9b7
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x45fe0f
movzx eax, word [eax]
cmp ax, 0xffff
mov eax, 0
cmovne ebx, eax
mov eax, 0
cmovne eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
cmp dl, bl
jne 0x45f94d
mov eax, dword [esp + 0xb4]
mov dword [eax], 6
jmp 0x45fa7b
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x45fe26
movzx eax, word [eax]
cmp ax, 0xffff
mov eax, 0
cmovne edx, eax
mov eax, 0
cmove ebp, eax
jmp 0x45f91f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x45fe3c
movzx edx, word [eax]
xor eax, eax
cmp dx, 0xffff
cmove ebp, eax
jmp 0x45f860
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x45fe4c
movzx eax, word [eax]
cmp ax, 0xffff
mov eax, 0
cmove eax, ebx
mov byte [esp + 0x3b], al
mov eax, 0
cmovne eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
jmp 0x45fa57
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
jae 0x45fe63
movzx eax, word [eax]
xor edx, edx
mov ebp, 0
cmp ax, 0xffff
cmove edx, esi
cmovne ebp, ebx
jmp 0x45fa44
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x57], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x57]
jmp 0x45fbc3
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x28]
jmp 0x45f8d2
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
jmp 0x45fbf7
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jae 0x45fe6f
movzx edx, word [eax]
xor eax, eax
cmp dx, 0xffff
cmove ebp, eax
jmp 0x45f898
mov eax, dword [esp + 0xb4]
mov dword [eax], 4
jmp 0x45fa7b
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x56], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x56]
jmp 0x45fcb3
mov eax, dword [ebp]
mov byte [esp + 0x3b], dl
mov ecx, ebp
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3b]
jmp 0x45fcff
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
movzx edx, ax
jmp 0x45fd2f
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x3b], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3b]
jmp 0x45fd53
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
jmp 0x45fd8f
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
movzx edx, ax
jmp 0x45fdef
call fcn.004add00
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [esp + 0x98]
mov dword [esp + 0x40], ecx
mov ecx, 0x4b6704
mov esi, dword [esp + 0xac]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x9c]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x44], eax
call fcn.00429480
mov edx, eax
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 4]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x460099
mov eax, dword [esp + 0xa4]
mov dword [eax], 0
mov eax, dword [ecx]
mov dword [esp], 0x25
call dword [eax + 0x28]
mov edx, edi
sub esp, 4
mov word [esp + 0x5c], ax
mov eax, esi
movsx si, al
xor eax, eax
test dl, dl
jne 0x460018
mov word [esp + 0x60], ax
lea eax, [esp + 0x5c]
lea ebp, [esp + 0x64]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], ebx
xor bx, bx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa0]
mov word [esp + 0x5e], si
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], 0
mov dword [esp], eax
call fcn.0045dbc0
mov ecx, ebp
sub esp, 0x24
mov esi, eax
mov edi, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x4c], edx
movzx edx, dx
mov dword [esp], eax
or ebx, edx
mov dword [esp + 0x40], esi
call fcn.0048fd50
sub esp, 4
cmp di, 0xffff
sete dl
test esi, esi
setne al
and al, dl
mov ebp, eax
jne 0x460050
cmp word [esp + 0x3c], 0xffff
mov esi, dword [esp + 0x38]
sete al
mov ecx, eax
test esi, esi
je 0x45fff7
test al, al
jne 0x460030
cmp cl, dl
jne 0x460005
mov eax, dword [esp + 0xa4]
or dword [eax], 2
mov eax, dword [esp + 0x40]
add esp, 0x7c
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
movsx di, dl
xor ebp, ebp
mov eax, esi
mov word [esp + 0x62], bp
mov esi, edi
jmp 0x45ff28
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x460078
movzx eax, word [eax]
cmp ax, 0xffff
sete cl
cmp cl, dl
jne 0x460005
jmp 0x45fffb
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x460090
movzx eax, word [eax]
xor edx, edx
mov edi, 0
cmp ax, 0xffff
cmovne edi, esi
cmove edx, ebp
mov dword [esp + 0x40], edi
jmp 0x45ffe0
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x3c], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3c]
jmp 0x46003f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
jmp 0x46005b
call fcn.004add00
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [esp + 0x90]
mov dword [esp + 0x40], ecx
mov ecx, 0x4b6704
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0xac]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x98]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x3c], eax
call fcn.00429480
mov edx, eax
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 4]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x4602a9
mov eax, dword [esp + 0xa4]
mov dword [eax], 0
mov eax, dword [ecx]
mov dword [esp], 0x25
call dword [eax + 0x28]
mov edx, edi
sub esp, 4
mov word [esp + 0x5c], ax
mov eax, esi
movsx si, al
xor eax, eax
test dl, dl
jne 0x460228
mov word [esp + 0x60], ax
lea eax, [esp + 0x5c]
lea ebp, [esp + 0x64]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], ebx
xor bx, bx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa0]
mov word [esp + 0x5e], si
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x68], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], 0
mov dword [esp], eax
call fcn.0045dbc0
mov ecx, ebp
sub esp, 0x24
mov esi, eax
mov edi, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x4c], edx
movzx edx, dx
mov dword [esp], eax
or ebx, edx
mov dword [esp + 0x40], esi
call fcn.0048fd50
sub esp, 4
cmp di, 0xffff
sete dl
test esi, esi
setne al
and al, dl
mov ebp, eax
jne 0x460260
cmp word [esp + 0x3c], 0xffff
mov esi, dword [esp + 0x38]
sete al
mov ecx, eax
test esi, esi
je 0x460207
test al, al
jne 0x460240
cmp cl, dl
jne 0x460215
mov eax, dword [esp + 0xa4]
or dword [eax], 2
mov eax, dword [esp + 0x40]
add esp, 0x7c
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x24
movsx di, dl
xor ebp, ebp
mov eax, esi
mov word [esp + 0x62], bp
mov esi, edi
jmp 0x460138
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x460288
movzx eax, word [eax]
cmp ax, 0xffff
sete cl
cmp cl, dl
jne 0x460215
jmp 0x46020b
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0xc]
jae 0x4602a0
movzx eax, word [eax]
xor edx, edx
mov edi, 0
cmp ax, 0xffff
cmovne edi, esi
cmove edx, ebp
mov dword [esp + 0x40], edi
jmp 0x4601f0
mov ecx, dword [esp + 0x38]
mov byte [esp + 0x3c], dl
mov eax, dword [ecx]
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3c]
jmp 0x46024f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
jmp 0x46026b
call fcn.004add00
nop
nop
mov eax, dword [ecx]
jmp dword [eax + 0x10]