Function at 0x51cb20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1d9b
mov eax, dword fs:[0]
push eax
sub esp, 0x8f8
mov eax, dword [0x629688]
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 dword [ebp - 0x904], esi
mov ebx, dword [ebp + 8]
mov edi, 1
mov edi, edi
mov dword [ebp - 0x87c], 0xf
mov dword [ebp - 0x880], 0
mov byte [ebp - 0x890], 0
mov dword [ebp - 0x864], 0xf
mov dword [ebp - 0x868], 0
mov byte [ebp - 0x878], 0
mov eax, edi
mov dword [ebp - 4], 0
dec eax
je 0x51ccf5
dec eax
je 0x51cc7d
dec eax
jne 0x51cd7f
xor ecx, ecx
cmp byte [str.amtlib.dll], cl
mov eax, 0xa
cmove eax, ecx
push eax
push str.amtlib.dll
lea ecx, [ebp - 0x890]
call fcn.004082e0
mov ecx, dword [esi + 8]
call fcn.0051dd90
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x8a8]
mov dword [ebp - 0x894], 0xf
mov dword [ebp - 0x898], 0
mov byte [ebp - 0x8a8], 0
call fcn.004086b0
cmp dword [ebp - 0x894], 0x10
lea eax, [ebp - 0x8a8]
cmovae eax, dword [ebp - 0x8a8]
push eax
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.004011c0
push 0x5e0864
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.00401200
push str.amtlib.dll
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.00401200
add esp, 0x24
cmp dword [ebp - 0x894], 0x10
jb 0x51cd7f
push dword [ebp - 0x8a8]
call fcn.0058603b
add esp, 4
jmp 0x51cd7f
xor ecx, ecx
cmp byte [0x5c6c4c], cl
mov eax, 0x11
cmove eax, ecx
push eax
push 0x5c6c4c
lea ecx, [ebp - 0x890]
call fcn.004082e0
lea eax, [ebp - 0x460]
push 2
push eax
call fcn.00401b90
push 0x5e0864
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.00401200
push str.AdobeOOBEPDAppP7
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.00401200
push 0x5e0864
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.00401200
push 0x5c6c4c
jmp 0x51cd6b
xor ecx, ecx
cmp byte [str.adobe_oobelib.dll], cl
mov eax, 0x11
cmove eax, ecx
push eax
push str.adobe_oobelib.dll
lea ecx, [ebp - 0x890]
call fcn.004082e0
lea eax, [ebp - 0x460]
push 2
push eax
call fcn.00401b90
push 0x5e0864
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.00401200
push str.AdobeOOBEPDAppP7
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.00401200
push 0x5e0864
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.00401200
push str.adobe_oobelib.dll
lea eax, [ebp - 0x460]
push 0x400
push eax
call fcn.00401200
add esp, 0x38
lea eax, [ebp - 0x460]
push eax
call fcn.004018d0
add esp, 4
test eax, eax
jne 0x51cdeb
cmp dword [ebp - 0x864], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x51cdb0
push dword [ebp - 0x878]
call fcn.0058603b
add esp, 4
cmp dword [ebp - 0x87c], 0x10
mov dword [ebp - 0x864], 0xf
mov dword [ebp - 0x868], 0
mov byte [ebp - 0x878], 0
jb 0x51cf4b
push dword [ebp - 0x890]
call fcn.0058603b
add esp, 4
jmp 0x51cf4b
lea eax, [ebp - 0x460]
push 0x5e0860
push eax
call fcn.0058994b
mov esi, eax
add esp, 8
test esi, esi
je 0x51cef5
push 0x3f
lea eax, [ebp - 0x5f]
push 0
push eax
mov byte [ebp - 0x60], 0
call fcn.005877c0
lea eax, [ebp - 0x900]
xorps xmm0, xmm0
push eax
mov byte [ebp - 0x20], 0
movq qword [ebp - 0x1f], xmm0
mov dword [ebp - 0x17], 0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
call fcn.0050ae90
push esi
push 0x400
lea eax, [ebp - 0x860]
push 1
push eax
call fcn.00589b23
add esp, 0x20
test eax, eax
je 0x51ce8f
mov edi, edi
push eax
lea eax, [ebp - 0x860]
push eax
lea eax, [ebp - 0x900]
push eax
call fcn.0050aed0
push esi
push 0x400
lea eax, [ebp - 0x860]
push 1
push eax
call fcn.00589b23
add esp, 0x1c
test eax, eax
jne 0x51ce60
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x900]
push eax
call fcn.0050ade0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x20]
push 0x10
push eax
call fcn.0051ebe0
add esp, 0x14
cmp byte [ebp - 0x60], 0
jne 0x51cebb
xor eax, eax
jmp 0x51ceca
lea eax, [ebp - 0x60]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x51cec1
sub eax, edx
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x878]
call fcn.004082e0
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebx + 0x90]
call fcn.00545d20
push esi
call fcn.005890ae
add esp, 4
cmp dword [ebp - 0x864], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x51cf13
push dword [ebp - 0x878]
call fcn.0058603b
add esp, 4
cmp dword [ebp - 0x87c], 0x10
mov byte [ebp - 0x878], 0
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x864], 0xf
jb 0x51cf45
push dword [ebp - 0x890]
call fcn.0058603b
add esp, 4
mov esi, dword [ebp - 0x904]
inc edi
cmp edi, 3
jle 0x51cb60
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.00586d1b
mov esp, ebp
pop ebp
ret 4