Function at 0x41c5a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4580c2
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x89ae74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [edi + 0x30], 0
xor ecx, ecx
mov dword [edi + 0x34], 0
mov eax, dword [edi + 0x24]
mov dword [edi + 0x28], 0
mov word [eax], cx
lea ecx, [edi + 0xc]
call fcn.0041c3b0
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0x1c], 0
test ecx, ecx
jne 0x41c614
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x14], 0
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
push 0x45cb60
push ecx
mov dword [ebp - 4], 0
call dword [eax]
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41c63f
lea esi, [eax + 1]
jmp 0x41ca3b
lea ecx, [ebp - 0x5c]
call fcn.0040a820
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
push edx
push 4
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 3
call dword [ecx + 0xc]
mov esi, eax
test esi, esi
jne 0x41c672
cmp word [ebp - 0x44], 8
je 0x41c67f
lea esi, [eax + 1]
lea ecx, [ebp - 0x44]
call fcn.004108e0
jmp 0x41ca2d
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x5c]
call fcn.0040aa10
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.004108e0
push 0x2e
lea ecx, [ebp - 0x5c]
call fcn.0040b6b0
mov esi, eax
lea ecx, [ebp - 0x5c]
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0041c580
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
lea eax, [eax + esi*2]
add eax, 2
push eax
call fcn.0040a7c0
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x34]
call fcn.0040a6a0
push dword [ebp - 0x34]
mov byte [ebp - 4], 8
call fcn.0040b330
lea ecx, [ebp - 0x84]
call fcn.0040a820
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
call fcn.0040a820
mov ecx, dword [ebp - 0x30]
mov esi, 2
mov byte [ebp - 4], 0xa
mov byte [ebp - 0xd], 0
cmp ecx, esi
jb 0x41c9fa
mov eax, dword [ebp - 0x34]
push 0x45ba5c
lea eax, [eax + ecx*2]
add eax, 0xfffffffc
push eax
call fcn.0040baa0
mov ecx, dword [ebp - 0x30]
test al, al
je 0x41c753
mov byte [ebp - 0xd], 1
cmp ecx, esi
jbe 0x41c7b8
mov eax, dword [ebp - 0x34]
lea eax, [eax + ecx*2]
add eax, 0xfffffffa
cmp word [eax], 0x61
jne 0x41c7b8
inc esi
sub eax, 2
cmp esi, ecx
jb 0x41c743
jmp 0x41c7b8
cmp ecx, esi
jb 0x41c9fa
mov eax, dword [ebp - 0x34]
push 0x45ba60
lea eax, [eax + ecx*2]
add eax, 0xfffffffc
push eax
call fcn.0040baa0
test al, al
jne 0x41c792
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
add ecx, 0xfffffffc
push 0x45ba64
lea eax, [ecx + eax*2]
push eax
call fcn.0040baa0
test al, al
je 0x41c9fa
mov ecx, dword [ebp - 0x30]
cmp esi, ecx
jae 0x41c7b2
mov eax, dword [ebp - 0x34]
lea eax, [eax + ecx*2]
add eax, 0xfffffffa
cmp word [eax], 0x30
jne 0x41c7b0
inc esi
sub eax, 2
cmp esi, ecx
jb 0x41c7a2
cmp esi, ecx
jne 0x41c9fa
sub ecx, esi
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.0041c580
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040aae0
push eax
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0xe
call fcn.0040a910
push dword [ebp - 0x40]
call fcn.0044a7b6
push dword [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0044a7b6
mov ecx, dword [ebp - 0x4c]
add esp, 8
mov eax, dword [ebp - 0x50]
sub ecx, esi
lea eax, [eax + ecx*2]
push eax
lea ecx, [ebp - 0x78]
call fcn.0040aa10
mov al, byte [ebp - 0xd]
lea ecx, [edi + 0x24]
mov byte [ebp - 0x6c], al
mov eax, dword [ebp - 0x64]
cmp eax, 1
jae 0x41c831
push str.file
call fcn.0040a980
jmp 0x41c83b
dec eax
push eax
push dword [ebp - 0x68]
call fcn.0040b710
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.0041f4c0
mov esi, eax
test esi, esi
jne 0x41c9ff
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add dword [edi + 0x30], ecx
push eax
adc dword [edi + 0x34], eax
push ecx
lea ecx, [edi + 0x18]
call fcn.00415bd0
mov dword [ebp + 8], ebx
test ebx, ebx
je 0x41c875
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [edi + 0xc]
call fcn.0041c2f0
mov byte [ebp - 4], 0x11
test ebx, ebx
je 0x41c893
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
mov eax, dword [edi + 0x10]
push 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
push ecx
push ebx
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x20], 0
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x41c9ff
lea ecx, [ebp - 0x40]
call fcn.0040a820
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x84]
call fcn.0041c430
test al, al
je 0x41c9df
mov dword [ebp + 0xc], 0
mov eax, dword [ebp - 0x14]
lea edx, [ebp + 0xc]
push edx
push dword [ebp - 0x40]
mov byte [ebp - 4], 0x14
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov esi, eax
cmp esi, 1
je 0x41c9ce
test esi, esi
jne 0x41c9b0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x41c9ae
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.0041f4c0
mov esi, eax
test esi, esi
jne 0x41c9b0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add dword [edi + 0x30], ecx
push eax
adc dword [edi + 0x34], eax
push ecx
lea ecx, [edi + 0x18]
call fcn.00415bd0
lea eax, [ebp + 0xc]
push eax
lea ecx, [edi + 0xc]
call fcn.0041c2f0
mov eax, dword [edi + 0x10]
lea ecx, [ebp - 0x24]
push esi
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
push ecx
push ebx
mov dword [ebp - 0x20], esi
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x41c9b0
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0x1d
test eax, eax
je 0x41c97a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x40]
mov byte [ebp - 4], 0xa
call fcn.0044a7b6
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.0040a820
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x84]
call fcn.0041c430
test al, al
jne 0x41c8e0
jmp 0x41c9df
jmp 0x41c9df
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0x1b
test eax, eax
je 0x41c9c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x40]
call fcn.0044a7b6
add esp, 4
jmp 0x41c9ff
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0x15
test eax, eax
je 0x41c9df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x40]
call fcn.0044a7b6
add esp, 4
cmp dword [edi + 0x10], 1
jne 0x41c9f6
cmp byte [ebp - 0xd], 0
jne 0x41c9fa
xor esi, esi
jmp 0x41c9ff
mov esi, 1
push dword [ebp - 0x78]
call fcn.0044a7b6
push dword [ebp - 0x84]
call fcn.0044a7b6
push dword [ebp - 0x34]
call fcn.0044a7b6
push dword [ebp - 0x50]
call fcn.0044a7b6
push dword [ebp - 0x68]
call fcn.0044a7b6
add esp, 0x14
push dword [ebp - 0x5c]
call fcn.0044a7b6
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 4], 0x1f
test eax, eax
je 0x41ca4c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8