Function at 0x51a53e
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
sub esp, 0x58
mov eax, 0x577201
call fcn.00566548
sub esp, 0x46c
push ebx
push esi
xor ebx, ebx
mov dword [ebp], edx
push edi
mov dword [ebp + 0x30], ecx
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp + 0x7c]
lea edx, [ebp - 0x1c]
push edx
push 0x57c794
push ecx
mov eax, dword [ecx]
mov dword [ebp - 4], ebx
call dword [eax]
mov eax, dword [ebp + 0x68]
xorps xmm0, xmm0
or dword [ebp + 4], 0xffffffff
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp + 8], xmm0
cmp dword [eax + 4], ebx
mov eax, dword [ebp - 0x20]
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 8]
mov byte [ebp + 0x5b], bl
movlpd qword [ebp + 0x20], xmm0
mov dword [ebp + 0x54], ebx
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp + 0x28], xmm0
mov dword [ebp + 0x48], eax
jbe 0x51a6d7
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x20]
movlpd qword [ebp + 0x28], xmm0
mov eax, dword [ebp + 0x2c]
movlpd qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x68]
mov ebx, dword [ebp + 0x54]
push 0
mov eax, dword [eax]
mov eax, dword [eax + ebx*4]
pop ebx
cmp byte [eax], 0
je 0x51a630
mov ebx, dword [eax + 0x18]
mov dword [ebp + 0x38], ebx
mov ebx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
and eax, ebx
cmp eax, 0xffffffff
jne 0x51a611
xor eax, eax
inc eax
mov byte [ebp + 0x5b], al
mov eax, dword [ebp + 0x38]
jmp 0x51a61c
mov eax, dword [ebp + 0x38]
mov esi, ebx
mov edi, eax
add edi, ecx
adc esi, edx
add dword [ebp + 0x48], eax
push 0
adc dword [ebp + 0x3c], ebx
xor eax, eax
inc eax
add dword [ebp + 0x50], eax
pop ebx
adc dword [ebp + 0x4c], ebx
jmp 0x51a69d
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x64]
mov eax, dword [eax]
mov esi, dword [eax + ecx*4]
lea ecx, [ebp - 0x190]
push esi
call fcn.0050ee77
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x120], eax
mov al, byte [esi + 0x74]
mov byte [ebp - 0x11c], al
mov ecx, dword [ebp]
xor eax, eax
inc eax
mov byte [ebp - 4], al
lea eax, [ebp - 0x190]
push eax
call fcn.00517696
lea ecx, [ebp - 0x190]
test eax, eax
jne 0x51a6c8
call fcn.00519b78
mov edi, eax
mov byte [ebp - 4], bl
add edi, dword [ebp - 0x120]
lea ecx, [ebp - 0x190]
mov esi, edx
adc esi, ebx
add edi, dword [ebp + 0x38]
adc esi, dword [ebp + 0x44]
call fcn.0050f0ec
mov eax, dword [ebp + 0x54]
add edi, 0x4c
mov ecx, edi
adc esi, ebx
mov dword [ebp + 0x38], ecx
mov ebx, dword [ebp + 0x68]
inc eax
mov edx, esi
mov dword [ebp + 0x54], eax
push 0
mov dword [ebp + 0x44], edx
cmp eax, dword [ebx + 4]
pop ebx
jb 0x51a5e0
mov esi, ecx
mov edi, edx
jmp 0x51a6e3
call fcn.0050f0ec
mov edi, 0x80004001
jmp 0x51b66a
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x28]
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x51a6f3
mov esi, dword [eax + 4]
xor edi, edi
add esi, ecx
adc edi, edx
xor eax, eax
inc eax
add esi, eax
adc edi, ebx
cmp byte [ebp + 0x5b], 0
jne 0x51a70b
mov ecx, dword [ebp + 0x7c]
push edi
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x2e0]
mov esi, dword [ebp + 0x70]
push esi
mov dword [ebp - 0x14], edi
call fcn.00518e92
cmp dword [ebp - 0x2a8], 0
mov byte [ebp - 4], 3
jne 0x51a738
lea ecx, [ebp - 0x2ac]
call fcn.00483066
lea ecx, [ebp - 0x478]
call fcn.0050d5cd
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x478]
call fcn.0050eb0c
cmp dword [ebp - 0x2a8], 0
xorps xmm0, xmm0
mov eax, dword [esi + 0x70]
mov edi, ebx
movlpd qword [ebp + 0x20], xmm0
mov dword [ebp + 0x54], ebx
mov cl, byte [eax]
mov byte [ebp + 0x5b], cl
je 0x51a782
mov eax, dword [ebp - 0x2ac]
mov edi, dword [eax]
mov dword [ebp + 0x54], edi
mov esi, ebx
jbe 0x51a7a6
mov eax, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2e0]
push dword [eax + esi*4]
call fcn.00483557
inc esi
cmp esi, dword [ebp - 0x2a8]
jb 0x51a786
mov cl, byte [ebp + 0x5b]
test edi, edi
je 0x51a7c9
cmp cl, 0xe
jne 0x51a7c9
push 0xe
mov ecx, edi
call fcn.00412707
test eax, eax
jns 0x51a7c9
xor eax, eax
mov ecx, edi
inc eax
push eax
push 0xe
call fcn.004125b1
mov esi, dword [ebp + 0x70]
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp + 0x40], ecx
cmp ebx, dword [ebp + 0x4c]
jb 0x51a7e6
mov eax, dword [ebp + 0x50]
ja 0x51a7e1
cmp esi, eax
jbe 0x51a7e6
mov ecx, eax
mov dword [ebp + 0x40], eax
xor eax, eax
inc eax
cmp ecx, eax
jbe 0x51a800
call fcn.0040b345
mov ecx, dword [ebp + 0x40]
cmp ecx, eax
cmova ecx, eax
xor eax, eax
mov dword [ebp + 0x40], ecx
inc eax
push 0x40
pop ecx
cmp esi, ecx
cmova esi, ecx
mov dword [ebp + 0x34], esi
cmp dword [ebp + 0x4c], ebx
ja 0x51a819
cmp dword [ebp + 0x50], eax
jbe 0x51b5f5
cmp esi, eax
jbe 0x51b5f5
mov al, byte [ebp + 0x5b]
mov ecx, dword [ebp + 0x70]
test al, al
jne 0x51a83c
cmp byte [ecx + 0x88], al
push 1
pop edx
cmove esi, edx
mov dword [ebp + 0x34], esi
jmp 0x51a83f
xor edx, edx
inc edx
test edi, edi
je 0x51a9cf
cmp al, 0xc
jne 0x51a8b7
lea eax, [ebp + 0x5b]
mov ecx, edi
push eax
call fcn.00519b9b
cmp byte [ebp + 0x5b], 0
mov edi, eax
jne 0x51a8ac
push dword [ebp + 0x4c]
mov eax, dword [ebp + 0x3c]
push dword [ebp + 0x50]
push eax
push dword [ebp + 0x48]
call fcn.005667c0
mov ecx, dword [ebp + 0x54]
mov edi, eax
mov esi, edx
call fcn.004d02fe
push ebx
push eax
push esi
push edi
call fcn.005667c0
add eax, 1
push 0x40
adc edx, ebx
pop edi
cmp edx, ebx
ja 0x51a899
jb 0x51a897
cmp eax, edi
jae 0x51a899
mov edi, eax
mov esi, dword [ebp + 0x34]
mov ecx, dword [ebp + 0x54]
cmp edi, esi
cmova edi, esi
push edi
push 0xd
call fcn.00412549
mov eax, esi
xor edx, edx
div edi
jmp 0x51a9cd
cmp al, 0x5f
jne 0x51a931
lea eax, [ebp + 0x44]
mov dword [ebp + 0x44], edx
push eax
mov ecx, edi
call fcn.00519bc5
mov edi, eax
test edi, edi
jns 0x51a8ac
push dword [ebp + 0x4c]
mov eax, dword [ebp + 0x3c]
push dword [ebp + 0x50]
push eax
push dword [ebp + 0x48]
call fcn.005667c0
mov ecx, dword [ebp + 0x54]
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x2c], edx
call fcn.004c885a
mov edi, eax
mov dword [ebp + 0x38], edx
xor eax, eax
mov ecx, edi
and ecx, dword [ebp + 0x38]
inc eax
mov edx, ebx
cmp ecx, 0xffffffff
je 0x51a917
push dword [ebp + 0x38]
push edi
push dword [ebp + 0x2c]
push dword [ebp + 0x1c]
call fcn.005667c0
add eax, 1
adc edx, ebx
mov edi, 0x100
cmp edx, ebx
ja 0x51a928
jb 0x51a926
cmp eax, edi
jae 0x51a928
mov edi, eax
imul edi, dword [ebp + 0x44]
jmp 0x51a89c
cmp al, 8
je 0x51a988
cmp al, 9
je 0x51a988
cmp al, 0x62
je 0x51a988
cmp al, 0xe
jne 0x51a9cf
mov ecx, edi
call fcn.004129dc
mov ecx, eax
xor edx, edx
mov eax, esi
div ecx
xor ecx, ecx
mov esi, eax
inc ecx
cmp esi, ecx
jbe 0x51a9cf
mov eax, dword [ebp + 0x70]
cmp byte [eax + 9], 0
je 0x51a9cf
cmp byte [eax + 8], 0
jne 0x51a9cf
push ecx
mov ecx, edi
call fcn.0041292d
add eax, 0x2000000
adc edx, ebx
push edx
push eax
mov eax, dword [ebp + 0x70]
push dword [eax + 0x14]
push dword [eax + 0x10]
jmp 0x51a9be
cmp esi, edx
jbe 0x51a9cf
cmp byte [ecx + 9], 0
je 0x51a9cf
cmp byte [ecx + 8], 0
jne 0x51a9cf
cmp al, 0x62
jne 0x51a9a8
mov ecx, edi
call fcn.004d035a
mov ecx, dword [ebp + 0x70]
jmp 0x51a9af
mov eax, 0x400000
mov edx, ebx
add eax, 0x2000000
adc edx, ebx
push edx
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.005667c0
cmp edx, ebx
ja 0x51a9cf
jb 0x51a9cd
cmp eax, esi
jae 0x51a9cf
mov esi, eax
cmp esi, dword [ebp + 0x40]
cmova esi, dword [ebp + 0x40]
xor eax, eax
inc eax
mov dword [ebp + 0x34], esi
cmp esi, eax
jbe 0x51b627
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
push 0x10
mov byte [ebp - 4], 6
call fcn.0056643a
mov edi, eax
pop ecx
push edi
mov dword [ebp + 0x3c], edi
mov dword [edi + 4], ebx
mov dword [edi], 0x58b31c
mov dword [edi + 0xc], ebx
mov dword [ebp - 0x20], edi
call dword [0x58b320]
xor eax, eax
mov byte [ebp - 4], 7
inc eax
mov ecx, edi
push eax
push dword [ebp + 0x7c]
call fcn.005198e5
lea ecx, [ebp - 0x3c0]
call fcn.0051903c
push dword [edi + 0xc]
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 8
push esi
call fcn.00413aaa
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 0x10000
mov dword [ebp - 0x6c], ebx
call fcn.0055aa20
mov dword [ebp - 0x50], ebx
lea eax, [ebp - 0x74]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0xa0]
call fcn.0051908d
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
or dword [ebp - 0x78], 0xffffffff
lea ecx, [ebp - 0x84]
push esi
mov byte [ebp - 4], 0xc
call fcn.0040e276
push esi
xor edx, edx
mov dword [ebp - 0x80], esi
lea ecx, [ebp - 0xa0]
call fcn.0055abd0
test eax, eax
je 0x51aabb
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x51b512
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov eax, esi
mov byte [ebp - 4], 0xf
push ebx
shl eax, 9
lea ecx, [ebp - 0x74]
push eax
call fcn.0041209b
mov edi, eax
test edi, edi
jne 0x51b509
mov eax, dword [ebp + 0x68]
mov edi, ebx
cmp dword [eax + 4], ebx
jbe 0x51ab62
mov esi, eax
xor eax, eax
mov dword [ebp - 0xe8], ebx
xorps xmm0, xmm0
mov dword [ebp - 0xe4], ebx
inc eax
mov dword [ebp - 0xe0], ebx
movlpd qword [ebp - 0xd8], xmm0
mov byte [ebp - 0xd0], al
mov byte [ebp - 0xc8], bl
mov byte [ebp - 0xc7], bl
mov byte [ebp - 0xc6], bl
mov byte [ebp - 0xc5], bl
movlpd qword [ebp - 0xc0], xmm0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x12
call fcn.00403988
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00519703
push ebx
mov byte [ebp - 4], 0xf
call fcn.0056651e
inc edi
pop ecx
cmp edi, dword [esi + 4]
jb 0x51aaed
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x51ac70
mov edi, esi
lea ecx, [ebp - 0x40]
call fcn.00519792
sub edi, 1
jne 0x51ab6c
mov eax, ebx
mov dword [ebp + 0x54], ebx
mov ecx, dword [ebp - 0x40]
mov edi, dword [ecx + eax*4]
mov dword [ebp + 0x48], edi
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x28]
lea eax, [ebp - 0x2e0]
push eax
call fcn.0050eb0c
mov ecx, edi
call fcn.0051995e
mov edi, eax
test edi, edi
jne 0x51b509
push 0x50
call fcn.0056643a
pop ecx
lea ecx, [ebp - 0x74]
mov dword [ebp + 0xc], eax
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0x48]
mov dword [eax], 0x58b2e4
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x30], ebx
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], ebx
mov byte [eax + 0x40], 1
mov dword [eax + 0x48], ebx
mov dword [eax + 0x4c], ebx
mov dword [ecx + 0x1c], eax
mov ecx, eax
call fcn.0051991d
mov edi, eax
test edi, edi
jne 0x51b509
mov eax, dword [ebp + 0x48]
push dword [eax + 0x1c]
lea ecx, [eax + 0x20]
call fcn.0040f6aa
push 0x10
call fcn.0056643a
pop ecx
mov ecx, eax
xor eax, eax
mov edi, ecx
mov dword [ebp + 0xc], ecx
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 0x48]
mov dword [ecx + 4], ebx
mov dword [ecx], 0x58b2fc
mov dword [edi + 0x14], ecx
lea ecx, [edi + 0x18]
call fcn.0040f6aa
mov eax, dword [edi + 0x14]
lea ecx, [ebp - 0x3c0]
mov edx, dword [ebp + 0x54]
mov dword [eax + 0xc], ecx
mov ecx, edi
mov dword [eax + 8], edx
lea eax, [ebp - 0xa0]
mov dword [edi + 8], eax
call fcn.00519982
mov edi, eax
test edi, edi
jne 0x51b509
mov eax, dword [ebp + 0x54]
inc eax
mov dword [ebp + 0x54], eax
cmp eax, esi
jb 0x51ab7e
mov eax, dword [ebp + 0x68]
mov edx, ebx
mov edi, ebx
mov dword [ebp + 0x4c], edx
mov dword [ebp + 0x40], edi
mov eax, dword [eax + 4]
test eax, eax
je 0x51b5e7
mov ecx, dword [ebp + 0x24]
mov dword [ebp + 0x48], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp + 0x54], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], edx
cmp ecx, esi
jae 0x51afd3
cmp edx, eax
jae 0x51afd3
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
mov edi, dword [eax + edx*4]
inc edx
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x4c], edx
cmp byte [edi], 0
je 0x51b4a0
lea ecx, [ebp - 0x118]
call fcn.00513aad
mov byte [ebp - 0xa4], bl
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 0x19
call fcn.00518fa6
cmp byte [edi + 1], 0
mov byte [ebp - 4], 0x1a
je 0x51ad21
cmp byte [edi + 2], 0
je 0x51adb5
push dword [ebp - 0x2ec]
call fcn.0056651e
pop ecx
lea ecx, [ebp - 0x378]
call fcn.0050f0ec
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0xf
call fcn.0050f0ec
jmp 0x51b49a
mov eax, dword [ebp + 0x64]
mov ecx, dword [edi + 8]
mov eax, dword [eax]
mov esi, dword [eax + ecx*4]
lea ecx, [ebp - 0x118]
push esi
call fcn.005195b4
mov eax, dword [esi + 0x70]
mov ecx, dword [ebp]
mov dword [ebp - 0xa8], eax
mov al, byte [esi + 0x74]
mov byte [ebp - 0xa4], al
lea eax, [ebp - 0x118]
push eax
call fcn.00517696
test eax, eax
jne 0x51b580
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x378]
call fcn.005195b4
mov al, byte [edi + 2]
lea ecx, [ebp - 0x378]
mov byte [ebp + 0x5b], al
call fcn.00518079
mov cl, byte [ebp + 0x5b]
cmp al, cl
jne 0x51b580
test cl, cl
je 0x51adb5
push dword [ebp - 0x2ec]
call fcn.0056651e
pop ecx
lea ecx, [ebp - 0x378]
call fcn.0050f0ec
lea ecx, [ebp - 0x118]
jmp 0x51b48e
mov dword [ebp + 0x50], ebx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp + 0x4c]
mov eax, dword [ecx + eax*4 - 4]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0x3c]
mov esi, dword [eax + 8]
add esi, 0x3c
push esi
mov dword [ebp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0x7c]
lea edx, [ebp + 0x50]
push edx
push dword [edi + 0xc]
mov byte [ebp - 4], 0x20
mov eax, dword [ecx]
push ecx
call dword [eax + 0x1c]
mov edi, eax
xor eax, eax
inc eax
cmp edi, eax
jne 0x51ae6d
mov edx, dword [ebp + 0x44]
mov edi, dword [ebp + 0x54]
push ebx
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
add eax, 0x1e
mov edx, dword [ebp + 0x48]
adc ecx, ebx
add edi, eax
mov eax, dword [ebp + 0x3c]
adc edx, ecx
mov dword [ebp + 0x54], edi
mov ecx, dword [ebp + 0x7c]
push ecx
mov eax, dword [eax + 8]
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x48], edx
mov dword [ebp + 0x24], edx
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, eax
test edi, edi
jne 0x51b566
mov eax, dword [ebp + 0x1c]
push esi
mov byte [eax + 0x20], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0x50]
mov byte [ebp - 4], 0x24
test eax, eax
je 0x51ad93
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51ad93
test edi, edi
jne 0x51b566
cmp dword [ebp + 0x50], edi
je 0x51b561
mov edi, dword [ebp + 0x7c]
lea eax, [ebp - 0x18]
mov edx, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x6c]
push eax
push edi
push dword [ebp + 0x50]
call fcn.0051c022
mov eax, dword [edi]
push ebx
push edi
call dword [eax + 0x20]
mov edi, eax
test edi, edi
jne 0x51b566
push esi
mov byte [ebp - 4], 0x1f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp + 0x34]
mov ecx, ebx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + ecx*4]
cmp byte [eax + 0x108], 0
jne 0x51aec9
inc ecx
cmp ecx, esi
jb 0x51aeb8
mov dword [ebp + 0x2c], ecx
cmp ecx, esi
je 0x51b55a
mov edi, dword [edx + ecx*4]
mov byte [edi + 0x108], bl
mov ecx, dword [ebp + 0x50]
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x51aeed
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x51aefa
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x24], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0x50]
lea edx, [ebp - 0x10]
push edx
push 0x57c474
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x31
call dword [ecx]
mov eax, dword [ebp - 0x10]
test eax, eax
sete cl
mov byte [ebp + 0x5b], cl
mov byte [ebp - 4], 0x32
test eax, eax
je 0x51af34
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov cl, byte [ebp + 0x5b]
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 0x1f
mov byte [eax + 0x21], cl
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x51af4e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 0x50], ebx
mov ecx, dword [edi + 0x1c]
call fcn.004137f7
mov ecx, dword [edi + 0x14]
push dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
call fcn.00413b80
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x44]
mov dword [edi + 0x10c], eax
mov al, byte [ebp + 0x5b]
mov byte [edi + 0x109], al
mov eax, dword [ebp + 0x74]
mov byte [edi + 0x10a], al
mov eax, dword [edx + 0x14]
mov dword [edi + 0x110], eax
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [edi + 0x11c], ecx
lea ecx, [edi + 4]
mov dword [edi + 0x118], eax
mov al, byte [edx + 6]
mov byte [edi + 0x10b], al
call fcn.0055aad0
push dword [ebp + 0x2c]
lea ecx, [ebp + 0x10]
call fcn.00406bdd
mov eax, dword [ebp + 0x50]
mov byte [ebp - 4], 0x33
test eax, eax
je 0x51acf6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51acf6
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + edi*4]
cmp byte [eax + 0x20], 0
je 0x51afe7
inc dword [ebp + 0x40]
jmp 0x51b4a0
mov eax, dword [ebp + 0x68]
lea ecx, [ebp - 0x190]
mov eax, dword [eax]
mov edi, dword [eax + edi*4]
mov dword [ebp + 0x2c], edi
call fcn.00513aad
mov byte [ebp - 0x11c], bl
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0x35
call fcn.00518fa6
cmp byte [edi + 1], 0
mov byte [ebp - 4], 0x36
je 0x51b021
cmp byte [edi], 0
jne 0x51b07e
mov eax, dword [ebp + 0x64]
mov ecx, dword [edi + 8]
mov eax, dword [eax]
mov esi, dword [eax + ecx*4]
lea ecx, [ebp - 0x190]
push esi
call fcn.005195b4
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x120], eax
mov al, byte [esi + 0x74]
mov esi, dword [ebp]
mov ecx, esi
mov byte [ebp - 0x11c], al
lea eax, [ebp - 0x190]
push eax
call fcn.00517696
test eax, eax
jne 0x51b5c3
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x228]
call fcn.005195b4
cmp byte [edi], 0
je 0x51b3fa
cmp byte [edi + 2], 0
je 0x51b0a6
mov edx, dword [ebp + 0x70]
lea eax, [ebp - 0x228]
mov ecx, dword [ebp + 0x30]
push eax
push edi
call fcn.0051c46b
mov edi, eax
test edi, edi
jne 0x51b5c8
jmp 0x51b433
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ecx + eax*4]
mov dword [ebp + 0x1c], esi
cmp byte [esi + 0x23], 0
je 0x51b193
mov ecx, dword [ebp + 4]
mov edx, edi
mov edi, dword [ebp + 0x70]
cmp ecx, eax
cmovl ecx, eax
lea eax, [ebp - 0x228]
push eax
movzx eax, byte [esi + 0x3f]
mov dword [ebp + 4], ecx
mov ecx, edi
push eax
call fcn.00519ec6
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
movzx eax, byte [edi + 0x69]
push eax
call fcn.00519cb3
lea ecx, [esi + 0x28]
mov dl, al
call fcn.00519fec
mov ecx, dword [ebp + 0x30]
call fcn.00518287
mov edi, eax
test edi, edi
jne 0x51b5c8
mov edi, dword [ebp + 0x30]
lea eax, [ebp - 0x228]
push ebx
push eax
mov ecx, edi
call fcn.005189d0
mov dword [ebp + 0x38], ebx
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 0x3d
push eax
mov ecx, edi
call fcn.0051833a
push dword [ebp + 0x38]
mov ecx, esi
push dword [ebp - 0x70]
call fcn.00412321
mov al, byte [ebp - 0x228]
shr al, 3
test al, 1
je 0x51b15c
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
call fcn.00518c38
jmp 0x51b16e
mov eax, dword [ebp - 0x218]
add dword [edi + 0x38], eax
mov eax, dword [ebp - 0x214]
adc dword [edi + 0x3c], eax
lea eax, [ebp - 0x74]
mov ecx, esi
push eax
call fcn.004122e4
mov eax, dword [ebp + 0x38]
mov byte [ebp - 4], 0x3e
test eax, eax
je 0x51b18a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x36
jmp 0x51b433
cmp dword [ebp + 4], eax
jge 0x51b23a
mov dword [ebp + 4], eax
lea ecx, [ebp - 0x478]
lea eax, [ebp - 0x248]
xorps xmm0, xmm0
push eax
push dword [edi + 0x1c]
movzx eax, byte [esi + 0x21]
push dword [edi + 0x18]
movlpd qword [ebp - 0x248], xmm0
push dword [ebp + 0x74]
push eax
call fcn.0050eb11
mov edi, eax
test edi, edi
jne 0x51b5c8
mov al, byte [ebp - 0x231]
mov edx, dword [ebp + 0x2c]
mov byte [esi + 0x22], al
lea eax, [ebp - 0x228]
mov esi, dword [ebp + 0x70]
mov ecx, esi
push eax
push dword [ebp - 0x231]
call fcn.00519ec6
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
movzx eax, byte [esi + 0x69]
push eax
call fcn.00519cb3
mov dl, al
lea ecx, [ebp - 0x248]
call fcn.00519fec
mov esi, dword [ebp + 0x30]
mov ecx, esi
call fcn.005183a8
mov edi, eax
test edi, edi
jne 0x51b5c8
push ebx
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call fcn.005189d0
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 0x40]
mov eax, dword [eax]
mov esi, dword [edi + eax*4]
mov eax, dword [esi + 0x1c]
cmp byte [eax + 0x15], 0
jne 0x51b292
mov dword [ebp + 0x44], ebx
mov ecx, dword [ebp + 0x30]
lea eax, [ebp + 0x44]
push eax
mov byte [ebp - 4], 0x43
call fcn.005182f0
push dword [ebp + 0x44]
mov ecx, dword [esi + 0x1c]
call fcn.0051a06b
mov ecx, dword [esi + 0x1c]
xor eax, eax
inc eax
mov byte [ecx + 0x15], al
add ecx, 0x1c
call fcn.0055aad0
mov eax, dword [ebp + 0x44]
mov byte [ebp - 4], 0x44
test eax, eax
je 0x51b28e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp - 0xa0]
call fcn.0055ab40
test eax, eax
jne 0x51b5b3
lea ecx, [ebp - 0xa0]
call fcn.00519b50
mov edx, eax
mov dword [ebp + 0xc], edx
test edx, edx
js 0x51b5ac
mov esi, dword [edi + edx*4]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x51b2d3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x24], ebx
mov edi, dword [esi + 0xe0]
xor eax, eax
inc eax
mov byte [esi + 0x108], al
test edi, edi
jne 0x51b5c8
mov ecx, dword [ebp + 0x10]
mov edi, ebx
cmp edi, dword [ebp + 0x14]
je 0x51b5ac
lea eax, [edi + 1]
cmp dword [ecx + edi*4], edx
je 0x51b304
mov edi, eax
jmp 0x51b2ef
push eax
push edi
lea ecx, [ebp + 0x10]
call fcn.0040678a
dec dword [ebp + 0x14]
test edi, edi
jne 0x51b3a4
mov eax, dword [ebp + 0x40]
cmp dword [esi + 0x10c], eax
jne 0x51b5ac
mov eax, dword [ebp + 0x1c]
mov al, byte [eax + 0x22]
cmp al, byte [esi + 0xff]
jne 0x51b5ac
mov ecx, dword [esi + 0x1c]
call fcn.00413a59
mov edi, eax
test edi, edi
jne 0x51b5c8
mov ecx, dword [esi + 0x1c]
call fcn.004d44e1
mov edi, dword [ebp + 0x70]
lea eax, [ebp - 0x228]
mov edx, dword [ebp + 0x2c]
mov ecx, edi
push eax
movzx eax, byte [esi + 0xff]
push eax
call fcn.00519ec6
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
movzx eax, byte [edi + 0x69]
push eax
call fcn.00519cb3
lea ecx, [esi + 0xe8]
mov dl, al
call fcn.00519fec
mov ecx, dword [ebp + 0x30]
lea eax, [ebp - 0x228]
push eax
call fcn.00518c38
jmp 0x51b433
mov eax, dword [esi + 0x10c]
mov ecx, dword [ebp - 0x30]
mov ebx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x1c]
push ebx
call fcn.004137c6
push 8
xor eax, eax
lea edi, [ebx + 0x28]
pop ecx
add esi, 0xe8
inc eax
rep movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x23], al
push dword [ebp - 0x19c]
call fcn.0056651e
pop ecx
lea ecx, [ebp - 0x228]
call fcn.0050f0ec
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xf
call fcn.0050f0ec
xor ebx, ebx
jmp 0x51b497
mov ecx, dword [ebp + 0x30]
lea eax, [ebp + 0x20]
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x228]
mov edx, esi
push dword [ebp + 0x3c]
push eax
push edi
lea eax, [ebp - 0x190]
push eax
call fcn.0051bed2
mov edi, eax
test edi, edi
jne 0x51b5c8
mov ecx, dword [ebp + 0x24]
mov dword [ebp + 0x48], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp + 0x54], ecx
lea ecx, [ebp - 0x4c]
call fcn.00403988
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00519749
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x48]
add ecx, 0x1e
mov dword [ebp + 0x54], ecx
adc eax, ebx
mov dword [ebp + 0x20], ecx
push eax
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x3c]
push ecx
mov ecx, dword [eax + 8]
call fcn.0051a08a
push dword [ebp - 0x19c]
inc dword [ebp + 0x40]
call fcn.0056651e
pop ecx
lea ecx, [ebp - 0x228]
call fcn.0050f0ec
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xf
call fcn.0050f0ec
mov esi, dword [ebp + 0x34]
mov edx, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x68]
mov edi, dword [ebp + 0x40]
mov eax, dword [eax + 4]
cmp edi, eax
jb 0x51ac97
mov esi, dword [ebp + 0x48]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x3c0]
call fcn.00413c12
mov edi, eax
test edi, edi
jne 0x51b509
push dword [ebp + 0x78]
mov ecx, dword [ebp + 0x30]
lea eax, [ebp - 0x4c]
push eax
call fcn.00518456
mov edi, eax
test edi, edi
jne 0x51b509
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x54]
imul eax, dword [eax + 4], 0x2e
inc eax
add ecx, eax
mov eax, dword [ebp + 0x3c]
adc esi, ebx
push esi
push ecx
mov ecx, dword [eax + 8]
call fcn.0051a08a
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x3c0]
call fcn.00413c12
mov edi, eax
push dword [ebp + 0x10]
call fcn.0056651e
pop ecx
lea ecx, [ebp - 0x40]
call fcn.00519590
lea ecx, [ebp - 0xa0]
call fcn.00519426
lea ecx, [ebp - 0x34]
call fcn.0051931e
lea ecx, [ebp - 0x74]
call fcn.005192cf
lea ecx, [ebp - 0x3c0]
call fcn.00519371
mov ecx, dword [ebp + 0x3c]
push ecx
mov byte [ebp - 4], 0x59
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x4c]
call fcn.00519203
jmp 0x51b654
mov edi, 0x80004005
jmp 0x51b56d
mov edi, 0x80070057
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 0x50]
mov byte [ebp - 4], 0x2e
test eax, eax
je 0x51b585
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51b585
mov edi, 0x80004001
push dword [ebp - 0x2ec]
call fcn.0056651e
pop ecx
lea ecx, [ebp - 0x378]
call fcn.0050f0ec
lea ecx, [ebp - 0x118]
call fcn.0050f0ec
jmp 0x51b509
mov edi, 0x80004005
jmp 0x51b5c8
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x51b5c8
mov edi, 0x80004001
push dword [ebp - 0x19c]
call fcn.0056651e
pop ecx
lea ecx, [ebp - 0x228]
call fcn.0050f0ec
lea ecx, [ebp - 0x190]
jmp 0x51b5a2
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x24]
mov dword [ebp + 0x54], ecx
jmp 0x51b4b4
cmp dword [ebp - 0x2a8], 0
jbe 0x51b627
mov eax, dword [ebp - 0x2ac]
push 0xd
mov edi, dword [eax + ebx*4]
mov ecx, edi
call fcn.00412707
test eax, eax
jns 0x51b61e
push esi
push 0xd
mov ecx, edi
call fcn.00412549
inc ebx
cmp ebx, dword [ebp - 0x2a8]
jb 0x51b5fe
push dword [ebp - 0x1c]
mov edx, dword [ebp]
lea eax, [ebp - 0x18]
mov ecx, dword [ebp + 0x30]
push eax
push dword [ebp + 0x7c]
lea eax, [ebp - 0x2e0]
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push eax
push dword [ebp + 0x6c]
push dword [ebp + 0x68]
push dword [ebp + 0x64]
call fcn.0051b694
mov edi, eax
lea ecx, [ebp - 0x478]
call fcn.0050d74c
lea ecx, [ebp - 0x2e0]
call fcn.0050d872
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x5a
test eax, eax
je 0x51b67e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x5c
leave
ret 0x1c