Function at 0x422ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x427e78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x344
mov eax, dword [esp + 0x354]
push ebx
push esi
push edi
mov ebx, ecx
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x14]
call fcn.00402390
mov esi, 0x428230
mov dword [esp + 0xc], esi
push 0xffffffffffffffff
push str._unc_
lea ecx, [esp + 0x48]
mov dword [esp + 0x360], 0
call fcn.00402390
mov dword [esp + 0x40], esi
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
cmp edi, eax
mov byte [esp + 0x358], 1
jle 0x422f51
mov edi, eax
lea ecx, [esp + 0x30]
push edi
push ecx
lea ecx, [esp + 0x14]
call fcn.004025a0
mov eax, dword [esp + 0x38]
xor esi, esi
test eax, eax
mov byte [esp + 0x358], 2
jle 0x422f93
mov edx, dword [esp + 0x34]
movsx eax, byte [edx + esi]
push eax
call fcn.0040dca3
mov ecx, dword [esp + 0x38]
add esp, 4
mov byte [ecx + esi], al
mov eax, dword [esp + 0x38]
inc esi
cmp esi, eax
jl 0x422f72
xor esi, esi
test edi, edi
jle 0x422fbf
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
sub edx, eax
mov cl, byte [edx + eax]
cmp byte [eax], cl
jne 0x422fb0
inc esi
inc eax
cmp esi, edi
jl 0x422fa3
cmp esi, 2
je 0x422fcf
cmp esi, 4
je 0x422fcf
cmp esi, 8
je 0x422fcf
mov edx, dword [ebx + 0x44]
lea ecx, [ebx + 0x44]
push 0
call dword [edx + 4]
jmp 0x423051
push ebp
lea eax, [esp + 0x20]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.004025a0
mov ebp, eax
mov edx, dword [ebx + 0x44]
lea edi, [ebx + 0x44]
push 0
mov ecx, edi
mov byte [esp + 0x360], 3
call dword [edx + 4]
push ebp
mov ecx, edi
call fcn.0040a020
lea ecx, [esp + 0x20]
mov byte [esp + 0x35c], 2
call fcn.00402270
lea eax, [esp + 0x20]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00402690
mov esi, eax
mov edx, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x14]
mov byte [esp + 0x360], 4
call dword [edx + 4]
push esi
lea ecx, [esp + 0x14]
call fcn.0040a020
lea ecx, [esp + 0x20]
mov byte [esp + 0x35c], 2
call fcn.00402270
pop ebp
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x10]
call dword [edx + 4]
lea eax, [esp + 0x150]
lea ecx, [esp + 0x250]
push eax
lea edx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x34]
push edx
push eax
push ecx
call fcn.00426068
mov edx, dword [ebx + 0x34]
lea esi, [ebx + 0x34]
add esp, 0x14
mov ecx, esi
push 0
call dword [edx + 4]
lea eax, [esp + 0x2c]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x24]
call fcn.004024c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x358], 5
push ecx
mov ecx, esi
call fcn.0040a020
mov edx, dword [ebx + 4]
lea esi, [ebx + 4]
push 0
mov ecx, esi
mov byte [esp + 0x35c], 2
call dword [edx + 4]
lea eax, [esp + 0x50]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x24]
call fcn.004024c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x358], 6
push ecx
mov ecx, esi
call fcn.0040a020
mov ecx, dword [esi + 8]
mov dl, byte [0x428d10]
xor eax, eax
mov byte [esp + 0x358], 2
test ecx, ecx
jle 0x42312a
mov edi, dword [esi + 4]
cmp byte [edi + eax], dl
jne 0x423116
inc eax
cmp eax, ecx
jl 0x423109
test eax, eax
je 0x42312a
push eax
push 0
mov ecx, esi
call fcn.0040a190
mov dl, byte [0x428d10]
mov eax, dword [esi + 8]
mov cl, dl
test eax, eax
jle 0x423147
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
cmp byte [edx + eax - 1], cl
jne 0x423147
dec eax
test eax, eax
mov dword [esi + 8], eax
jg 0x423136
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0x150]
lea esi, [ebx + 0x24]
push ecx
mov ecx, esi
call fcn.00419d50
push 0x2e
mov ecx, esi
call fcn.0041d1d0
mov edx, dword [ebx + 0x14]
lea esi, [ebx + 0x14]
push 0
mov ecx, esi
call dword [edx + 4]
lea eax, [esp + 0x250]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x24]
call fcn.004024c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x358], 7
push ecx
mov ecx, esi
call fcn.0040a020
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0x428238
mov byte [esp + 0x358], 1
call fcn.00402270
lea ecx, [esp + 0x40]
mov byte [esp + 0x358], 0
call fcn.00402270
lea ecx, [esp + 0xc]
mov dword [esp + 0x358], 0xffffffff
call fcn.00402270
mov ecx, dword [esp + 0x350]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x350
ret 4