Function at 0x479010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x479018
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004040d8
xor eax, eax
push ebp
push 0x479350
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0xff
call fcn.0047e5a4
lea ecx, [ebp - 0x10]
xor edx, edx
mov dl, byte [esi + 0xc]
call fcn.0047e4d8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
add al, 0xfe
sub al, 2
jae 0x479238
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00408b78
mov eax, dword [ebp - 0x14]
mov edx, 0x47936c
call fcn.00404034
jne 0x4790e3
call fcn.0047e5a4
lea ecx, [ebp - 0x1c]
xor edx, edx
mov dl, byte [esi + 0xc]
call fcn.0047e4d8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp al, 3
jne 0x4790b6
mov byte [ebp - 5], 0x16
call fcn.0047e5a4
lea ecx, [ebp - 0x24]
xor edx, edx
mov dl, byte [esi + 0xc]
call fcn.0047e4d8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp al, 4
jne 0x4790e3
mov byte [ebp - 5], 0x18
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00408b78
mov eax, dword [ebp - 0x28]
mov edx, 0x47937c
call fcn.00404034
jne 0x4791b1
call fcn.0047e5a4
lea ecx, [ebp - 0x30]
xor edx, edx
mov dl, byte [esi + 0xc]
call fcn.0047e4d8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp al, 3
jne 0x4791b1
call fcn.0047e5a4
lea ecx, [ebp - 0x40]
xor edx, edx
mov dl, byte [esi + 0xc]
call fcn.0047e4d8
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x34]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, 5
jne 0x4791b1
call fcn.0047e5a4
lea ecx, [ebp - 0x50]
xor edx, edx
mov dl, byte [esi + 0xc]
call fcn.0047e4d8
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x4c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
call dword [edx + 0xc]
test eax, eax
jne 0x4791b1
mov byte [ebp - 5], 9
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.00408b78
mov eax, dword [ebp - 0x54]
mov edx, 0x479388
call fcn.00404034
jne 0x479238
call fcn.0047e5a4
lea ecx, [ebp - 0x5c]
xor edx, edx
mov dl, byte [esi + 0xc]
call fcn.0047e4d8
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x1c]
cmp al, 3
jne 0x479238
call fcn.0047e5a4
lea ecx, [ebp - 0x6c]
xor edx, edx
mov dl, byte [esi + 0xc]
call fcn.0047e4d8
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, 6
jne 0x479238
mov byte [ebp - 5], 0xa
cmp byte [ebp - 5], 0x30
jbe 0x47926a
xor ebx, ebx
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.00408b78
mov edx, dword [ebp - 0x70]
xor eax, eax
mov al, bl
add eax, eax
mov eax, dword [esi + eax*8 + 0x14]
call fcn.00404034
jne 0x479264
mov byte [ebp - 5], bl
jmp 0x47926a
inc ebx
cmp bl, 0x20
jne 0x479240
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47935a
lea eax, [ebp - 0x70]
call fcn.00403ca4
lea eax, [ebp - 0x6c]
call fcn.0040615c
lea eax, [ebp - 0x68]
call fcn.0040615c
lea eax, [ebp - 0x64]
call fcn.0040615c
lea eax, [ebp - 0x60]
call fcn.0040615c
lea eax, [ebp - 0x5c]
call fcn.0040615c
lea eax, [ebp - 0x58]
call fcn.0040615c
lea eax, [ebp - 0x54]
call fcn.00403ca4
lea eax, [ebp - 0x50]
call fcn.0040615c
lea eax, [ebp - 0x4c]
call fcn.0040615c
lea eax, [ebp - 0x48]
call fcn.0040615c
lea eax, [ebp - 0x44]
call fcn.0040615c
lea eax, [ebp - 0x40]
call fcn.0040615c
lea eax, [ebp - 0x3c]
call fcn.0040615c
lea eax, [ebp - 0x38]
call fcn.0040615c
lea eax, [ebp - 0x34]
call fcn.0040615c
lea eax, [ebp - 0x30]
call fcn.0040615c
lea eax, [ebp - 0x2c]
call fcn.0040615c
lea eax, [ebp - 0x28]
call fcn.00403ca4
lea eax, [ebp - 0x24]
call fcn.0040615c
lea eax, [ebp - 0x20]
call fcn.0040615c
lea eax, [ebp - 0x1c]
call fcn.0040615c
lea eax, [ebp - 0x18]
call fcn.0040615c
lea eax, [ebp - 0x14]
call fcn.00403ca4
lea eax, [ebp - 0x10]
call fcn.0040615c
lea eax, [ebp - 0xc]
call fcn.0040615c
lea eax, [ebp - 4]
call fcn.00403ca4
ret