Function at 0x51a894
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
sub esp, 0x58
mov eax, 0x577be8
call fcn.00566e38
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 0x57d794
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
mov byte [ebp + 0x5b], bl
movlpd qword [ebp + 0x20], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp + 8], xmm0
mov dword [ebp + 0x54], ebx
movlpd qword [ebp - 0x18], xmm0
movlpd qword [ebp + 0x28], xmm0
cmp dword [eax + 4], ebx
jbe 0x51aa39
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x20]
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x44], eax
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0x34], eax
mov eax, dword [ebp - 0x18]
movlpd qword [ebp + 0x28], xmm0
mov dword [ebp + 0x48], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x50], edx
mov dword [ebp + 0x4c], ecx
mov dword [ebp + 0x40], eax
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x54]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 0
je 0x51a98d
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x34], edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
and eax, edx
cmp eax, 0xffffffff
jne 0x51a96a
xor eax, eax
inc eax
mov byte [ebp + 0x5b], al
mov eax, dword [ebp + 0x34]
jmp 0x51a977
mov eax, dword [ebp + 0x34]
mov esi, edx
mov edi, eax
add edi, dword [ebp + 0x40]
adc esi, dword [ebp + 0x3c]
add dword [ebp + 0x44], eax
adc dword [ebp + 0x38], edx
xor eax, eax
mov edx, dword [ebp + 0x50]
inc eax
add dword [ebp + 0x4c], eax
adc edx, ebx
mov dword [ebp + 0x50], edx
jmp 0x51a9fa
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.0050f1cd
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.005179f8
lea ecx, [ebp - 0x190]
test eax, eax
jne 0x51aa2a
call fcn.00519ece
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 + 0x48]
adc esi, dword [ebp + 0x34]
call fcn.0050f442
mov eax, dword [ebp + 0x54]
add edi, 0x4c
mov ecx, edi
mov dword [ebp + 0x48], ecx
adc esi, ebx
mov dword [ebp + 0x40], ecx
inc eax
mov ecx, dword [ebp + 0x68]
mov edx, esi
mov dword [ebp + 0x34], edx
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x3c], edx
cmp eax, dword [ecx + 4]
mov ecx, edi
jb 0x51a93c
mov esi, ecx
mov edi, edx
jmp 0x51aa5d
call fcn.0050f442
mov edi, 0x80004001
jmp 0x51b9d1
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x28]
mov dword [ebp + 0x50], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x51aa6d
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 0x51aa85
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.005191e8
cmp dword [ebp - 0x2a8], 0
mov byte [ebp - 4], 3
jne 0x51aab2
lea ecx, [ebp - 0x2ac]
call fcn.00482f26
lea ecx, [ebp - 0x478]
call fcn.0050d923
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x478]
call fcn.0050ee62
mov eax, dword [esi + 0x70]
mov edi, ebx
xorps xmm0, xmm0
mov dword [ebp + 0x54], ebx
movlpd qword [ebp + 0x20], xmm0
mov cl, byte [eax]
mov byte [ebp + 0x5b], cl
cmp dword [ebp - 0x2a8], edi
je 0x51aafb
mov eax, dword [ebp - 0x2ac]
mov edi, dword [eax]
mov dword [ebp + 0x54], edi
mov esi, ebx
jbe 0x51ab1f
mov eax, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2e0]
push dword [eax + esi*4]
call fcn.00483417
inc esi
cmp esi, dword [ebp - 0x2a8]
jb 0x51aaff
mov cl, byte [ebp + 0x5b]
test edi, edi
je 0x51ab42
cmp cl, 0xe
jne 0x51ab42
push 0xe
mov ecx, edi
call fcn.00412695
test eax, eax
jns 0x51ab42
xor eax, eax
mov ecx, edi
inc eax
push eax
push 0xe
call fcn.0041253f
mov esi, dword [ebp + 0x70]
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp + 0x48], ecx
cmp ebx, dword [ebp + 0x50]
jb 0x51ab5f
mov eax, dword [ebp + 0x4c]
ja 0x51ab5a
cmp esi, eax
jbe 0x51ab5f
mov ecx, eax
mov dword [ebp + 0x48], eax
xor eax, eax
inc eax
cmp ecx, eax
jbe 0x51ab79
call fcn.0040b2e9
mov ecx, dword [ebp + 0x48]
cmp ecx, eax
cmova ecx, eax
xor eax, eax
mov dword [ebp + 0x48], ecx
inc eax
push 0x40
pop ecx
cmp esi, ecx
cmova esi, ecx
mov dword [ebp + 0x3c], esi
cmp dword [ebp + 0x50], ebx
ja 0x51ab92
cmp dword [ebp + 0x4c], eax
jbe 0x51b95c
cmp esi, eax
jbe 0x51b95c
mov al, byte [ebp + 0x5b]
mov ecx, dword [ebp + 0x70]
test al, al
jne 0x51abb5
cmp byte [ecx + 0x88], al
push 1
pop edx
cmove esi, edx
mov dword [ebp + 0x3c], esi
jmp 0x51abb8
xor edx, edx
inc edx
test edi, edi
je 0x51ad48
cmp al, 0xc
jne 0x51ac30
lea eax, [ebp + 0x5b]
mov ecx, edi
push eax
call fcn.00519ef1
cmp byte [ebp + 0x5b], 0
mov edi, eax
jne 0x51ac25
push dword [ebp + 0x50]
mov eax, dword [ebp + 0x38]
push dword [ebp + 0x4c]
push eax
push dword [ebp + 0x44]
call fcn.005670b0
mov ecx, dword [ebp + 0x54]
mov edi, eax
mov esi, edx
call fcn.004d023d
push ebx
push eax
push esi
push edi
call fcn.005670b0
add eax, 1
push 0x40
adc edx, ebx
pop edi
cmp edx, ebx
ja 0x51ac12
jb 0x51ac10
cmp eax, edi
jae 0x51ac12
mov edi, eax
mov esi, dword [ebp + 0x3c]
mov ecx, dword [ebp + 0x54]
cmp edi, esi
cmova edi, esi
push edi
push 0xd
call fcn.004124d7
mov eax, esi
xor edx, edx
div edi
jmp 0x51ad46
cmp al, 0x5f
jne 0x51acaa
lea eax, [ebp + 0x40]
mov dword [ebp + 0x40], edx
push eax
mov ecx, edi
call fcn.00519f1b
mov edi, eax
test edi, edi
jns 0x51ac25
push dword [ebp + 0x50]
mov eax, dword [ebp + 0x38]
push dword [ebp + 0x4c]
push eax
push dword [ebp + 0x44]
call fcn.005670b0
mov ecx, dword [ebp + 0x54]
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x2c], edx
call fcn.004c87b3
mov edi, eax
mov dword [ebp + 0x34], edx
xor eax, eax
mov ecx, edi
and ecx, dword [ebp + 0x34]
inc eax
mov edx, ebx
cmp ecx, 0xffffffff
je 0x51ac90
push dword [ebp + 0x34]
push edi
push dword [ebp + 0x2c]
push dword [ebp + 0x1c]
call fcn.005670b0
add eax, 1
adc edx, ebx
mov edi, 0x100
cmp edx, ebx
ja 0x51aca1
jb 0x51ac9f
cmp eax, edi
jae 0x51aca1
mov edi, eax
imul edi, dword [ebp + 0x40]
jmp 0x51ac15
cmp al, 8
je 0x51ad01
cmp al, 9
je 0x51ad01
cmp al, 0x62
je 0x51ad01
cmp al, 0xe
jne 0x51ad48
mov ecx, edi
call fcn.0041296b
mov ecx, eax
xor edx, edx
mov eax, esi
div ecx
xor ecx, ecx
mov esi, eax
inc ecx
cmp esi, ecx
jbe 0x51ad48
mov eax, dword [ebp + 0x70]
cmp byte [eax + 9], 0
je 0x51ad48
cmp byte [eax + 8], 0
jne 0x51ad48
push ecx
mov ecx, edi
call fcn.004128bc
add eax, 0x2000000
adc edx, ebx
push edx
push eax
mov eax, dword [ebp + 0x70]
push dword [eax + 0x14]
push dword [eax + 0x10]
jmp 0x51ad37
cmp esi, edx
jbe 0x51ad48
cmp byte [ecx + 9], 0
je 0x51ad48
cmp byte [ecx + 8], 0
jne 0x51ad48
cmp al, 0x62
jne 0x51ad21
mov ecx, edi
call fcn.004d0299
mov ecx, dword [ebp + 0x70]
jmp 0x51ad28
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.005670b0
cmp edx, ebx
ja 0x51ad48
jb 0x51ad46
cmp eax, esi
jae 0x51ad48
mov esi, eax
cmp esi, dword [ebp + 0x48]
cmova esi, dword [ebp + 0x48]
xor eax, eax
inc eax
mov dword [ebp + 0x3c], esi
cmp esi, eax
jbe 0x51b98e
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
push 0x10
mov byte [ebp - 4], 6
call fcn.00566d2f
mov edi, eax
pop ecx
push edi
mov dword [ebp + 0x38], edi
mov dword [edi + 4], ebx
mov dword [edi], 0x58c36c
mov dword [edi + 0xc], ebx
mov dword [ebp - 0x20], edi
call dword [0x58c370]
xor eax, eax
mov byte [ebp - 4], 7
inc eax
mov ecx, edi
push eax
push dword [ebp + 0x7c]
call fcn.00519c3b
lea ecx, [ebp - 0x3c0]
call fcn.00519392
push dword [edi + 0xc]
lea ecx, [ebp - 0x3c0]
mov byte [ebp - 4], 8
push esi
call fcn.00413a39
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 0x10000
mov dword [ebp - 0x6c], ebx
call fcn.0055b310
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.005193e3
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.0040e21a
push esi
xor edx, edx
mov dword [ebp - 0x80], esi
lea ecx, [ebp - 0xa0]
call fcn.0055b4c0
test eax, eax
je 0x51ae34
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x51b879
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.00412037
mov edi, eax
test edi, edi
jne 0x51b870
mov eax, dword [ebp + 0x68]
mov edi, ebx
cmp dword [eax + 4], ebx
jbe 0x51aec9
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 dword [ebp - 0xc8], ebx
movlpd qword [ebp - 0xc0], xmm0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x12
call fcn.0040393c
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00519a59
push ebx
mov byte [ebp - 4], 0xf
call fcn.00566e0e
inc edi
pop ecx
cmp edi, dword [esi + 4]
jb 0x51ae66
mov esi, dword [ebp + 0x3c]
test esi, esi
je 0x51afd7
mov edi, esi
lea ecx, [ebp - 0x40]
call fcn.00519ae8
sub edi, 1
jne 0x51aed3
mov eax, ebx
mov dword [ebp + 0x54], ebx
mov ecx, dword [ebp - 0x40]
mov edi, dword [ecx + eax*4]
mov dword [ebp + 0x44], edi
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x28]
lea eax, [ebp - 0x2e0]
push eax
call fcn.0050ee62
mov ecx, edi
call fcn.00519cb4
mov edi, eax
test edi, edi
jne 0x51b870
push 0x50
call fcn.00566d2f
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 + 0x44]
mov dword [eax], 0x58c334
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.00519c73
mov edi, eax
test edi, edi
jne 0x51b870
mov eax, dword [ebp + 0x44]
push dword [eax + 0x1c]
lea ecx, [eax + 0x20]
call fcn.0040f64c
push 0x10
call fcn.00566d2f
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 + 0x44]
mov dword [ecx + 4], ebx
mov dword [ecx], 0x58c34c
mov dword [edi + 0x14], ecx
lea ecx, [edi + 0x18]
call fcn.0040f64c
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.00519cd8
mov edi, eax
test edi, edi
jne 0x51b870
mov eax, dword [ebp + 0x54]
inc eax
mov dword [ebp + 0x54], eax
cmp eax, esi
jb 0x51aee5
mov eax, dword [ebp + 0x68]
mov edx, ebx
mov edi, ebx
mov dword [ebp + 0x4c], edx
mov dword [ebp + 0x48], edi
mov eax, dword [eax + 4]
test eax, eax
je 0x51b94e
mov ecx, dword [ebp + 0x24]
mov dword [ebp + 0x44], 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 0x51b33a
cmp edx, eax
jae 0x51b33a
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
mov edi, dword [eax + edx*4]
inc edx
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x4c], edx
cmp byte [edi], 0
je 0x51b807
lea ecx, [ebp - 0x118]
call fcn.00513e01
mov byte [ebp - 0xa4], bl
lea ecx, [ebp - 0x378]
mov byte [ebp - 4], 0x19
call fcn.005192fc
cmp byte [edi + 1], 0
mov byte [ebp - 4], 0x1a
je 0x51b088
cmp byte [edi + 2], 0
je 0x51b11c
push dword [ebp - 0x2ec]
call fcn.00566e0e
pop ecx
lea ecx, [ebp - 0x378]
call fcn.0050f442
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0xf
call fcn.0050f442
jmp 0x51b801
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.0051990a
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.005179f8
test eax, eax
jne 0x51b8e7
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x378]
call fcn.0051990a
mov al, byte [edi + 2]
lea ecx, [ebp - 0x378]
mov byte [ebp + 0x5b], al
call fcn.005183cf
mov cl, byte [ebp + 0x5b]
cmp al, cl
jne 0x51b8e7
test cl, cl
je 0x51b11c
push dword [ebp - 0x2ec]
call fcn.00566e0e
pop ecx
lea ecx, [ebp - 0x378]
call fcn.0050f442
lea ecx, [ebp - 0x118]
jmp 0x51b7f5
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 + 0x38]
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 0x51b1d4
mov edx, dword [ebp + 0x40]
mov edi, dword [ebp + 0x54]
push ebx
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
add eax, 0x1e
mov edx, dword [ebp + 0x44]
adc ecx, ebx
add edi, eax
mov eax, dword [ebp + 0x38]
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 + 0x44], 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 0x51b8cd
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 0x51b0fa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51b0fa
test edi, edi
jne 0x51b8cd
cmp dword [ebp + 0x50], edi
je 0x51b8c8
mov edi, dword [ebp + 0x7c]
lea eax, [ebp - 0x18]
mov edx, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x6c]
push eax
push edi
push dword [ebp + 0x50]
call fcn.0051c389
mov eax, dword [edi]
push ebx
push edi
call dword [eax + 0x20]
mov edi, eax
test edi, edi
jne 0x51b8cd
push esi
mov byte [ebp - 4], 0x1f
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp + 0x3c]
mov ecx, ebx
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + ecx*4]
cmp byte [eax + 0x108], 0
jne 0x51b230
inc ecx
cmp ecx, esi
jb 0x51b21f
mov dword [ebp + 0x2c], ecx
cmp ecx, esi
je 0x51b8c1
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 0x51b254
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x51b261
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 0x57d474
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 0x51b29b
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 0x51b2b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp + 0x50], ebx
mov ecx, dword [edi + 0x1c]
call fcn.00413786
mov ecx, dword [edi + 0x14]
push dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
call fcn.00413b0c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x40]
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.0055b3c0
push dword [ebp + 0x2c]
lea ecx, [ebp + 0x10]
call fcn.00406b7d
mov eax, dword [ebp + 0x50]
mov byte [ebp - 4], 0x33
test eax, eax
je 0x51b05d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51b05d
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + edi*4]
cmp byte [eax + 0x20], 0
je 0x51b34e
inc dword [ebp + 0x48]
jmp 0x51b807
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.00513e01
mov byte [ebp - 0x11c], bl
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0x35
call fcn.005192fc
cmp byte [edi + 1], 0
mov byte [ebp - 4], 0x36
je 0x51b388
cmp byte [edi], 0
jne 0x51b3e5
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.0051990a
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.005179f8
test eax, eax
jne 0x51b92a
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x228]
call fcn.0051990a
cmp byte [edi], 0
je 0x51b761
cmp byte [edi + 2], 0
je 0x51b40d
mov edx, dword [ebp + 0x70]
lea eax, [ebp - 0x228]
mov ecx, dword [ebp + 0x30]
push eax
push edi
call fcn.0051c7d2
mov edi, eax
test edi, edi
jne 0x51b92f
jmp 0x51b79a
mov eax, dword [ebp + 0x48]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ecx + eax*4]
mov dword [ebp + 0x1c], esi
cmp byte [esi + 0x23], 0
je 0x51b4fa
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.0051a21c
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
movzx eax, byte [edi + 0x69]
push eax
call fcn.0051a009
lea ecx, [esi + 0x28]
mov dl, al
call fcn.0051a342
mov ecx, dword [ebp + 0x30]
call fcn.005185dd
mov edi, eax
test edi, edi
jne 0x51b92f
mov edi, dword [ebp + 0x30]
lea eax, [ebp - 0x228]
push ebx
push eax
mov ecx, edi
call fcn.00518d26
mov dword [ebp + 0x34], ebx
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 0x3d
push eax
mov ecx, edi
call fcn.00518690
push dword [ebp + 0x34]
mov ecx, esi
push dword [ebp - 0x70]
call fcn.004122bd
mov al, byte [ebp - 0x228]
shr al, 3
test al, 1
je 0x51b4c3
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
call fcn.00518f8e
jmp 0x51b4d5
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.00412280
mov eax, dword [ebp + 0x34]
mov byte [ebp - 4], 0x3e
test eax, eax
je 0x51b4f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x36
jmp 0x51b79a
cmp dword [ebp + 4], eax
jge 0x51b5a1
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.0050ee67
mov edi, eax
test edi, edi
jne 0x51b92f
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.0051a21c
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
movzx eax, byte [esi + 0x69]
push eax
call fcn.0051a009
mov dl, al
lea ecx, [ebp - 0x248]
call fcn.0051a342
mov esi, dword [ebp + 0x30]
mov ecx, esi
call fcn.005186fe
mov edi, eax
test edi, edi
jne 0x51b92f
push ebx
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call fcn.00518d26
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 0x51b5f9
mov dword [ebp + 0x40], ebx
mov ecx, dword [ebp + 0x30]
lea eax, [ebp + 0x40]
push eax
mov byte [ebp - 4], 0x43
call fcn.00518646
push dword [ebp + 0x40]
mov ecx, dword [esi + 0x1c]
call fcn.0051a3c1
mov ecx, dword [esi + 0x1c]
xor eax, eax
inc eax
mov byte [ecx + 0x15], al
add ecx, 0x1c
call fcn.0055b3c0
mov eax, dword [ebp + 0x40]
mov byte [ebp - 4], 0x44
test eax, eax
je 0x51b5f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x36
mov ecx, dword [ebp - 0xa0]
call fcn.0055b430
test eax, eax
jne 0x51b91a
lea ecx, [ebp - 0xa0]
call fcn.00519ea6
mov edx, eax
mov dword [ebp + 0xc], edx
test edx, edx
js 0x51b913
mov esi, dword [edi + edx*4]
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x51b63a
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 0x51b92f
mov ecx, dword [ebp + 0x10]
mov edi, ebx
cmp edi, dword [ebp + 0x14]
je 0x51b913
lea eax, [edi + 1]
cmp dword [ecx + edi*4], edx
je 0x51b66b
mov edi, eax
jmp 0x51b656
push eax
push edi
lea ecx, [ebp + 0x10]
call fcn.00406730
dec dword [ebp + 0x14]
test edi, edi
jne 0x51b70b
mov eax, dword [ebp + 0x48]
cmp dword [esi + 0x10c], eax
jne 0x51b913
mov eax, dword [ebp + 0x1c]
mov al, byte [eax + 0x22]
cmp al, byte [esi + 0xff]
jne 0x51b913
mov ecx, dword [esi + 0x1c]
call fcn.004139e8
mov edi, eax
test edi, edi
jne 0x51b92f
mov ecx, dword [esi + 0x1c]
call fcn.004d441d
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.0051a21c
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
movzx eax, byte [edi + 0x69]
push eax
call fcn.0051a009
lea ecx, [esi + 0xe8]
mov dl, al
call fcn.0051a342
mov ecx, dword [ebp + 0x30]
lea eax, [ebp - 0x228]
push eax
call fcn.00518f8e
jmp 0x51b79a
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.00413755
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.00566e0e
pop ecx
lea ecx, [ebp - 0x228]
call fcn.0050f442
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xf
call fcn.0050f442
xor ebx, ebx
jmp 0x51b7fe
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 + 0x38]
push eax
push edi
lea eax, [ebp - 0x190]
push eax
call fcn.0051c239
mov edi, eax
test edi, edi
jne 0x51b92f
mov ecx, dword [ebp + 0x24]
mov dword [ebp + 0x44], ecx
mov ecx, dword [ebp + 0x20]
mov dword [ebp + 0x54], ecx
lea ecx, [ebp - 0x4c]
call fcn.0040393c
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00519a9f
mov ecx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x44]
add ecx, 0x1e
mov dword [ebp + 0x54], ecx
adc eax, ebx
mov dword [ebp + 0x20], ecx
push eax
mov dword [ebp + 0x44], eax
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x38]
push ecx
mov ecx, dword [eax + 8]
call fcn.0051a3e0
push dword [ebp - 0x19c]
inc dword [ebp + 0x48]
call fcn.00566e0e
pop ecx
lea ecx, [ebp - 0x228]
call fcn.0050f442
lea ecx, [ebp - 0x190]
mov byte [ebp - 4], 0xf
call fcn.0050f442
mov esi, dword [ebp + 0x3c]
mov edx, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x68]
mov edi, dword [ebp + 0x48]
mov eax, dword [eax + 4]
cmp edi, eax
jb 0x51affe
mov esi, dword [ebp + 0x44]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x3c0]
call fcn.00413b9e
mov edi, eax
test edi, edi
jne 0x51b870
push dword [ebp + 0x78]
mov ecx, dword [ebp + 0x30]
lea eax, [ebp - 0x4c]
push eax
call fcn.005187ac
mov edi, eax
test edi, edi
jne 0x51b870
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 + 0x38]
adc esi, ebx
push esi
push ecx
mov ecx, dword [eax + 8]
call fcn.0051a3e0
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x3c0]
call fcn.00413b9e
mov edi, eax
push dword [ebp + 0x10]
call fcn.00566e0e
pop ecx
lea ecx, [ebp - 0x40]
call fcn.005198e6
lea ecx, [ebp - 0xa0]
call fcn.0051977c
lea ecx, [ebp - 0x34]
call fcn.00519674
lea ecx, [ebp - 0x74]
call fcn.00519625
lea ecx, [ebp - 0x3c0]
call fcn.005196c7
mov ecx, dword [ebp + 0x38]
push ecx
mov byte [ebp - 4], 0x59
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x4c]
call fcn.00519559
jmp 0x51b9bb
mov edi, 0x80004005
jmp 0x51b8d4
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 0x51b8ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x51b8ec
mov edi, 0x80004001
push dword [ebp - 0x2ec]
call fcn.00566e0e
pop ecx
lea ecx, [ebp - 0x378]
call fcn.0050f442
lea ecx, [ebp - 0x118]
call fcn.0050f442
jmp 0x51b870
mov edi, 0x80004005
jmp 0x51b92f
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x51b92f
mov edi, 0x80004001
push dword [ebp - 0x19c]
call fcn.00566e0e
pop ecx
lea ecx, [ebp - 0x228]
call fcn.0050f442
lea ecx, [ebp - 0x190]
jmp 0x51b909
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x24]
mov dword [ebp + 0x54], ecx
jmp 0x51b81b
cmp dword [ebp - 0x2a8], 0
jbe 0x51b98e
mov eax, dword [ebp - 0x2ac]
push 0xd
mov edi, dword [eax + ebx*4]
mov ecx, edi
call fcn.00412695
test eax, eax
jns 0x51b985
push esi
push 0xd
mov ecx, edi
call fcn.004124d7
inc ebx
cmp ebx, dword [ebp - 0x2a8]
jb 0x51b965
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.0051b9fb
mov edi, eax
lea ecx, [ebp - 0x478]
call fcn.0050daa2
lea ecx, [ebp - 0x2e0]
call fcn.0050dbc8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0x5a
test eax, eax
je 0x51b9e5
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