Function at 0x4152b3
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, esp
mov dword [esi + 0xb0], ebp
lea eax, [esi + 0xb8]
mov dword [esi + 0x4c], ecx
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x34], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x481150
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
and dword [eax + 8], 0
mov dword [esi + 0x28], 1
and dword [esi + 0x2c], 0
mov eax, dword [ebp + 0xc]
and dword [esi + 0x30], 0
lea ecx, [esi + 0x70]
push edi
push eax
push dword [ebp + 8]
call fcn.00425fa0
add esp, 0xc
lea eax, [esi + 0x70]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 4]
mov edi, ecx
mov dword [esi + 0x54], edx
mov dword [esi + 0x1c], ebx
mov ebx, dword [eax + 0x1c]
mov dword [esi + 0x50], ecx
mov byte [esi + 7], cl
and edi, 0xffffff00
mov dword [esi + 0x58], edi
mov edi, dword [eax + 0x3c]
mov dword [esi + 0x20], ebx
mov ebx, dword [eax + 0x30]
mov dword [esi + 0x40], edi
sub edi, edx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x48], edi
mov edi, dword [eax]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x3c], edx
neg edx
mov dword [esi + 0x64], edi
mov edi, dword [eax + 8]
mov dword [esi + 0x60], edx
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x68], edi
mov edi, dword [eax + 0x24]
mov dword [esi + 8], edi
mov edi, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
mov dword [esi + 0x44], eax
lea eax, [edx + 2]
mov dword [esi + 0x10], edi
mov dword [esi + 0x5c], eax
xor eax, eax
cmp dword [esi + 0x64], 0
mov dword [esi + 0x38], eax
je 0x4154e8
movzx eax, byte [esi + 7]
mov edx, dword [esi + 0xc]
or eax, dword [esi + 0x58]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x20]
mov ebx, eax
mov edi, dword [esi + 0x40]
lea eax, [ebx + edi - 1]
cmp eax, dword [esi + 0x10]
jae 0x4155c2
mov cl, byte [edx + eax]
xor eax, eax
mov dword [esi + 0x18], ebx
xor ebx, ebx
inc ebx
mov edx, ebx
shld eax, ebx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
mov ebx, dword [esi + 0x18]
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esi + 0x6c]
and edx, dword [esi + 0x68]
or edx, eax
lea eax, [ebx + edi]
je 0x415448
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x14]
cmp eax, ecx
cmova ecx, eax
cmp dword [esi + 8], 0xffffffff
cmove ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x24], ecx
add eax, ebx
mov edx, dword [esi + 0x40]
cmp ecx, edx
jae 0x415459
lea edi, [ebx + ecx]
cmp edi, dword [esi + 0x10]
jae 0x415607
mov edx, dword [esi + 0x44]
lea edi, [ecx + 1]
mov bl, byte [edx + ecx]
cmp bl, byte [eax + ecx]
mov ebx, dword [esi + 0x18]
mov ecx, edi
je 0x41540b
mov eax, ebx
mov edx, dword [esi + 0xc]
add eax, dword [esi + 0x60]
cmp dword [esi + 8], 0xffffffff
lea ebx, [eax + edi]
je 0x4153ae
jmp 0x4154b6
cmp dword [esi + 8], 0xffffffff
mov edx, dword [esi + 0xc]
mov ebx, eax
je 0x4153ae
jmp 0x4154b8
cmp dword [esi + 8], 0xffffffff
mov ecx, dword [esi + 0x14]
mov eax, 0
cmove ecx, eax
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 0x3c]
cmp dword [esi + 0x24], ecx
jae 0x4154c4
dec ecx
cmp ecx, edx
jae 0x415628
lea eax, [ecx + ebx]
cmp eax, dword [esi + 0x10]
jae 0x41563c
mov edi, dword [esi + 0x44]
mov bl, byte [edi + ecx]
mov edi, dword [esi + 0xc]
cmp bl, byte [edi + eax]
mov ebx, dword [esi + 0x18]
je 0x41546e
add ebx, dword [esi + 0x54]
cmp dword [esi + 8], 0xffffffff
mov edx, dword [esi + 0xc]
je 0x4153ae
mov eax, dword [esi + 0x48]
mov dword [esi + 0x14], eax
mov eax, ebx
jmp 0x4153ac
add eax, edi
mov dword [esi + 0x14], 0
jmp 0x4153ac
cmp dword [esi + 8], 0xffffffff
mov ecx, dword [esi + 0x14]
mov eax, 0
mov edx, dword [esi + 0x20]
cmovne ecx, eax
and dword [esi + 0xc0], 0
mov dword [esi + 0x18], edx
mov dword [esi + 8], ecx
jmp 0x415590
test dword [esi + 0x50], 0xff0000
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0xc]
jne 0x4155c2
lea edi, [esi + 0x70]
mov ebx, 0x110000
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x415522
mov eax, dword [esi + 0x10]
sub eax, ecx
jbe 0x41551c
cmp byte [edx + ecx], 0xbf
jg 0x415522
jmp 0x415655
jne 0x415655
mov dword [esi + 0x1c], ecx
add ecx, edx
add eax, ecx
mov dword [esi + 0x70], ecx
mov ecx, edi
mov dword [esi + 0x74], eax
call fcn.0045569a
test eax, eax
mov al, byte [esi + 7]
cmove edx, ebx
test al, al
jne 0x41557c
cmp edx, 0x110000
je 0x4155bb
cmp edx, 0x80
mov eax, 1
jb 0x41556e
cmp edx, 0x800
push 2
pop eax
jb 0x41556e
cmp edx, 0x10000
push 4
pop eax
sbb eax, 0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0xc]
mov byte [esi + 7], 1
add ecx, eax
jmp 0x415503
mov ecx, dword [esi + 0x1c]
and dword [esi + 0xc0], 0
xor al, 1
mov byte [esi + 7], al
mov ebx, ecx
mov dword [esi + 0x18], ecx
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x38]
lea ecx, [esi + 0x28]
add ebx, eax
add edx, eax
push ebx
call fcn.00422bbc
pop eax
mov edx, dword [ebp + 0x14]
lea ecx, [esi + 0x28]
push dword [esi + 0x5c]
call fcn.00422bbc
pop eax
mov eax, dword [esi + 0x18]
jmp 0x415389
and dword [esi + 0xc0], 0
mov eax, dword [esi + 0x34]
mov edi, dword [ebp + 8]
mov edx, dword [esi + 0x38]
and dword [esi + 0xc0], 0
lea ecx, [esi + 0x28]
add edi, eax
add edx, eax
push edi
call fcn.00422bbc
pop eax
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x4c]
movsd xmm0, qword [esi + 0x28]
mov dword [ecx + 8], eax
movsd qword [ecx], xmm0
mov ecx, dword [esi + 0xb8]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x10]
add ecx, ebx
cmp edx, ecx
cmova ecx, edx
and dword [esi + 0xc0], 0
push 0x4e8470
call fcn.004912e0
pop eax
jmp 0x415672
and dword [esi + 0xc0], 0
push 0x4e8480
call fcn.004912e0
pop eax
jmp 0x415672
and dword [esi + 0xc0], 0
mov edx, dword [esi + 0x10]
mov ecx, eax
push 0x4e8490
call fcn.004912e0
pop eax
jmp 0x415672
mov eax, ecx
mov ecx, edx
and dword [esi + 0xc0], 0
mov edx, dword [esi + 0x10]
push 0x4e8864
push edx
push eax
call fcn.004917f0
add esp, 0xc
ud2