Function at 0x5026d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov ebx, ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x502922
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5ec]
mov eax, dword [eax + 8]
dec eax
jns 0x502710
mov eax, dword [ebp - 4]
call fcn.00500dac
xor ecx, ecx
push ebp
push 0x5028f8
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x640], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5e8]
mov edx, ebx
call fcn.00416e10
mov esi, eax
mov edx, dword [0x4fbf38]
mov eax, 0x58
call fcn.00405690
mov ebx, eax
mov dl, 1
mov eax, dword [0x49a9d0]
call fcn.0049aa54
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x49a9d0]
call fcn.0049aa54
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 8]
mov dword [ebx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 8], eax
mov eax, dword [esi + 4]
mov dword [ebx], eax
mov eax, dword [esi]
call fcn.0049b080
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, dword [ebx + 0x48]
call fcn.0049ab14
mov byte [ebx + 0x44], 0
mov al, byte [esi + 0x20]
mov byte [ebx + 0x42], al
mov eax, dword [esi + 0x34]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x28]
mov dword [ebx + 0x38], eax
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x50], 1
lea edx, [ebp - 0x14]
mov eax, edi
call fcn.004090e4
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x670]
call fcn.0040969c
mov edx, dword [ebp - 0x18]
pop eax
call fcn.00404b3c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, 0x50293c
call fcn.00409540
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x54]
call fcn.004048d0
mov al, byte [esi + 0x30]
mov byte [ebx + 0x40], al
mov byte [ebx + 0x44], 0
mov edx, edi
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5ec]
mov ecx, dword [eax + 8]
dec ecx
cmp edx, ecx
jle 0x502825
mov edx, ebx
call fcn.00416c64
jmp 0x50282c
mov ecx, ebx
call fcn.00416e8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5ec]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5028a4
inc eax
mov dword [ebp - 0xc], eax
xor edi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5ec]
mov edx, edi
call fcn.00416e10
mov ebx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x618]
imul esi, edi
mov eax, dword [ebp - 4]
add esi, dword [eax + 0x61c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x614]
add eax, esi
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x610]
add ecx, 0xf
mov edx, esi
mov eax, 0xf
call fcn.00415784
push edi
lea esi, [ebp - 0x28]
lea edi, [ebx + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
inc edi
dec dword [ebp - 0xc]
jne 0x502843
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5ec]
mov edx, dword [eax + 8]
dec edx
mov eax, dword [ebp - 4]
imul edx, dword [eax + 0x618]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x61c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x614]
add eax, 0x19
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x474]
call fcn.0044836c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5028ff
mov eax, dword [ebp - 4]
mov byte [eax + 0x640], 1
ret