Function at 0x415772
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4569ad
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x470180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp ecx, eax
je case.0x415556.0
movzx edx, byte [ecx]
cmp edx, 0xc
ja case.0x415556.0
jmp dword [edx*4 + 0x415e30]
sub eax, ecx
cmp eax, 5
jne case.0x415556.0
movzx esi, byte [ecx + 1]
movzx eax, byte [ecx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 3]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 4]
shl esi, 8
or esi, eax
mov dword [edi + 0x2c], 1
je 0x4155f8
cmp dword [edi + 0x28], esi
je 0x4155f8
mov eax, dword [edi + 0x18]
mov ecx, edi
test dword [eax + 4], 0x10000
je 0x4155ed
mov ebx, dword [ebp + 0xc]
mov dword [edi + 0x28], 0
push dword [ebx]
call fcn.00414fe0
mov dword [ebx], eax
test eax, eax
je case.0x415556.0
push esi
push 0x2040009
push eax
call dword [0x471504]
mov dword [ebx], eax
test eax, eax
je 0x4155e0
mov eax, dword [edi + 0x1c]
test dword [eax], 0x1000000
jne 0x415dd4
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 8]
jmp case.0x415556.0
mov eax, dword [edi]
push esi
call dword [eax + 8]
jmp case.0x415556.0
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x28]
call dword [eax + 8]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
sub eax, ecx
cmp eax, 2
jne case.0x415556.0
mov al, byte [ecx + 1]
or dword [edi + 0x34], 0x1000000
movzx esi, al
or esi, 0x1000000
test al, al
je 0x4156b0
mov ecx, dword [edi + 0x30]
mov eax, ecx
and eax, 0x10000ff
cmp eax, esi
je 0x4156b0
mov eax, dword [edi + 0x18]
and ecx, 0xfeffff00
mov dword [edi + 0x30], ecx
mov ecx, edi
test dword [eax + 4], 0x20000
je 0x4156a5
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00414fe0
mov dword [ebx], eax
test eax, eax
je case.0x415556.0
push esi
push 0x205000a
push eax
call dword [0x471504]
mov dword [ebx], eax
test eax, eax
je 0x415698
mov eax, dword [edi + 0x1c]
test dword [eax], 0x2000000
jne 0x415dd4
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0xc]
jmp case.0x415556.0
mov eax, dword [edi]
push esi
call dword [eax + 0xc]
jmp case.0x415556.0
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x30]
call dword [eax + 0xc]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
sub eax, ecx
cmp eax, 2
jne case.0x415556.0
mov bl, byte [ecx + 1]
mov byte [ebp + 8], bl
push dword [ebp + 8]
call fcn.00416d70
or dword [edi + 0x34], 0x2000000
add esp, 4
movzx esi, al
or esi, 0x20000
shl esi, 8
test bl, bl
je 0x4156b0
mov ecx, dword [edi + 0x30]
mov eax, ecx
and eax, 0x200ff00
cmp eax, esi
je 0x4156b0
mov eax, dword [edi + 0x18]
and ecx, 0xfdff00ff
mov dword [edi + 0x30], ecx
mov ecx, edi
test dword [eax + 4], 0x20000
je 0x4156a5
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00414fe0
mov dword [ebx], eax
test eax, eax
je case.0x415556.0
push esi
push 0x205000a
push eax
call dword [0x471504]
mov dword [ebx], eax
test eax, eax
je 0x415765
mov eax, dword [edi + 0x1c]
test dword [eax], 0x2000000
jne 0x415dd4
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0xc]
jmp case.0x415556.0
sub eax, ecx
cmp eax, 2
jne case.0x415556.0
mov cl, byte [ecx + 1]
movzx eax, cl
sub eax, 1
je 0x4157a0
sub eax, 1
je 0x415799
sub eax, 1
jne 0x4157a0
mov esi, 0x4010000
jmp 0x4157a5
mov esi, 0x4020000
jmp 0x4157a5
mov esi, 0x4000000
or dword [edi + 0x34], 0x4000000
test cl, cl
je 0x4156b0
mov ecx, dword [edi + 0x30]
mov eax, ecx
and eax, 0x4ff0000
cmp eax, esi
je 0x4156b0
mov eax, dword [edi + 0x18]
and ecx, 0xfb00ffff
mov dword [edi + 0x30], ecx
mov ecx, edi
test dword [eax + 4], 0x20000
je 0x4156a5
mov ebx, dword [ebp + 0xc]
push dword [ebx]
call fcn.00414fe0
mov dword [ebx], eax
test eax, eax
je case.0x415556.0
push esi
push 0x205000a
push eax
call dword [0x471504]
mov dword [ebx], eax
test eax, eax
je 0x415817
mov eax, dword [edi + 0x1c]
test dword [eax], 0x2000000
jne 0x415dd4
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0xc]
jmp case.0x415556.0
sub eax, ecx
cmp eax, 2
jne case.0x415556.0
mov bl, byte [ecx + 1]
movzx eax, bl
cmp eax, 0x13
ja case.0x415556.0
movzx eax, byte [eax + 0x415e84]
jmp dword [eax*4 + 0x415e64]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp + 0xf]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp + 0xf], 0x69
call fcn.00416db0
mov eax, dword [ebp - 0x18]
mov byte [ebp + 0xf], 1
cmp eax, dword [ebp - 0x14]
je 0x41588c
mov byte [eax], 1
inc dword [ebp - 0x18]
jmp 0x415899
lea ecx, [ebp + 0xf]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00414c90
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x1c]
push eax
movzx eax, byte [edi + 8]
push eax
call fcn.00418100
test bl, bl
mov ecx, dword [ebp - 0x1c]
je 0x4158f8
test ecx, ecx
je case.0x415556.0
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4158d8
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415e24
push edx
push ecx
call fcn.00434082
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
je 0x415dd4
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x415dca
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415e24
jmp 0x415dca
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp + 0xf]
mov dword [ebp - 4], 1
push eax
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp + 0xf], 0x69
call fcn.00414c90
mov eax, dword [ebp - 0x18]
mov byte [ebp + 0xf], 0xe
cmp eax, dword [ebp - 0x14]
je 0x41596e
mov byte [eax], 0xe
inc dword [ebp - 0x18]
jmp 0x41597b
lea ecx, [ebp + 0xf]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00414c90
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x1c]
push eax
movzx eax, byte [edi + 8]
push eax
call fcn.00418100
cmp bl, 0xd
jmp 0x4158ac
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x40]
mov dword [edi + 0x44], 1
call dword [eax + 0x1c]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
xor ecx, ecx
cmp bl, 5
mov dword [edi + 0x44], 1
sete cl
mov dword [ebp + 8], ecx
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov eax, dword [edi + 0x18]
test dword [eax + 4], 0x40000
je case.0x415556.0
mov esi, dword [ebp + 0xc]
mov ecx, edi
push dword [esi]
call fcn.00414fe0
mov dword [esi], eax
test eax, eax
je case.0x415556.0
push dword [ebp + 8]
push 0x202000e
push eax
call dword [0x471504]
mov dword [esi], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
or byte [edi + 0x3d], 1
movzx eax, byte [edi + 0x3c]
mov ecx, edi
mov edx, dword [edi]
push eax
movzx eax, byte [edi + 0x3b]
push eax
call dword [edx + 0x18]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
or byte [edi + 0x3d], 1
mov ecx, edi
mov edx, dword [edi]
cmp bl, 8
push 1
sete al
movzx eax, al
push eax
call dword [edx + 0x18]
mov eax, dword [edi + 0x18]
test byte [eax + 4], 0x20
je case.0x415556.0
mov esi, dword [ebp + 0xc]
mov ecx, edi
push dword [esi]
call fcn.00414fe0
mov dword [esi], eax
test eax, eax
je case.0x415556.0
xor ecx, ecx
mov edx, 0x20
cmp bl, 8
cmove ecx, edx
or ecx, 0x200000
push ecx
push 0x2010003
push eax
call dword [0x471504]
mov dword [esi], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
or byte [edi + 0x3d], 2
jmp 0x415a2c
or byte [edi + 0x3d], 2
mov ecx, edi
mov edx, dword [edi]
cmp bl, 0xb
push 2
setne al
dec al
and al, 2
movzx eax, al
push eax
call dword [edx + 0x18]
mov eax, dword [edi + 0x18]
test byte [eax + 4], 0x10
je case.0x415556.0
mov esi, dword [ebp + 0xc]
mov ecx, edi
push dword [esi]
call fcn.00414fe0
mov dword [esi], eax
test eax, eax
je case.0x415556.0
xor ecx, ecx
mov edx, 0x10
cmp bl, 0xb
cmove ecx, edx
or ecx, 0x100000
push ecx
push 0x2010003
push eax
call dword [0x471504]
mov dword [esi], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
sub eax, ecx
cmp eax, 1
jne case.0x415556.0
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.00415ea0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
sub eax, ecx
cmp eax, 1
jne case.0x415556.0
push dword [ebp + 0xc]
mov ecx, edi
push 0
call fcn.00415ea0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
sub eax, ecx
cmp eax, 2
jne case.0x415556.0
mov eax, dword [edi + 0x1c]
lea esi, [edi + 0x3a]
mov al, byte [eax + 2]
and al, byte [ecx + 1]
mov byte [esi], al
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp + 0xf]
mov dword [ebp - 4], 2
push eax
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp + 0xf], 0x6e
call fcn.00414c90
push esi
lea ecx, [ebp - 0x1c]
call fcn.00416db0
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x1c]
push eax
movzx eax, byte [edi + 8]
push eax
call fcn.00418100
lea ecx, [ebp - 0x1c]
call fcn.00414ea0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
sub eax, ecx
cmp eax, 2
jne case.0x415556.0
mov eax, dword [edi + 0x1c]
lea esi, [edi + 0x39]
mov al, byte [eax + 1]
and al, byte [ecx + 1]
and al, 0xf0
mov dword [ebp - 0x1c], 0
mov byte [esi], al
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp + 0xf]
mov dword [ebp - 4], 3
push eax
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp + 0xf], 0x6f
call fcn.00414c90
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x14]
je 0x415c88
mov al, byte [esi]
mov byte [ecx], al
inc dword [ebp - 0x18]
jmp 0x415c92
push esi
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00414c90
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x1c]
push eax
movzx eax, byte [edi + 8]
push eax
call fcn.00418100
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x415dd4
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
cmp ecx, 0x1000
jb 0x415cd1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415e29
push ecx
push edx
call fcn.00434082
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
sub eax, ecx
cmp eax, 2
jne case.0x415556.0
mov bl, byte [ecx + 1]
movzx eax, bl
mov byte [ebp - 0xd], bl
sub eax, 1
je 0x415d1b
sub eax, 1
je 0x415d1b
sub eax, 1
jne case.0x415556.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp + 0xb]
mov dword [ebp - 4], 4
push eax
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp + 0xb], 0x70
call fcn.00414c90
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
je 0x415d58
mov byte [eax], bl
inc dword [ebp - 0x18]
jmp 0x415d65
lea ecx, [ebp - 0xd]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00414c90
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x1c]
push eax
movzx eax, byte [edi + 8]
push eax
call fcn.00418100
mov eax, dword [edi + 0x18]
test dword [eax + 4], 0x80000
je 0x415ded
cmp bl, 1
je 0x415ded
mov esi, dword [ebp + 0xc]
mov ecx, edi
push dword [esi]
call fcn.00414fe0
mov dword [esi], eax
test eax, eax
je 0x415ded
push 0x16
push eax
call dword [0x471514]
mov ecx, dword [ebp - 0x1c]
mov dword [esi], eax
test ecx, ecx
je 0x415dd4
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x415dca
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415e1f
push edx
push ecx
call fcn.00434082
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je case.0x415556.0
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x4158d8
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4158d8
call fcn.00438d1f
call fcn.00438d1f
call fcn.00438d1f
nop
loop 0x415e8a
inc ecx
add byte [ebp + 0x55], bl
inc ecx
add byte [ebx], bl
push esi
inc ecx
add bl, dl
push esi
inc ecx
add byte [edx + 0x57], dh
inc ecx
add byte [eax + ebx*2], ah
inc ecx
add dl, ah
pop eax
inc ecx
add dl, ah
pop eax
inc ecx
add byte [ebp + 0x5b], cl
inc ecx
add byte [ebx + ebx*2 + 0x41], bh
add byte [ebx + ebx*2 + 0x5c2e0041], ch
inc ecx
add ah, dh
pop esp
inc ecx
add byte [eax + ebx*2 + 0x41], cl
add byte [ecx + ebx*2 + 0x59be0041], dl
inc ecx
add byte [eax], ch
pop edx
inc ecx
add byte [esi + 0x5a], dl
inc ecx
add bl, cl
pop edx
inc ecx
add ah, dl
pop edx
inc ecx
add byte [ecx + ebx*2], ch
inc ecx
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add al, byte [edx]
add eax, dword [esp + eax]
add al, byte [ebx]
add al, 4
add eax, 0x7070606
pop es
pop es
add byte [edi], al
add ah, cl
int3