Function at 0x51184f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 2
je 0x511b39
cmp dword [ebp - 0x1c], 2
ja 0x511b33
cmp dword [ebp - 0x1c], 0
je 0x5119f2
cmp dword [ebp - 0x1c], 1
jne 0x511b33
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov edx, 0
fld qword [0x58bd20]
fstp qword [esp + 0xa8]
fld qword [0x58bd30]
fstp qword [esp + 0xa0]
mov dword [esp + 0x9c], 0x94d280
mov dword [esp + 0x98], 1
mov dword [esp + 0x94], 9
mov dword [esp + 0x90], 8
mov dword [esp + 0x8c], 5
fld1
fstp qword [esp + 0x84]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 2
fldz
fstp qword [esp + 0x70]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], 4
fld qword [0x58bd08]
fstp qword [esp + 0x60]
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], 6
mov ebx, dword [ebp - 0x30]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], 8
fld qword [0x58bd08]
fstp qword [esp + 0x48]
fld qword [0x58bd00]
fstp qword [esp + 0x40]
mov dword [esp + 0x3c], 9
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], 5
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 8
fld qword [0x58bcf8]
fstp qword [esp + 0x24]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], 5
mov dword [esp + 8], 8
fld qword [0x58bd08]
fstp qword [esp]
call sym._ZipAddBufferW
mov dword [ebp - 0x1c], 0
jmp 0x511b34
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [ebp + 8]
mov esi, dword [eax]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
fld qword [0x58bd00]
fstp qword [esp + 0xa4]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x9c], 4
mov dword [esp + 0x98], 5
fld qword [0x58bd30]
fstp qword [esp + 0x90]
mov dword [esp + 0x8c], 8
fld1
fstp qword [esp + 0x84]
mov edx, dword [ebp - 0x2c]
mov dword [esp + 0x80], edx
fld qword [0x58bd30]
fstp qword [esp + 0x78]
mov edx, dword [ebp - 0x30]
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], edi
fld qword [0x58bd00]
fstp qword [esp + 0x68]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 6
fld qword [0x58bd10]
fstp qword [esp + 0x54]
fld qword [0x58bd10]
fstp qword [esp + 0x4c]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], 2
mov dword [esp + 0x3c], 2
fld qword [0x58bd28]
fstp qword [esp + 0x34]
mov dword [esp + 0x30], 5
fld qword [0x58bcf8]
fstp qword [esp + 0x28]
fld qword [0x58bd00]
fstp qword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 8
fldz
fstp qword [esp + 0x10]
fld qword [0x58bd20]
fstp qword [esp + 8]
mov dword [esp + 4], eax
mov dword [esp], 9
call sym._ByteFree
mov dword [ebp - 0x1c], 2
jmp 0x511b34
nop
jmp 0x511862
nop
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret