Function at 0x41ab80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65ab66
mov eax, dword fs:[0]
push eax
sub esp, 0x230
push ebx
push esi
push edi
mov eax, dword [0x7d9a88]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
lea ecx, [esp + 0x18]
call fcn.00425a70
xor ebx, ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x248], ebx
call fcn.00413a30
mov esi, dword [ebp + 8]
mov byte [esp + 0x248], 1
mov eax, dword [0x8654a8]
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov eax, ecx
sub eax, dword [0x8654a4]
lea edx, [esi + 0x28]
add eax, dword [edx]
mov dword [esp + 0x34], edx
cdq
idiv ecx
mov eax, dword [esi]
add eax, 0x188
mov dword [esp + 0x30], ebx
mov dword [esi + 0x34], edx
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
jg 0x41ac77
lea ecx, [esp + 0x44]
mov byte [esp + 0x248], 0
call fcn.00413b10
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x41ac35
push eax
call fcn.005ae7f2
add esp, 4
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.005ae7f2
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x30]
mov edi, dword [esi]
mov edx, dword [edi + 0x198]
sub edx, dword [edi + 0x194]
sar edx, 2
cmp ebx, edx
jb 0x41ac95
or edi, 0xffffffff
mov dword [esp + 0x14], edi
jmp 0x41acbc
mov eax, dword [edi + 0x198]
sub eax, dword [edi + 0x194]
sar eax, 2
cmp ebx, eax
jb 0x41acad
call fcn.005aec38
mov ecx, dword [edi + 0x194]
mov edx, dword [ecx + ebx*4]
mov dword [esp + 0x14], edx
mov edi, edx
mov eax, edi
and eax, 0xffff0000
mov dword [esp + 0x38], eax
cmp eax, 0x10000000
je 0x41b063
test eax, 0x20000
je 0x41adb7
mov edx, dword [esi]
mov eax, edi
sar eax, 8
and eax, 0xf
jl 0x41acf3
cmp eax, dword [edx + 0x44]
jge 0x41acf3
lea eax, [edx + eax*4]
jmp 0x41acf5
xor eax, eax
mov edi, dword [eax]
mov ecx, dword [edx + 0xc0]
mov esi, edi
sar esi, 4
xor ebx, ebx
and esi, 0x3f
xor eax, eax
cmp ecx, ebx
jle 0x41b032
add edx, 0x5c
test dword [edx], 0xf0000
jne 0x41ad29
inc eax
add edx, 0x18
cmp eax, ecx
jl 0x41ad14
jmp 0x41b032
and edi, 0x300
cmp edi, 0x300
jge 0x41b0ba
mov edi, dword [ebp + 8]
lea ebx, [esi - 1]
mov edx, edi
call fcn.0041aa90
lea ebx, [esi + 1]
mov edx, edi
mov dword [esp + 0x10], eax
call fcn.0041aa90
mov ecx, dword [esp + 0x10]
add ecx, eax
jne 0x41b032
cmp dword [edi + 0x2c], 2
jg 0x41ad81
cmp dword [edi + 0x38], 1
jne 0x41ad81
mov ecx, dword [edi]
cmp byte [ecx + 0x1d4], 0
jne 0x41ad81
push 1
push edi
call fcn.0041bf90
lea ecx, [esp + 0x44]
mov byte [esp + 0x248], 0
call fcn.00413b10
lea ecx, [esp + 0x18]
call fcn.00425ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test eax, 0x10000
je 0x41ae97
mov esi, dword [esi]
mov eax, edi
sar eax, 8
and eax, 0xf
jl 0x41add8
cmp eax, dword [esi + 0x44]
jge 0x41add8
lea eax, [esi + eax*4]
jmp 0x41adda
xor eax, eax
mov edi, dword [eax]
mov edx, dword [ebp + 8]
mov esi, edi
sar esi, 4
mov ebx, esi
and ebx, 0x3f
mov dword [esp + 0x10], ebx
call fcn.0041aa90
cmp eax, 3
jge 0x41b032
and edi, 0x300
and esi, 0xf
cmp edi, 0x300
jge 0x41ae42
cmp esi, 8
mov edi, 0x30
jge 0x41ae28
mov edx, dword [ebp + 8]
inc ebx
call fcn.0041aa90
test eax, eax
je 0x41ae28
mov edi, 0x20
test esi, esi
jle 0x41ae8b
mov ebx, dword [esp + 0x10]
mov edx, dword [ebp + 8]
dec ebx
call fcn.0041aa90
test eax, eax
je 0x41ae8b
and edi, 0x20
jmp 0x41ae8b
cmp esi, 4
mov ebx, dword [ebp + 8]
jge 0x41ae62
cmp dword [ebx + 0x30], esi
je 0x41ae58
cmp dword [ebx + 0x34], esi
je 0x41ae62
xor edi, edi
jmp 0x41ae8b
mov edi, 2
cmp dword [ebx + 0x34], esi
je 0x41ae67
mov edi, 4
mov eax, dword [esp + 0x10]
push eax
mov edx, ebx
call fcn.0041aad0
test eax, eax
je 0x41ae7c
mov edi, 1
mov edx, dword [ebx]
call fcn.00414120
test al, al
je 0x41ad81
mov ecx, dword [ebp + 8]
test dword [ecx + 0x3c], edi
jne 0x41ad81
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc0]
xor eax, eax
test edx, edx
jle 0x41aec0
add ecx, 0x5c
jmp 0x41aeb0
test dword [ecx], 0xf0000
jne 0x41aed4
inc eax
add ecx, 0x18
cmp eax, edx
jl 0x41aeb0
mov eax, dword [esi + 0x2c]
lea edx, [eax + eax*2]
add edx, edx
cmp dword [0x8654dc], edx
jge 0x41b032
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ebx, ecx
cmp eax, ecx
jbe 0x41aeef
call fcn.005aec38
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
mov edi, eax
cmp eax, ecx
jbe 0x41aefe
call fcn.005aec38
mov eax, dword [esp + 0x18]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00426060
mov edx, dword [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.00425c90
push 0x863380
lea esi, [esp + 0x1c]
call fcn.0041e950
test al, al
je 0x41b032
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x24]
sar eax, 2
test eax, eax
ja 0x41af4c
call fcn.005aec38
mov ecx, dword [esp + 0x24]
cmp dword [ecx], 0
jne 0x41b032
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
lea edi, [esp + 0x48]
call fcn.004164b0
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc0]
cmp eax, 5
jge 0x41b032
lea edx, [eax + 1]
lea eax, [eax + eax*2 + 9]
mov dword [ecx + 0xc0], edx
lea ecx, [ecx + eax*8]
test ecx, ecx
je 0x41b032
mov esi, dword [esp + 0x14]
sar esi, 8
and esi, 0xff
xor eax, eax
mov dword [esp + 0x10], eax
test eax, eax
jne 0x41afb8
mov eax, dword [ecx + 0x10]
cmp eax, 4
jge 0x41afec
mov edx, dword [ebp + 0xc]
jmp 0x41afe6
mov edx, dword [edi]
mov eax, esi
and eax, 0xf
sar esi, 4
test eax, eax
jl 0x41afd0
cmp eax, dword [edx + 0x44]
jge 0x41afd0
lea eax, [edx + eax*4]
jmp 0x41afd2
xor eax, eax
mov edx, dword [eax]
mov ebx, edx
or ebx, 0x80000000
mov dword [eax], ebx
mov eax, dword [ecx + 0x10]
cmp eax, 4
jge 0x41afec
mov dword [ecx + eax*4], edx
inc dword [ecx + 0x10]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 3
mov dword [esp + 0x10], eax
jl 0x41afa7
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x14], eax
mov esi, dword [edi]
call fcn.004140a0
call fcn.0041a530
mov esi, dword [edi]
lea ecx, [esp + 0x18]
push ecx
call fcn.00418000
mov edi, dword [edi]
test al, al
jne 0x41b133
lea edx, [esp + 0x44]
push edx
call fcn.004164b0
call fcn.0041a530
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax + 0x198]
sub edx, dword [eax + 0x194]
mov ecx, dword [esp + 0x30]
add eax, 0x188
inc ecx
sar edx, 2
cmp ecx, edx
mov dword [esp + 0x30], ecx
jl 0x41ac70
xor ebx, ebx
jmp 0x41ac13
lea ecx, [esp + 0x44]
mov byte [esp + 0x248], 0
call fcn.00413b10
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x41b087
push eax
call fcn.005ae7f2
add esp, 4
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.005ae7f2
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 2
jg 0x41b0dc
cmp dword [eax + 0x38], 1
jne 0x41b0dc
mov edx, dword [eax]
cmp byte [edx + 0x1d4], 0
jne 0x41b0dc
push 1
push eax
call fcn.0041bf90
lea ecx, [esp + 0x44]
mov byte [esp + 0x248], 0
call fcn.00413b10
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x41b0fe
push eax
call fcn.005ae7f2
add esp, 4
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.005ae7f2
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x44]
push ecx
call fcn.004164b0
call fcn.0041a530
lea ecx, [esp + 0x44]
mov byte [esp + 0x248], 0
call fcn.00413b10
mov eax, dword [esp + 0x24]
xor esi, esi
cmp eax, esi
je 0x41b166
push eax
call fcn.005ae7f2
add esp, 4
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.005ae7f2
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8