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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0x1c], 3
je 0x56d247
cmp dword [ebp - 0x1c], 3
ja 0x56d43e
cmp dword [ebp - 0x1c], 2
je 0x56d42c
cmp dword [ebp - 0x1c], 2
ja 0x56d43e
cmp dword [ebp - 0x1c], 0
je 0x56d417
cmp dword [ebp - 0x1c], 1
jne 0x56d43e
jmp 0x56d444
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x48]
mov edi, dword [eax]
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x28]
fld qword [eax]
fstp qword [ebp - 0x38]
mov eax, dword [ebp + 0x2c]
fld qword [eax]
fstp qword [ebp - 0x40]
mov eax, dword [ebp + 0x1c]
fld qword [eax]
fstp qword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov ebx, dword [eax]
mov dword [ebp - 0x4c], ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [ebp - 0x50], esi
mov eax, dword [ebp + 0x3c]
fld qword [eax]
fstp qword [ebp - 0x58]
mov eax, dword [ebp + 0x30]
mov edx, dword [eax]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax]
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x68], esi
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov eax, dword [ebp + 0x34]
mov ebx, dword [eax]
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp + 0x20]
fld qword [eax]
mov eax, dword [ebp + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x78], esi
mov eax, dword [ebp + 0x50]
mov edx, dword [eax]
mov dword [ebp - 0x7c], edx
mov eax, dword [ebp + 0x20]
fld qword [eax]
mov eax, dword [ebp + 0x40]
mov esi, dword [eax]
mov eax, dword [ebp + 0x44]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x38]
fld qword [eax]
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x1c]
fld qword [eax]
mov eax, dword [ebp + 0x3c]
fld qword [eax]
fxch st(7)
mov eax, dword [ebp + 0x54]
mov edx, dword [eax]
fstp qword [esp + 0xb4]
fxch st(5)
mov dword [esp + 0xb0], edi
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xac], eax
fstp qword [esp + 0xa4]
fxch st(3)
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xa0], eax
fstp qword [esp + 0x98]
fld qword [ebp - 0x38]
fstp qword [esp + 0x90]
fld qword [ebp - 0x40]
fstp qword [esp + 0x88]
fld qword [ebp - 0x48]
fstp qword [esp + 0x80]
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x7c], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], 0
fld qword [ebp - 0x58]
fstp qword [esp + 0x6c]
fxch st(1)
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x60], eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x54], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x50], eax
mov eax, dword [ebp - 0x74]
mov dword [esp + 0x4c], eax
fstp qword [esp + 0x44]
mov eax, dword [ebp - 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [ebp - 0x7c]
mov dword [esp + 0x3c], eax
fstp qword [esp + 0x34]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
fstp qword [esp + 0x24]
mov dword [esp + 0x20], ecx
fstp qword [esp + 0x18]
mov dword [esp + 0x14], 0
fstp qword [esp + 0xc]
mov dword [esp + 8], edx
mov dword [esp], 0xf4240
mov dword [esp + 4], 0
call sym._ZipCreateBuffer
mov edx, dword [ebp + 0x4c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 1
jmp 0x56d43f
mov dword [esp], str.before_create_buffer_n
call sym._printf___0
mov dword [ebp - 0x1c], 3
jmp 0x56d43f
mov eax, dword [ebp + 0x48]
mov dword [eax], 0
mov dword [ebp - 0x1c], 0
jmp 0x56d43f
nop
jmp 0x56d20a
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret