Function at 0x4540b0
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cd6eb
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4f8458]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6c]
mov edi, dword [eax + 0xc]
add eax, 8
cmp edi, dword [eax + 8]
mov dword [esp + 0x14], eax
jbe 0x4540f8
call fcn.0049458d
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x6c]
mov ebx, dword [esi + 0x10]
add esi, 8
cmp dword [esi + 4], ebx
mov dword [esp + 0x20], edi
jbe 0x454112
call fcn.0049458d
cmp dword [esp + 0x14], esi
je 0x45411d
call fcn.0049458d
cmp edi, ebx
je 0x4542e1
mov edx, dword [esp + 0x14]
cmp edi, dword [edx + 8]
jb 0x454133
call fcn.0049458d
mov eax, dword [edi]
mov ebx, 8
add eax, ebx
cmp dword [eax + 0x18], ebx
jb 0x454146
mov esi, dword [eax + 4]
jmp 0x454149
lea esi, [eax + 4]
push esi
call dword [0x4cf440]
test eax, eax
je 0x454164
push esi
call dword [0x4cf378]
cmp eax, 0xffffffff
je 0x454164
test al, 0x10
je 0x45419b
mov eax, dword [esp + 0x14]
cmp edi, dword [eax + 8]
jb 0x454172
call fcn.0049458d
mov eax, dword [edi]
add eax, ebx
cmp dword [eax + 0x18], ebx
jb 0x454180
mov eax, dword [eax + 4]
jmp 0x454183
add eax, 4
push eax
call dword [0x4cf378]
cmp eax, 0xffffffff
je 0x4542cb
test al, 0x10
je 0x4542cb
push 0x88
call fcn.00493af6
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x38], ebx
je 0x454211
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 8]
jb 0x4541c6
call fcn.0049458d
mov edi, dword [edi]
push 0x41a
push ebx
push esi
call fcn.00470b20
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi], vtable.CImportListBoxItem.0
mov dword [esi + 0x64], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x60], edi
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov edi, esi
jmp 0x454213
xor edi, edi
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], 0xffffffff
mov edx, dword [esi + 0x4c]
mov ecx, dword [edx + 0x4c]
push edi
mov eax, 0x5a
mov dword [esp + 0x1c], edi
call fcn.0047f780
mov eax, dword [esi + 0x58]
add esi, 0x54
cmp eax, ebx
jne 0x454241
xor edx, edx
jmp 0x454249
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
cmp eax, ebx
je 0x454266
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x454266
mov eax, dword [esi + 8]
mov dword [eax], edi
add eax, 4
mov dword [esi + 8], eax
jmp 0x454285
mov ebx, dword [esi + 8]
cmp eax, ebx
jbe 0x454272
call fcn.0049458d
push ebx
push esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, esi
call fcn.004091f0
mov ecx, dword [edi + 0x84]
mov edx, 1
cmp dword [ecx + 0xb8], edx
je 0x4542b0
mov esi, dword [ecx + 0x20]
lea ebx, [ecx + 4]
xor eax, eax
mov dword [ecx + 0xb8], edx
call fcn.00471b10
mov edx, 1
mov eax, dword [edi + 0x84]
cmp dword [eax + 0xb8], edx
mov edi, dword [esp + 0x20]
jne 0x4542cb
mov eax, dword [ebp + 8]
add dword [eax + 0xf8], edx
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 8]
jb 0x4542d9
call fcn.0049458d
add edi, 4
jmp 0x4540f8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
test ecx, ecx
je 0x4542f5
mov edx, dword [eax + 0x5c]
sub edx, ecx
sar edx, 2
jne 0x454321
mov edi, dword [eax + 0x64]
mov eax, dword [edi + 0x18]
test al, 1
jne 0x454344
or eax, 1
mov dword [edi + 0x18], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
push 1
mov ecx, edi
call edx
mov esi, dword [edi + 0x20]
test esi, esi
je 0x454344
lea ebx, [edi + 4]
mov eax, 1
jmp 0x45433f
mov ecx, dword [eax + 0x50]
cmp dword [ecx + 0xb8], 1
je 0x454347
mov esi, dword [ecx + 0x20]
mov dword [ecx + 0xb8], 1
lea ebx, [ecx + 4]
xor eax, eax
call fcn.00471b10
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x4c]
mov edi, dword [ebx + 0x4c]
call fcn.0047f800
mov esi, dword [ebx + 0x20]
test esi, esi
je 0x4543cd
cmp dword [esi + 0xc], 0
lea edi, [ebx + 4]
je 0x454384
mov eax, dword [esi + 8]
push 1
push edi
push eax
call dword [0x4cf4a4]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [esi], 0
je 0x4543cd
mov ecx, dword [esi + 8]
push ecx
call dword [0x4cf504]
test edi, edi
mov ebx, eax
je 0x4543b7
push edi
call dword [0x4cf09c]
push eax
push ebx
mov dword [esp + 0x20], eax
call dword [0x4cf0a0]
mov edx, dword [esp + 0x18]
push edx
call dword [0x4cf0d8]
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x48]
push edi
push ebx
call edx
mov eax, dword [esi + 8]
push ebx
push eax
call dword [0x4cf4c4]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4