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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 2
je 0x504f52
cmp dword [ebp - 0x1c], 2
ja 0x504f4c
cmp dword [ebp - 0x1c], 0
je 0x504d62
cmp dword [ebp - 0x1c], 1
je 0x504f3a
jmp 0x504f4c
mov eax, dword [ebp + 8]
fld qword [eax]
mov eax, dword [ebp + 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x24]
mov ebx, dword [eax]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0x50]
mov esi, dword [eax]
mov dword [ebp - 0x38], esi
mov eax, dword [ebp + 0x54]
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 0x10]
fld qword [eax]
mov eax, dword [ebp + 0x30]
fld qword [eax]
fxch st(3)
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + 0x48]
mov esi, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 0x2c]
mov edi, dword [eax]
mov dword [ebp - 0x50], edi
mov eax, dword [ebp + 0x38]
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 0x58]
mov ebx, dword [eax]
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp + 0x38]
mov esi, dword [eax]
mov dword [ebp - 0x60], esi
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
mov dword [ebp - 0x64], edi
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 0x28]
mov ebx, dword [eax]
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
mov eax, dword [ebp + 0x2c]
mov edi, dword [eax]
mov dword [ebp - 0x78], edi
mov eax, dword [ebp + 0x48]
mov edx, dword [eax]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp + 0x3c]
mov edi, dword [eax]
mov eax, dword [ebp + 0x24]
mov esi, dword [eax]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
fstp qword [esp + 0x94]
fxch st(1)
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x90], eax
fstp qword [esp + 0x88]
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x84], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x80], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x78], eax
fstp qword [esp + 0x70]
mov dword [esp + 0x68], 0x1755d0e0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x60], eax
fstp qword [esp + 0x58]
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x38], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x30], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x24], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._ZipCreateBuffer
mov edx, dword [ebp + 0x4c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 2
jmp 0x504f4d
mov eax, dword [ebp + 0x48]
mov dword [eax], 0
mov dword [ebp - 0x1c], 0
jmp 0x504f4d
nop
jmp 0x504d39
nop
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret