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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4cf5c4
push eax
mov eax, 0x15ec
mov dword fs:[0], esp
call fcn.004bf9a0
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push edi
cmp dword [ebp + 0x38], esi
je 0x46005d
mov ecx, 0x5040a8
call fcn.0042cea0
test eax, eax
je 0x46005d
xor ecx, ecx
cmp word [ebp + 0x28], si
mov dword [esp + 0x14], esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 0x20
mov dword [esp + 0x1c], 0x1f
mov dword [esp + 0x28], esi
jbe 0x46005d
jmp 0x45f14e
mov ecx, dword [esp + 0x50]
cmp word [esp + 0x28], 4
mov edx, dword [esp + 0x14]
jge 0x46005d
xor esi, esi
cmp dx, 0x100
jae 0x45f199
mov eax, ecx
mov edx, ecx
and eax, 0xffff
add eax, 4
lea eax, [eax + eax*2]
cmp byte [ebp + eax*8], 2
jne 0x45f184
mov esi, 1
jmp 0x45f187
lea edx, [ecx + 1]
inc ecx
test esi, esi
je 0x45f160
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], edx
jmp 0x45f221
test esi, esi
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], edx
jne 0x45f221
mov eax, dword [esp + 0x94]
test eax, eax
je 0x45f1c2
mov edx, 0x17f
mov dword [esp + 0x94], esi
mov dword [esp + 0x14], edx
jmp 0x45f1cc
add edx, 0xffff
mov dword [esp + 0x14], edx
xor eax, eax
mov ecx, 0x17f
mov ax, word [ebp + 0x22]
sub ecx, eax
mov eax, edx
and eax, 0xffff
cmp eax, ecx
jle 0x46005d
lea eax, [eax + eax*2 + 0xc]
cmp byte [ebp + eax*8], 2
je 0x45f20e
add edx, 0xffff
mov eax, edx
mov dword [esp + 0x14], edx
and eax, 0xffff
cmp eax, ecx
jle 0x46005d
jmp 0x45f1e8
mov cl, byte [ebp + 0x64]
mov eax, edx
inc cl
and eax, 0xffff
lea eax, [eax + eax*2]
mov byte [ebp + eax*8 + 0x63], cl
mov eax, edx
and eax, 0xffff
mov dword [esp + 0xb4], eax
lea ecx, [eax + eax*2]
mov al, byte [ebp + ecx*8 + 0x70]
mov dl, al
lea ecx, [ebp + ecx*8]
and dl, 7
shr al, 3
movzx bx, byte [ecx + 0x62]
movzx di, al
movzx si, dl
lea eax, [esp + 0xec]
mov dword [esp + 0x20], ecx
push eax
push 0
push esi
push edi
push ebx
mov ecx, ebp
mov dword [esp + 0x104], esi
mov dword [esp + 0xfc], edi
mov dword [esp + 0xa4], ebx
call fcn.0045cef0
lea ecx, [esp + 0x13]
push ecx
push 0x19
push esi
push edi
push ebx
mov ecx, ebp
call fcn.0045cc50
mov al, byte [esp + 0x13]
test al, al
je 0x45f30e
cmp al, 0xff
je 0x45f30e
lea edx, [esp + 0x48]
mov ecx, ebp
push edx
push 0
movzx ax, al
push 0
push 0
push eax
call fcn.0045cef0
mov eax, dword [esp + 0x48]
cmp eax, 0xffffffff
je 0x45f30e
cmp eax, 0x12298086
jne 0x460043
movzx dx, byte [esp + 0x13]
lea ecx, [esp + 0x48]
push ecx
push 0x10
push 0
push 0
push edx
mov ecx, ebp
call fcn.0045cef0
movzx cx, byte [esp + 0x13]
lea eax, [esp + 0x12]
push eax
push 0x3c
push 0
push 0
push ecx
mov ecx, ebp
call fcn.0045cc50
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45f30e
mov al, byte [esp + 0x12]
test al, al
je 0x45f30e
cmp al, 0xff
jne 0x460043
xor esi, esi
lea ecx, [esp + 0x168]
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
call fcn.0046ceb0
mov dl, byte [esp + 0x12]
push esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x1608], esi
mov byte [esp + 0x34], dl
call fcn.00406ad6
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov eax, dword [0x5041d4]
mov byte [esp + 0x1604], 1
cmp eax, esi
jne 0x45f38d
push str.m_hInstance___0
lea eax, [esp + 0x600]
push str.ASSERT__s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x5fc]
push ecx
push 0x558
push str..isoutils.h
mov ecx, 0x503ff0
call fcn.00423080
mov eax, dword [0x5041d4]
lea edx, [esp + 0x2f0]
push 0x104
push edx
push 0x1f67
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
cmp eax, esi
je 0x45f3fb
lea edi, [esp + 0x2f0]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x34]
push ebx
call fcn.00406a51
test al, al
je 0x45f3fb
mov edi, dword [esp + 0x34]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x2f0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], ebx
xor esi, esi
mov byte [eax + ebx], 0
mov cl, byte [esp + 0x12]
push esi
mov byte [esp + 0x5c], cl
lea ecx, [esp + 0x5c]
call fcn.00406ad6
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov eax, dword [0x5041d4]
mov byte [esp + 0x1604], 2
cmp eax, esi
jne 0x45f45d
push str.m_hInstance___0
lea edx, [esp + 0xe00]
push str.ASSERT__s_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0xdfc]
mov ecx, 0x503ff0
push eax
push 0x558
push str..isoutils.h
call fcn.00423080
mov edx, dword [0x5041d4]
lea ecx, [esp + 0x3f4]
push 0x104
push ecx
push 0x1c00
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp eax, esi
je 0x45f4ca
lea edi, [esp + 0x3f4]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x5c]
push ebx
call fcn.00406a51
test al, al
je 0x45f4ca
mov edi, dword [esp + 0x5c]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x3f4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], ebx
mov byte [ecx + ebx], 0
mov eax, dword [0x4d68ec]
mov ecx, dword [esp + 0x60]
mov esi, eax
cmp ecx, esi
jae 0x45f4db
mov esi, ecx
sub eax, dword [esp + 0x38]
cmp eax, esi
ja 0x45f4e8
call fcn.004be237
xor edi, edi
cmp esi, edi
jbe 0x45f53a
mov edx, dword [esp + 0x38]
push edi
lea ecx, [esp + 0x34]
lea ebx, [edx + esi]
push ebx
call fcn.00406a51
test al, al
je 0x45f53a
mov eax, dword [esp + 0x5c]
cmp eax, edi
jne 0x45f511
mov eax, 0x4d68e8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push ebx
lea edi, [edx + ecx]
mov ecx, esi
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x34]
call fcn.0042bb00
xor edi, edi
lea ecx, [esp + 0x30]
push 1
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x174]
call fcn.0046d070
test eax, eax
je 0x45f722
cmp word [esp + 0x14], 0x100
jb 0x45f590
movzx ax, byte [ebp + 0x64]
inc eax
mov esi, dword [esp + 0x20]
mov ecx, eax
and ecx, 0xffff
lea edx, [ecx + ecx*2]
lea ecx, [ebp + edx*8]
mov dl, byte [esi + 0x62]
mov byte [ecx + 0x62], dl
mov byte [ecx + 0x63], al
mov byte [ecx + 0x64], al
mov al, byte [esi + 0x70]
mov byte [ecx + 0x70], al
jmp 0x45f594
mov esi, dword [esp + 0x20]
mov cl, byte [esp + 0x12]
push edi
mov byte [esp + 0xbc], cl
lea ecx, [esp + 0xbc]
call fcn.00406ad6
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], edi
movzx ax, byte [esi + 0x63]
lea edx, [esp + 0xb8]
lea ecx, [esp + 0x10c]
push edx
push 0x2000
push edi
push edi
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x161c], 3
call fcn.0045df20
lea ecx, [esp + 0x194]
mov byte [esp + 0x1604], 4
call fcn.0046ceb0
lea edx, [esp + 0xb8]
push edi
push edx
lea ecx, [esp + 0x170]
mov byte [esp + 0x160c], 5
call fcn.004a8f80
push eax
lea ecx, [esp + 0x1a0]
call fcn.0046d070
test eax, eax
je 0x45f656
lea eax, [esp + 0x24]
push edi
push eax
push 0x1f4
lea ecx, [esp + 0x1a0]
call fcn.0046dab0
lea ecx, [esp + 0x18]
push edi
push ecx
push 0x1f5
lea ecx, [esp + 0x1a0]
call fcn.0046dab0
lea ecx, [esp + 0x194]
mov byte [esp + 0x1604], 4
call fcn.0046cf30
mov eax, dword [esp + 0x11c]
cmp eax, edi
je 0x45f685
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x11c], edi
mov eax, dword [esp + 0x110]
cmp eax, edi
je 0x45f6ad
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45f6a4
cmp al, 0xff
je 0x45f6a4
dec al
mov byte [ecx], al
jmp 0x45f6ad
push ecx
call fcn.004be17b
add esp, 4
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x110], edi
cmp eax, edi
mov dword [esp + 0x114], edi
mov dword [esp + 0x118], edi
mov byte [esp + 0x1604], 2
je 0x45f6e5
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0xc8], edi
mov eax, dword [esp + 0xbc]
cmp eax, edi
je 0x45f70d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45f704
cmp al, 0xff
je 0x45f704
dec al
mov byte [ecx], al
jmp 0x45f70d
push ecx
call fcn.004be17b
add esp, 4
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], edi
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edi
mov dword [esp + 0x4c], 1
lea ecx, [esp + 0x1c0]
call fcn.0046ceb0
mov cl, byte [esp + 0x12]
xor esi, esi
mov byte [esp + 0x70], cl
push esi
lea ecx, [esp + 0x74]
mov byte [esp + 0x1608], 6
call fcn.00406ad6
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov eax, dword [0x5041d4]
mov byte [esp + 0x1604], 7
cmp eax, esi
jne 0x45f7c5
push str.m_hInstance___0
lea edx, [esp + 0xa00]
push str.ASSERT__s_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x9fc]
mov ecx, 0x503ff0
push eax
push 0x558
push str..isoutils.h
call fcn.00423080
mov edx, dword [0x5041d4]
lea ecx, [esp + 0x1ec]
push 0x104
push ecx
push 0x1f67
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
cmp eax, esi
je 0x45f834
lea edi, [esp + 0x1ec]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x74]
push ebx
call fcn.00406a51
test al, al
je 0x45f834
mov edi, dword [esp + 0x74]
mov ecx, ebx
mov eax, ecx
lea esi, [esp + 0x1ec]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x78], ebx
xor esi, esi
mov byte [ecx + ebx], 0
mov dl, byte [esp + 0x12]
push esi
lea ecx, [esp + 0xa0]
mov byte [esp + 0xa0], dl
call fcn.00406ad6
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov eax, dword [0x5041d4]
mov byte [esp + 0x1604], 8
cmp eax, esi
jne 0x45f8a2
push str.m_hInstance___0
lea eax, [esp + 0x1200]
push str.ASSERT__s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x11fc]
push ecx
push 0x558
push str..isoutils.h
mov ecx, 0x503ff0
call fcn.00423080
mov eax, dword [0x5041d4]
lea edx, [esp + 0x4f8]
push 0x104
push edx
push 0x1c00
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
cmp eax, esi
je 0x45f91a
lea edi, [esp + 0x4f8]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0xa0]
push ebx
call fcn.00406a51
test al, al
je 0x45f91a
mov edi, dword [esp + 0xa0]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x4f8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa4], ebx
mov byte [eax + ebx], 0
mov eax, dword [0x4d68ec]
mov ecx, dword [esp + 0xa4]
mov edi, eax
cmp ecx, edi
jae 0x45f92e
mov edi, ecx
sub eax, dword [esp + 0x78]
cmp eax, edi
ja 0x45f93b
call fcn.004be237
test edi, edi
jbe 0x45f991
mov ecx, dword [esp + 0x78]
xor esi, esi
push esi
lea ebx, [ecx + edi]
lea ecx, [esp + 0x74]
push ebx
call fcn.00406a51
test al, al
je 0x45f993
mov eax, dword [esp + 0xa0]
cmp eax, esi
mov esi, 0x4d68e8
je 0x45f969
mov esi, eax
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov ecx, edi
add eax, edx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x78], ebx
mov byte [eax + ebx], 0
xor esi, esi
lea ecx, [esp + 0x70]
push 1
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1cc]
call fcn.0046d070
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x45fb79
cmp bx, 0x100
jb 0x45f9eb
movzx ax, byte [ebp + 0x64]
inc eax
mov edi, dword [esp + 0x20]
mov ecx, eax
and ecx, 0xffff
lea edx, [ecx + ecx*2]
lea ecx, [ebp + edx*8]
mov dl, byte [edi + 0x62]
mov byte [ecx + 0x62], dl
mov byte [ecx + 0x63], al
mov byte [ecx + 0x64], al
mov al, byte [edi + 0x70]
mov byte [ecx + 0x70], al
jmp 0x45f9ef
mov edi, dword [esp + 0x20]
mov cl, byte [esp + 0x12]
push esi
mov byte [esp + 0xd4], cl
lea ecx, [esp + 0xd4]
call fcn.00406ad6
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], esi
movzx ax, byte [edi + 0x63]
lea edx, [esp + 0xd0]
lea ecx, [esp + 0x124]
push edx
push 0x2000
push esi
push esi
push eax
push ecx
mov ecx, ebp
mov byte [esp + 0x161c], 9
call fcn.0045df20
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1604], 0xa
call fcn.0046ceb0
lea edx, [esp + 0xd0]
push esi
push edx
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x160c], 0xb
call fcn.004a8f80
push eax
lea ecx, [esp + 0x148]
call fcn.0046d070
test eax, eax
je 0x45fab1
lea eax, [esp + 0x24]
push esi
push eax
push 0x1f4
lea ecx, [esp + 0x148]
call fcn.0046dab0
lea ecx, [esp + 0x18]
push esi
push ecx
push 0x1f5
lea ecx, [esp + 0x148]
call fcn.0046dab0
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1604], 0xa
call fcn.0046cf30
mov eax, dword [esp + 0x134]
cmp eax, esi
je 0x45fae0
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x134], esi
mov ecx, dword [esp + 0x128]
cmp ecx, esi
je 0x45fb06
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x45fafd
cmp al, 0xff
je 0x45fafd
dec al
mov byte [ecx], al
jmp 0x45fb06
push ecx
call fcn.004be17b
add esp, 4
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x128], esi
cmp eax, esi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x130], esi
mov byte [esp + 0x1604], 8
je 0x45fb3e
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0xe0], esi
mov ecx, dword [esp + 0xd4]
cmp ecx, esi
je 0x45fb64
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x45fb5b
cmp al, 0xff
je 0x45fb5b
dec al
mov byte [ecx], al
jmp 0x45fb64
push ecx
call fcn.004be17b
add esp, 4
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp eax, esi
jne 0x45fbaa
movsx edx, di
push ebx
push 0x4000
mov eax, dword [edx*4 + 0x4d75a8]
mov ecx, ebp
push eax
call fcn.00462600
dec edi
cmp eax, esi
mov dword [esp + 0x18], eax
je 0x45fb85
mov dword [esp + 0x1c], edi
mov esi, dword [esp + 0x2c]
push 0x1000
and esi, 0xffff
push eax
push esi
mov ecx, ebp
call fcn.0045d540
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x54], ebx
jne 0x45fc16
test di, di
jl 0x45fc6c
mov ecx, dword [esp + 0x14]
movsx edx, di
push ecx
push 0x4000
mov eax, dword [edx*4 + 0x4d75a8]
mov ecx, ebp
push eax
call fcn.00462600
dec edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x45fc0a
push 0x1000
push eax
push esi
mov ecx, ebp
call fcn.0045d540
mov ebx, eax
test ebx, ebx
je 0x45fbcc
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], edi
test ebx, ebx
mov dword [esp + 0x88], 1
je 0x45fc2c
mov dword [esp + 0x98], edi
mov eax, dword [esp + 0xac]
test eax, eax
je 0x45fc4b
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xa0]
test ecx, ecx
je 0x45fce8
mov al, byte [ecx - 1]
dec ecx
test al, al
je 0x45fcdf
cmp al, 0xff
je 0x45fcdf
dec al
mov byte [ecx], al
jmp 0x45fce8
test ebx, ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x1c], edi
jne 0x45fc16
cmp word [esp + 0x2c], bx
je 0x45fc16
mov eax, dword [esp + 0x98]
test ax, ax
je 0x45fc92
dec eax
mov dword [esp + 0x1c], eax
jmp 0x45fc9a
mov dword [esp + 0x1c], 0x1f
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x18], 0
and eax, 0xffff
lea ecx, [eax + eax*2]
movzx ax, byte [ebp + ecx*8 + 0x71]
mov dword [esp + 0x8c], eax
and eax, 0xffff
lea edx, [eax + eax*2]
movzx ax, byte [ebp + edx*8 + 0x62]
mov word [esp + 0x2c], ax
mov eax, dword [esp + 0x4c]
inc eax
mov dword [esp + 0x4c], eax
jmp 0x45fc2c
push ecx
call fcn.004be17b
add esp, 4
mov eax, dword [esp + 0x80]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ecx
je 0x45fd1e
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x45fd43
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45fd3a
cmp al, 0xff
je 0x45fd3a
dec al
mov byte [ecx], al
jmp 0x45fd43
push ecx
call fcn.004be17b
add esp, 4
xor esi, esi
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov byte [esp + 0x1604], 2
call fcn.0046cf30
cmp dword [esp + 0x88], esi
je 0x45f747
cmp ebx, esi
jne 0x45fe12
push str.CardBusHandler::_Unable_to_memory_map_selected_address__n
push 0x503ff0
call fcn.00423100
mov eax, dword [esp + 0x70]
add esp, 8
cmp eax, esi
je 0x45fda1
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x45fdc6
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45fdbd
cmp al, 0xff
je 0x45fdbd
dec al
mov byte [ecx], al
jmp 0x45fdc6
push ecx
call fcn.004be17b
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], esi
cmp eax, esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
je 0x45fde7
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x460020
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x460017
cmp al, 0xff
je 0x460017
dec al
mov byte [ecx], al
jmp 0x460020
mov ecx, 6
xor eax, eax
lea edi, [esp + 0xf4]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x24]
mov word [esp + 0xf4], cx
cmp eax, ecx
mov dword [esp + 0x100], 0x1000
mov word [esp + 0x104], cx
mov word [esp + 0x106], 0x14
jne 0x45fe6c
mov eax, 0xa
mov dword [esp + 0x24], eax
mov byte [esp + 0x108], al
mov word [esp + 0x10a], 0xffff
movsx eax, word [esp + 0x28]
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
lea ecx, [esp + 0xf4]
push ecx
mov ecx, ebp
lea eax, [eax + edx*4]
lea esi, [ebp + eax*4]
lea edi, [esi + 0x2460]
push edi
call fcn.00460080
mov dx, word [esp + 0x90]
mov ax, word [esp + 0xe8]
mov cx, word [esp + 0xf0]
mov ebx, dword [esp + 0x20]
mov word [esi + 0x24e4], dx
mov word [esi + 0x24e6], ax
mov eax, dword [esp + 0xec]
mov word [esi + 0x24e8], cx
mov cx, word [esp + 0x4c]
mov word [esi + 0x24cc], ax
shr eax, 0x10
mov word [esi + 0x24ce], ax
mov dl, byte [ebx + 0x63]
mov ax, word [esp + 0x2c]
mov byte [esi + 0x24d6], dl
mov edx, dword [esp + 0x54]
mov word [esi + 0x24ea], ax
mov word [esi + 0x24ec], cx
push edi
mov ecx, ebp
mov dword [esi + 0x2488], edx
call fcn.00460120
mov edi, eax
mov eax, dword [esi + 0x2488]
push 0x1000
push eax
mov ecx, ebp
call fcn.0045d5b0
cmp di, 0x8706
je 0x45ff9e
cmp word [esp + 0x14], 0x100
jb 0x45ff9e
mov al, byte [ebp + 0x64]
mov edx, dword [esp + 0xb4]
inc al
inc word [ebp + 0x5c]
movzx cx, al
mov byte [ebp + 0x64], al
mov eax, ecx
and eax, 0xffff
lea edx, [edx + edx*2 + 0xc]
mov dl, byte [ebp + edx*8]
lea esi, [eax + eax*2 + 0xc]
lea eax, [eax + eax*2]
mov byte [ebp + esi*8], dl
lea eax, [ebp + eax*8]
mov byte [eax + 0x61], 1
mov dl, byte [ebx + 0x62]
mov byte [eax + 0x62], dl
mov byte [eax + 0x63], cl
mov byte [eax + 0x64], cl
mov dl, byte [ebx + 0x70]
mov byte [eax + 0x70], dl
mov dl, byte [ebx + 0x71]
mov byte [eax + 0x71], dl
mov byte [eax + 0x72], 0
mov byte [eax + 0x5a], cl
mov eax, dword [esp + 0x68]
xor esi, esi
cmp eax, esi
je 0x45ffb5
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x45ffda
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x45ffd1
cmp al, 0xff
je 0x45ffd1
dec al
mov byte [ecx], al
jmp 0x45ffda
push ecx
call fcn.004be17b
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x5c], esi
cmp eax, esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
je 0x45fffb
push eax
call fcn.004be17b
add esp, 4
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x460020
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x460017
cmp al, 0xff
je 0x460017
dec al
mov byte [ecx], al
jmp 0x460020
push ecx
call fcn.004be17b
add esp, 4
lea ecx, [esp + 0x168]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1604], 0xffffffff
call fcn.0046cf30
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov cx, word [ebp + 0x28]
inc eax
movsx edx, ax
cmp edx, ecx
mov dword [esp + 0x28], eax
jl 0x45f14a
mov ecx, dword [esp + 0x15fc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x15f8
ret