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

Disassembly:
push ebp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x8c
mov ecx, dword [ebx + 0x80]
mov eax, dword [0x4b850c]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x20], edx
test ecx, ecx
jne 0x446b90
mov eax, dword [ebx + 0xc8]
cmp dword [esp + 0x20], 0x49444154
mov ebp, dword [ebx + 0xc4]
mov edi, dword [ebx + 0xcc]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xd0]
mov edx, dword [ebx + 0x78]
mov dword [esp + 0x28], eax
je 0x446b78
mov eax, dword [ebx + 0xdc]
mov ebp, dword [ebx + 0xd8]
mov edi, dword [ebx + 0xe0]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0xe4]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0xe8]
mov dword [esp + 0x2c], eax
cmp esi, 0x4000
ja 0x446a1b
lea ecx, [edi - 1]
mov eax, 1
add esi, 0x106
shl eax, cl
cmp eax, esi
jae 0x446a13
jmp 0x446a1b
sub ecx, 1
shr eax, 1
mov edi, ecx
cmp eax, esi
jae 0x446a10
and edx, 2
lea esi, [ebx + 0x84]
jne 0x446ac8
mov dword [ebx + 0x84], 0
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], 0x38
mov dword [esp + 0x18], 0x48f04a
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
call fcn.0044f8e0
mov esi, eax
test eax, eax
jne 0x446b60
or dword [ebx + 0x78], 2
mov eax, dword [esp + 0x20]
xor esi, esi
mov dword [ebx + 0x80], eax
mov eax, dword [esp + 0x7c]
sub eax, dword [0x4b850c]
jne 0x446c39
add esp, 0x8c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [ebx + 0xec], ebp
jne 0x446adc
mov eax, dword [esp + 0x24]
cmp dword [ebx + 0xf0], eax
je 0x446b00
lea esi, [ebx + 0x84]
mov dword [esp], esi
call fcn.0044f830
test eax, eax
jne 0x446c10
and dword [ebx + 0x78], 0xfffffffd
jmp 0x446a2a
cmp dword [ebx + 0xf4], edi
jne 0x446adc
mov eax, dword [esp + 0x28]
cmp dword [ebx + 0xf8], eax
jne 0x446adc
mov eax, dword [esp + 0x2c]
cmp dword [ebx + 0xfc], eax
jne 0x446adc
mov dword [ebx + 0x84], 0
lea eax, [ebx + 0x84]
mov dword [ebx + 0x88], 0
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov dword [esp], eax
call fcn.0044e250
mov esi, eax
test eax, eax
je 0x446a98
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00427ad0
jmp 0x446aa4
test dl, 1
je 0x446bf8
mov eax, dword [ebx + 0xd4]
mov dword [esp + 0x2c], eax
jmp 0x4469ea
lea edi, [esp + 0x3c]
bswap edx
mov dword [esp + 0x3c], edx
bswap eax
mov dword [esp + 0xc], str._using_zstream
mov edx, 0x203a
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0x40
mov dword [esp], edi
mov word [esp + 0x40], dx
mov dword [esp + 0x42], eax
call fcn.0042aec0
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0042b170
cmp dword [ebx + 0x80], 0x49444154
je 0x446c25
mov dword [ebx + 0x80], 0
jmp 0x44698f
xor eax, eax
cmp byte [ebx + 0x14e], 8
setne al
mov dword [esp + 0x2c], eax
jmp 0x4469ea
mov dword [esp + 4], str.deflateEnd_failed__ignored_
mov dword [esp], ebx
call fcn.0042b170
jmp 0x446af2
mov dword [ebx + 0x9c], str.in_use_by_IDAT
mov esi, 0xfffffffe
jmp 0x446aa4
call fcn.00464ba0
nop