Function at 0x496be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b4f98
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebp
push esi
mov eax, dword [0x4db040]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
lea ecx, [esp + 0x30]
call fcn.0045a210
mov dword [esp + 0x54], 0
cmp dword [eax + 0x18], 0x10
jb 0x496c27
mov ebp, dword [eax + 4]
jmp 0x496c2a
lea ebp, [eax + 4]
push 0
push 0
push 0x4c45b0
call fcn.004a20c4
mov edx, dword [edi]
mov esi, eax
mov eax, dword [edx + 0x30]
push 0
push esi
mov ecx, edi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
push 0x4ca160
mov ecx, esi
call eax
test ebp, ebp
je 0x496c64
mov edx, dword [esi]
mov eax, dword [edx + 0x40]
push 0
push ebp
mov ecx, esi
call eax
push 0
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], esi
call fcn.004a20be
test eax, eax
je 0x496c81
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x48], esi
jb 0x496ca1
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004a21e6
add esp, 4
mov edx, dword [esp + 0x5c]
mov ax, word [edx + 4]
lea ecx, [esp + 0x30]
call fcn.0045a230
mov dword [esp + 0x54], 1
cmp dword [eax + 0x18], esi
jb 0x496cc4
mov ebp, dword [eax + 4]
jmp 0x496cc7
lea ebp, [eax + 4]
push 0
push 0
push 0x4c45b0
call fcn.004a20c4
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push 0
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 0x4ca174
mov ecx, esi
call edx
test ebp, ebp
je 0x496d01
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push 0
push ebp
mov ecx, esi
call edx
push 0
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], esi
call fcn.004a20be
test eax, eax
je 0x496d1e
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x48], esi
jb 0x496d3e
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004a21e6
add esp, 4
mov edx, dword [esp + 0x5c]
mov ax, word [edx + 6]
lea ecx, [esp + 0x30]
call fcn.0045a230
mov dword [esp + 0x54], 2
cmp dword [eax + 0x18], esi
jb 0x496d61
mov ebp, dword [eax + 4]
jmp 0x496d64
lea ebp, [eax + 4]
push 0
push 0
push 0x4c45b0
call fcn.004a20c4
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push 0
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 0x4ca190
mov ecx, esi
call edx
test ebp, ebp
je 0x496d9e
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push 0
push ebp
mov ecx, esi
call edx
push 0
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], esi
call fcn.004a20be
test eax, eax
je 0x496dbb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x48], esi
jb 0x496ddb
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004a21e6
add esp, 4
mov edx, dword [esp + 0x5c]
mov ax, word [edx + 8]
lea ecx, [esp + 0x30]
call fcn.0045a230
mov dword [esp + 0x54], 3
cmp dword [eax + 0x18], esi
jb 0x496dfe
mov ebp, dword [eax + 4]
jmp 0x496e01
lea ebp, [eax + 4]
push 0
push 0
push 0x4c45b0
call fcn.004a20c4
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push 0
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push str._map_file_mac__
mov ecx, esi
call edx
test ebp, ebp
je 0x496e3b
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push 0
push ebp
mov ecx, esi
call edx
push 0
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], esi
call fcn.004a20be
test eax, eax
je 0x496e58
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x48], esi
jb 0x496e78
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004a21e6
add esp, 4
mov edx, dword [esp + 0x5c]
mov ax, word [edx + 0xa]
lea ecx, [esp + 0x14]
call fcn.0045a230
mov dword [esp + 0x54], 4
cmp dword [eax + 0x18], esi
jb 0x496e9b
mov ebp, dword [eax + 4]
jmp 0x496e9e
lea ebp, [eax + 4]
push 0
push 0
push 0x4c45b0
call fcn.004a20c4
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push 0
push esi
mov ecx, edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push 0x4ca1c4
mov ecx, esi
call edx
test ebp, ebp
je 0x496ed8
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
push 0
push ebp
mov ecx, esi
call edx
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], esi
call fcn.004a20be
test eax, eax
je 0x496ef5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x54], 0xffffffff
cmp dword [esp + 0x2c], 0x10
jb 0x496f11
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004a21e6
add esp, 4
mov esi, dword [esp + 0x5c]
lea edx, [esi + 0xc]
push edx
mov ecx, edi
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
call fcn.00495150
push edi
lea ecx, [esi + 0x90]
call fcn.00495330
add esp, 8
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x4c
ret