Function at 0x431140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4382f8
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.00404500
mov esi, 0x4392bc
mov dword [esp + 0xc], esi
push 0xffffffffffffffff
push str._unc_
lea ecx, [esp + 0x48]
mov dword [esp + 0x360], 0
call fcn.00404500
mov dword [esp + 0x40], esi
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
cmp edi, eax
mov byte [esp + 0x358], 1
jle 0x4311b1
mov edi, eax
lea ecx, [esp + 0x30]
push edi
push ecx
lea ecx, [esp + 0x14]
call fcn.00404f50
mov eax, dword [esp + 0x38]
xor esi, esi
test eax, eax
mov byte [esp + 0x358], 2
jle 0x4311f3
mov edx, dword [esp + 0x34]
movsx eax, byte [edx + esi]
push eax
call fcn.0041b91d
mov ecx, dword [esp + 0x38]
add esp, 4
mov byte [ecx + esi], al
mov eax, dword [esp + 0x38]
inc esi
cmp esi, eax
jl 0x4311d2
xor esi, esi
test edi, edi
jle 0x43121f
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
sub edx, eax
mov cl, byte [edx + eax]
cmp byte [eax], cl
jne 0x431210
inc esi
inc eax
cmp esi, edi
jl 0x431203
cmp esi, 2
je 0x43122f
cmp esi, 4
je 0x43122f
cmp esi, 8
je 0x43122f
mov edx, dword [ebx + 0x44]
lea ecx, [ebx + 0x44]
push 0
call dword [edx + 4]
jmp 0x4312b1
push ebp
lea eax, [esp + 0x20]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00404f50
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.00404380
lea ecx, [esp + 0x20]
mov byte [esp + 0x35c], 2
call fcn.00404dd0
lea eax, [esp + 0x20]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00405040
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.00404380
lea ecx, [esp + 0x20]
mov byte [esp + 0x35c], 2
call fcn.00404dd0
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.0043458d
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.00404630
lea ecx, [esp + 0x1c]
mov byte [esp + 0x358], 5
push ecx
mov ecx, esi
call fcn.00404380
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.00404630
lea ecx, [esp + 0x1c]
mov byte [esp + 0x358], 6
push ecx
mov ecx, esi
call fcn.00404380
mov ecx, dword [esi + 8]
mov dl, byte [0x43a43c]
xor eax, eax
mov byte [esp + 0x358], 2
test ecx, ecx
jle 0x43138a
mov edi, dword [esi + 4]
cmp byte [edi + eax], dl
jne 0x431376
inc eax
cmp eax, ecx
jl 0x431369
test eax, eax
je 0x43138a
push eax
push 0
mov ecx, esi
call fcn.00413610
mov dl, byte [0x43a43c]
mov eax, dword [esi + 8]
mov cl, dl
test eax, eax
jle 0x4313a7
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
cmp byte [edx + eax - 1], cl
jne 0x4313a7
dec eax
test eax, eax
mov dword [esi + 8], eax
jg 0x431396
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.004278c0
push 0x2e
mov ecx, esi
call fcn.0042b0d0
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.00404630
lea ecx, [esp + 0x1c]
mov byte [esp + 0x358], 7
push ecx
mov ecx, esi
call fcn.00404380
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 0x4392a8
mov byte [esp + 0x358], 1
call fcn.00404dd0
lea ecx, [esp + 0x40]
mov byte [esp + 0x358], 0
call fcn.00404dd0
lea ecx, [esp + 0xc]
mov dword [esp + 0x358], 0xffffffff
call fcn.00404dd0
mov ecx, dword [esp + 0x350]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x350
ret 4