Function at 0x405190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42d867
mov eax, dword fs:[0]
push eax
sub esp, 0x89c
mov eax, dword [0x43b698]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x814]
mov word [ebp - 0x814], 0xde21
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push 2
call eax
push 0x400
xor ebx, ebx
lea ecx, [ebp - 0x413]
push ebx
push ecx
mov byte [ebp - 0x414], 0
call fcn.0042ccee
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
push 1
call edx
mov al, byte [ebp - 0x414]
cmp al, 0x1f
je 0x40551a
cmp al, 0x79
jne 0x40551a
mov edi, 0xf
mov dword [ebp - 0x88c], edi
mov dword [ebp - 0x890], ebx
mov byte [ebp - 0x8a0], bl
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
shr ebx, 0x18
push ebx
lea ecx, [ebp - 0x8a0]
call fcn.004026b0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [ebp - 0x8a0]
push edx
call eax
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x83c], 0
mov byte [ebp - 0x84c], 0
mov eax, dword [ebp + 8]
shr eax, 0x10
push eax
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 1
mov dword [ebp - 0x8a8], eax
call fcn.004026b0
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [ebp - 0x84c]
push eax
call edx
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x820], 0
mov byte [ebp - 0x830], 0
mov eax, dword [ebp + 8]
shr eax, 8
push eax
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 2
mov dword [ebp - 0x8a4], eax
call fcn.004026b0
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [ebp - 0x830]
push edx
call eax
mov dword [ebp - 0x870], edi
mov dword [ebp - 0x874], 0
mov byte [ebp - 0x884], 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 3
call fcn.004026b0
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [ebp - 0x884]
push eax
call edx
mov dword [ebp - 0x854], edi
mov dword [ebp - 0x858], 0
mov byte [ebp - 0x868], 0
xor bl, byte [ebp - 0x8a8]
lea ecx, [ebp - 0x868]
xor bl, byte [ebp - 0x8a4]
mov byte [ebp - 4], 4
xor bl, byte [ebp + 8]
movzx eax, bl
push eax
call fcn.004026b0
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
lea eax, [ebp - 0x868]
mov edx, dword [edx + 0x2c]
push eax
call edx
mov esi, dword [esi + 0xc]
lea ecx, [ebp - 0x414]
mov byte [ebp - 0x414], 0xff
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
push ecx
push 1
mov ecx, esi
call edx
cmp byte [ebp - 0x414], 0x79
lea esi, [edi + 1]
jne 0x40545d
cmp dword [ebp - 0x854], esi
jb 0x4053b0
mov eax, dword [ebp - 0x868]
push eax
call fcn.0042cccc
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x854], edi
mov dword [ebp - 0x858], ebx
mov byte [ebp - 0x868], bl
cmp dword [ebp - 0x870], esi
jb 0x4053db
mov ecx, dword [ebp - 0x884]
push ecx
call fcn.0042cccc
add esp, 4
mov dword [ebp - 0x870], edi
mov dword [ebp - 0x874], ebx
mov byte [ebp - 0x884], bl
cmp dword [ebp - 0x81c], esi
jb 0x405404
mov edx, dword [ebp - 0x830]
push edx
call fcn.0042cccc
add esp, 4
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x820], ebx
mov byte [ebp - 0x830], bl
cmp dword [ebp - 0x838], esi
jb 0x40542d
mov eax, dword [ebp - 0x84c]
push eax
call fcn.0042cccc
add esp, 4
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x83c], ebx
mov byte [ebp - 0x84c], bl
cmp dword [ebp - 0x88c], esi
jb 0x405456
mov ecx, dword [ebp - 0x8a0]
push ecx
call fcn.0042cccc
add esp, 4
xor al, al
jmp 0x40551c
cmp dword [ebp - 0x854], esi
jb 0x405474
mov edx, dword [ebp - 0x868]
push edx
call fcn.0042cccc
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x854], edi
mov dword [ebp - 0x858], ebx
mov byte [ebp - 0x868], bl
cmp dword [ebp - 0x870], esi
jb 0x40549f
mov eax, dword [ebp - 0x884]
push eax
call fcn.0042cccc
add esp, 4
mov dword [ebp - 0x870], edi
mov dword [ebp - 0x874], ebx
mov byte [ebp - 0x884], bl
cmp dword [ebp - 0x81c], esi
jb 0x4054c8
mov ecx, dword [ebp - 0x830]
push ecx
call fcn.0042cccc
add esp, 4
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x820], ebx
mov byte [ebp - 0x830], bl
cmp dword [ebp - 0x838], esi
jb 0x4054f1
mov edx, dword [ebp - 0x84c]
push edx
call fcn.0042cccc
add esp, 4
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x83c], ebx
mov byte [ebp - 0x84c], bl
cmp dword [ebp - 0x88c], esi
jb 0x40551a
mov eax, dword [ebp - 0x8a0]
push eax
call fcn.0042cccc
add esp, 4
mov al, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ccde
mov esp, ebp
pop ebp
ret 4