Function at 0x422190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4524ff
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x46e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 0x24]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], esi
mov dword [ecx + 0x30], 0
mov eax, dword [ebp + 8]
mov ebx, 2
mov dl, byte [ebp + 0x38]
mov dword [ecx + 0x34], eax
mov al, byte [ebp + 0x14]
mov byte [ecx + 0x38], al
mov eax, dword [ebp + 0x28]
cmp eax, ebx
mov byte [ecx + 0x39], dl
cmovg eax, ebx
mov dword [ebp - 4], 0
xor edx, edx
mov dword [ebp + 0x28], eax
test eax, eax
jle 0x422261
mov ebx, dword [ebp + 0x34]
lea eax, [ecx + 0x3a]
lea edi, [ecx + 0x10]
mov dword [ebp + 0x14], eax
lea esi, [ecx + 0x20]
mov eax, dword [ebp + 0x2c]
lea esi, [esi + 4]
lea edi, [edi + 8]
mov eax, dword [eax + edx*4]
mov dword [esi - 4], eax
mov eax, dword [ebx + edx*8]
mov ecx, dword [ebx + edx*8 + 4]
mov dword [edi - 8], eax
mov eax, dword [ebp + 0x30]
mov dword [edi - 4], ecx
mov ecx, dword [ebp + 0x14]
mov al, byte [edx + eax]
mov byte [ecx + edx], al
inc edx
mov ecx, dword [ebp + 0x28]
cmp edx, ecx
jl 0x422221
mov esi, dword [ebp + 0x1c]
mov ebx, 2
cmp edx, 2
jge 0x4222a8
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x10]
add ecx, 0x3a
add ecx, edx
lea eax, [edi + 0x10]
lea edi, [edi + edx*4]
add edi, 0x20
lea eax, [eax + edx*8]
sub ebx, edx
nop word [eax + eax]
mov dword [edi], 0
lea edi, [edi + 4]
mov dword [eax], 0
lea eax, [eax + 8]
mov dword [eax - 4], 0
lea ecx, [ecx + 1]
mov byte [ecx - 1], 2
sub ebx, 1
jne 0x422280
mov ecx, dword [ebp + 0x28]
and byte [ebp + 0x38], 1
mov edi, 0
je 0x42231c
test esi, esi
je 0x4222ce
lea edx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x4222c0
sub esi, edx
lea edi, [esi + 1]
jmp 0x4222d0
xor edi, edi
test ecx, ecx
jle 0x42236c
mov ebx, dword [ebp - 0x10]
mov eax, ecx
mov dword [ebp + 0x14], ecx
lea edx, [ebx + 0x3a]
lea esi, [ebx + 0x20]
mov ecx, dword [esi]
test ecx, ecx
je 0x422302
lea eax, [ecx + 1]
mov dword [ebp + 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4222f2
sub ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x14]
inc ecx
jmp 0x422304
xor ecx, ecx
add edi, ecx
cmp byte [edx], 6
jne 0x42230e
mov byte [edx], 7
add esi, 4
inc edx
sub eax, 1
mov dword [ebp + 0x14], eax
jne 0x4222e6
jmp 0x422323
test ecx, ecx
jle 0x42236c
mov ebx, dword [ebp - 0x10]
lea eax, [ebx + 0x3a]
xor edx, edx
lea esi, [ebx + 0x10]
mov dword [ebp + 0x18], eax
mov ebx, dword [ebp + 0x28]
cmp byte [eax + edx], 7
sete al
mov byte [ebp + edx + 0x14], al
jne 0x422361
mov ecx, dword [esi]
test ecx, ecx
je 0x42235d
lea eax, [ecx + 1]
mov dword [ebp + 0x1c], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422350
sub ecx, dword [ebp + 0x1c]
inc ecx
jmp 0x42235f
xor ecx, ecx
add edi, ecx
mov eax, dword [ebp + 0x18]
inc edx
add esi, 8
cmp edx, ebx
jl 0x422331
mov ebx, dword [ebp - 0x10]
test edi, edi
je 0x4224bb
push 0x20
call fcn.00432115
add esp, 4
mov dword [ebp + 0x1c], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x422395
mov ecx, eax
call fcn.0042cd20
jmp 0x422397
xor eax, eax
mov dword [ebp + 0x1c], eax
mov byte [ebp - 4], 0
test eax, eax
je 0x4223ad
lea ecx, [eax + 4]
call fcn.00415f30
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebx + 0x30]
mov dword [ebx + 0x30], eax
test esi, esi
je 0x4223da
lea ecx, [esi + 4]
call fcn.00415f50
test al, al
je 0x4223da
xor ecx, ecx
lea eax, [esi + 4]
test eax, eax
cmove esi, ecx
test esi, esi
je 0x4223da
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 8]
mov ecx, dword [ebx + 0x30]
push 0
push edi
add ecx, 8
call fcn.00407e50
mov esi, dword [ebx + 0x30]
add esi, 8
cmp dword [esi + 0x10], 0
jne 0x4223f8
xor esi, esi
jmp 0x422400
cmp dword [esi + 0x14], 0x10
jb 0x422400
mov esi, dword [esi]
cmp byte [ebp + 0x38], 0
lea eax, [esi + edi]
mov dword [ebp + 0x1c], eax
je 0x42246b
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x422429
sub eax, esi
push eax
push ecx
push esi
call fcn.0042a660
inc eax
mov dword [ebx + 0x2c], esi
add esp, 0xc
add esi, eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jle 0x4224bb
lea edi, [ebx + 0x20]
mov ebx, ecx
nop dword [eax]
mov ecx, dword [edi]
test ecx, ecx
je 0x422458
sub eax, esi
push eax
push ecx
push esi
call fcn.0042a660
inc eax
mov dword [edi], esi
add esp, 0xc
add esi, eax
mov eax, dword [ebp + 0x1c]
add edi, 4
sub ebx, 1
jne 0x422440
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x28]
jmp 0x422472
mov ecx, dword [ebp + 0x28]
test ecx, ecx
jle 0x4224bb
add ebx, 0x10
xor edi, edi
cmp byte [ebp + edi + 0x14], 0
je 0x42249c
mov ecx, dword [ebx]
test ecx, ecx
je 0x422499
mov eax, dword [ebp + 0x1c]
sub eax, esi
push eax
push ecx
push esi
call fcn.0042a660
inc eax
mov dword [ebx], esi
add esp, 0xc
add esi, eax
mov ecx, dword [ebp + 0x28]
inc edi
add ebx, 8
cmp edi, ecx
jl 0x422477
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34