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

Disassembly:
push ebp
push edi
push esi
push ebx
add esp, 0xffffff80
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0x1c]
mov edi, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax]
mov esi, eax
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 4]
lea eax, [esi + eax - 5]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x94]
mov ebp, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov edx, eax
sub edx, dword [esp + 0x98]
lea eax, [ebp + eax - 0x101]
mov dword [esp + 0x14], eax
mov eax, edi
mov edi, dword [edi + 0x2c]
mov ebx, dword [eax + 0x34]
lea esi, [ebp + edx]
mov edx, dword [eax + 0x50]
mov dword [esp + 0x28], edi
mov edi, dword [eax + 0x40]
mov dword [esp + 0x34], esi
mov esi, dword [eax + 0x30]
mov dword [esp + 0x20], ebx
mov dword [esp + 4], edx
mov ebx, eax
mov dword [esp + 0x38], esi
mov esi, dword [eax + 0x38]
mov dword [esp + 0x1c], esi
mov esi, dword [eax + 0x3c]
mov edx, dword [eax + 0x54]
mov ecx, dword [eax + 0x58]
mov eax, 1
mov dword [esp + 0x24], edx
mov edx, eax
shl edx, cl
mov ecx, dword [ebx + 0x5c]
mov ebx, dword [esp + 0x20]
sub edx, 1
mov dword [esp + 0x18], edx
shl eax, cl
mov ecx, dword [esp + 0x28]
lea edx, [eax - 1]
lea eax, [ebx - 4]
shr eax, 2
mov dword [esp + 0x30], edx
lea edx, [eax + 1]
lea eax, [ebx - 1]
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], eax
shl edx, 2
mov eax, ebx
mov dword [esp + 0x4c], edx
sub eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x1c]
add eax, edx
mov dword [esp + 0x40], eax
mov eax, ebx
lea ebx, [ebx + 4]
add ecx, eax
mov dword [esp + 0x54], ebx
mov ebx, eax
lea eax, [ecx + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], eax
mov eax, 4
sub eax, ebx
mov dword [esp + 0x5c], eax
cmp edi, 0xe
ja 0x492580
mov ebx, dword [esp]
lea ecx, [edi + 8]
movzx eax, byte [ebx + 1]
movzx edx, byte [ebx]
shl eax, cl
mov ecx, edi
add edi, 0x10
shl edx, cl
add eax, edx
add esi, eax
lea eax, [ebx + 2]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 4]
and eax, esi
lea eax, [ebx + eax*4]
movzx ecx, byte [eax + 1]
shr esi, cl
sub edi, ecx
movzx ecx, byte [eax]
test ecx, ecx
mov edx, ecx
je 0x4925fa
test cl, 0x10
jne 0x492694
test cl, 0x40
jne 0x492934
mov dword [esp + 8], ebp
mov ebx, 1
mov ebp, dword [esp + 4]
jmp 0x4925d2
test dl, 0x10
jne 0x492690
test dl, 0x40
jne 0x492930
mov edx, ebx
movzx eax, word [eax + 2]
shl edx, cl
sub edx, 1
and edx, esi
add eax, edx
lea eax, [ebp + eax*4]
movzx ecx, byte [eax + 1]
shr esi, cl
sub edi, ecx
movzx ecx, byte [eax]
test ecx, ecx
mov edx, ecx
jne 0x4925c0
mov ebp, dword [esp + 8]
movzx eax, word [eax + 2]
add ebp, 1
mov byte [ebp - 1], al
mov ebx, dword [esp + 0x10]
cmp dword [esp], ebx
jae 0x492617
cmp ebp, dword [esp + 0x14]
jb 0x49255b
mov eax, edi
mov edx, dword [esp]
and edi, 7
mov ecx, edi
mov edi, dword [esp + 0x94]
shr eax, 3
sub edx, eax
mov eax, 1
mov dword [edi], edx
mov dword [edi + 0xc], ebp
shl eax, cl
mov edi, dword [esp + 0x10]
sub eax, 1
and eax, esi
mov esi, edi
sub esi, edx
add esi, 5
cmp edi, edx
mov edi, dword [esp + 0x94]
mov ebx, esi
cmova ebx, esi
mov dword [edi + 4], ebx
mov edi, dword [esp + 0x14]
mov ebx, edi
sub ebx, ebp
add ebx, 0x101
cmp ebp, edi
mov edi, dword [esp + 0x94]
mov edx, ebx
cmovb edx, ebx
mov dword [edi + 0x10], edx
mov edi, dword [esp + 0xc]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
sub esp, 0xffffff80
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [esp + 8]
movzx eax, word [eax + 2]
and edx, 0xf
mov dword [esp + 8], eax
je 0x4926d8
movzx eax, dl
cmp eax, edi
mov ebx, eax
jbe 0x4926c2
mov eax, dword [esp]
mov ecx, edi
add edi, 8
movzx eax, byte [eax]
shl eax, cl
add esi, eax
mov eax, dword [esp]
add eax, 1
mov dword [esp], eax
mov ecx, edx
mov eax, 1
sub edi, ebx
shl eax, cl
sub eax, 1
and eax, esi
add dword [esp + 8], eax
shr esi, cl
cmp edi, 0xe
jbe 0x492950
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
and eax, esi
lea edx, [ecx + eax*4]
movzx ecx, byte [edx + 1]
shr esi, cl
sub edi, ecx
movzx ecx, byte [edx]
mov eax, ecx
test al, 0x10
jne 0x49273e
test al, 0x40
jne 0x492993
mov ebx, dword [esp + 0x24]
jmp 0x492718
test al, 0x40
jne 0x492993
movzx edx, word [edx + 2]
mov eax, 1
shl eax, cl
sub eax, 1
and eax, esi
add eax, edx
lea edx, [ebx + eax*4]
movzx ecx, byte [edx + 1]
shr esi, cl
sub edi, ecx
movzx ecx, byte [edx]
mov eax, ecx
test al, 0x10
je 0x492710
movzx ecx, word [edx + 2]
and eax, 0xf
mov dword [esp + 0x2c], ecx
movzx ecx, al
cmp ecx, edi
mov ebx, ecx
mov dword [esp + 0x60], ecx
jbe 0x492773
mov edx, dword [esp]
mov ecx, edi
movzx edx, byte [edx]
shl edx, cl
lea ecx, [edi + 8]
add esi, edx
cmp ebx, ecx
ja 0x492a17
add dword [esp], 1
mov edi, ecx
mov ecx, eax
mov edx, 1
sub edi, dword [esp + 0x60]
shl edx, cl
mov ecx, dword [esp + 0x2c]
sub edx, 1
and edx, esi
add ecx, edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], ecx
mov edx, ecx
mov ecx, eax
mov eax, ebp
sub eax, dword [esp + 0x34]
shr esi, cl
mov ecx, edx
cmp edx, eax
mov dword [esp + 0x6c], eax
jbe 0x4929b1
sub ecx, eax
cmp dword [esp + 0x38], ecx
mov dword [esp + 0x60], ecx
jae 0x4927cb
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x1bc4]
test edx, edx
jne 0x492d92
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x492a30
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 8]
mov eax, edx
sub eax, ecx
add eax, dword [esp + 0x1c]
cmp ebx, ecx
jbe 0x4928d6
sub ebx, ecx
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x1c]
add edx, ecx
add ebx, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x70], ebx
lea edx, [edx + ecx + 4]
add edx, dword [esp + 0x1c]
cmp ebp, edx
lea edx, [ebp + 4]
setae cl
cmp ebx, edx
mov ebx, dword [esp + 0x60]
setae dl
or edx, ecx
cmp ebx, 9
seta cl
test dl, cl
je 0x492d05
mov ecx, dword [esp + 0x6c]
add ecx, dword [esp + 0x28]
mov edx, ecx
sub edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x68]
add edx, dword [esp + 0x1c]
or edx, ebp
and edx, 3
jne 0x492d05
lea edx, [ebx - 4]
mov dword [esp + 0x68], eax
shr edx, 2
lea ebx, [edx + 1]
xor edx, edx
mov dword [esp + 0x2c], ebx
lea ecx, [ebx*4]
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x70]
mov eax, dword [eax + edx*4]
mov dword [ebp + edx*4], eax
add edx, 1
cmp edx, dword [esp + 0x2c]
jb 0x49287d
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x68]
lea edx, [ebp + ecx]
mov ebx, dword [esp + 0x60]
add eax, ecx
sub ebx, ecx
cmp dword [esp + 0x60], ecx
mov dword [esp + 0x2c], ebx
je 0x4928cc
movzx ecx, byte [eax]
cmp ebx, 1
mov byte [edx], cl
je 0x4928cc
movzx ecx, byte [eax + 1]
cmp ebx, 2
mov byte [edx + 1], cl
je 0x4928cc
movzx eax, byte [eax + 2]
mov byte [edx + 2], al
add ebp, dword [esp + 0x60]
mov eax, ebp
sub eax, dword [esp + 0x64]
mov ebx, dword [esp + 8]
cmp ebx, 2
jbe 0x492906
nop
movzx edx, byte [eax]
add eax, 3
sub ebx, 3
add ebp, 3
mov byte [ebp - 3], dl
movzx edx, byte [eax - 2]
mov byte [ebp - 2], dl
movzx edx, byte [eax - 1]
cmp ebx, 2
mov byte [ebp - 1], dl
ja 0x4928e0
mov dword [esp + 8], ebx
test ebx, ebx
je 0x492604
movzx edx, byte [eax]
cmp ebx, 2
mov byte [ebp], dl
jne 0x492cf2
movzx eax, byte [eax + 1]
add ebp, 2
mov byte [ebp - 1], al
jmp 0x492604
mov ebp, dword [esp + 8]
and edx, 0x20
je 0x492975
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 0x3f3f
jmp 0x492617
mov ebx, dword [esp]
lea ecx, [edi + 8]
movzx eax, byte [ebx + 1]
movzx edx, byte [ebx]
shl eax, cl
mov ecx, edi
add edi, 0x10
shl edx, cl
add eax, edx
add esi, eax
lea eax, [ebx + 2]
mov dword [esp], eax
jmp 0x4926e1
mov eax, dword [esp + 0x94]
mov dword [eax + 0x18], str.invalid_literal_length_code
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 0x3f51
jmp 0x492617
mov eax, dword [esp + 0x94]
mov dword [eax + 0x18], str.invalid_distance_code
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 0x3f51
jmp 0x492617
mov eax, ebp
mov dword [esp + 0x2c], ebp
sub eax, dword [esp + 0x64]
mov ebx, dword [esp + 8]
jmp 0x4929c7
mov eax, edx
mov dword [esp + 0x2c], ebp
movzx edx, byte [eax]
sub ebx, 3
add ebp, 3
mov byte [ebp - 3], dl
movzx edx, byte [eax + 1]
mov byte [ebp - 2], dl
lea edx, [eax + 3]
movzx ecx, byte [edx - 1]
cmp ebx, 2
mov byte [ebp - 1], cl
ja 0x4929c1
test ebx, ebx
mov ecx, dword [esp + 0x2c]
je 0x492604
movzx edx, byte [eax + 3]
cmp ebx, 2
lea ebp, [ecx + 4]
mov byte [ecx + 3], dl
jne 0x492604
movzx eax, byte [eax + 4]
lea ebp, [ecx + 5]
mov byte [ecx + 4], al
jmp 0x492604
mov ebx, dword [esp]
add edi, 0x10
movzx edx, byte [ebx + 1]
shl edx, cl
lea ecx, [ebx + 2]
add esi, edx
mov dword [esp], ecx
jmp 0x492773
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x60]
cmp edx, eax
jae 0x492c3c
mov ebx, dword [esp + 0x3c]
mov ecx, eax
sub ecx, edx
sub ebx, eax
mov eax, dword [esp + 0x1c]
add eax, ebx
mov ebx, dword [esp + 8]
cmp ebx, ecx
jbe 0x4928d6
mov edx, dword [esp + 0x6c]
sub edx, dword [esp + 0x2c]
sub ebx, ecx
sub edx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], edx
add edx, ebx
add ecx, edx
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x78]
add edx, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
cmp ebp, edx
lea edx, [ebp + 4]
setae cl
cmp dword [esp + 0x74], edx
setae dl
or edx, ecx
cmp dword [esp + 0x70], 9
seta cl
test dl, cl
je 0x492d45
mov edx, dword [esp + 0x6c]
add edx, ebx
sub edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x68]
add edx, dword [esp + 0x1c]
or edx, ebp
and edx, 3
jne 0x492d45
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x7c], eax
lea edx, [ecx - 4]
shr edx, 2
lea ebx, [edx + 1]
xor edx, edx
mov dword [esp + 0x78], ebx
lea ecx, [ebx*4]
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x74]
mov eax, dword [eax + edx*4]
mov dword [ebp + edx*4], eax
add edx, 1
cmp edx, dword [esp + 0x78]
jb 0x492af2
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x7c]
lea edx, [ebp + ecx]
mov ebx, dword [esp + 0x70]
add eax, ecx
sub ebx, ecx
cmp dword [esp + 0x70], ecx
mov dword [esp + 0x74], ebx
je 0x492b41
movzx ecx, byte [eax]
cmp ebx, 1
mov byte [edx], cl
je 0x492b41
movzx ecx, byte [eax + 1]
cmp ebx, 2
mov byte [edx + 1], cl
je 0x492b41
movzx eax, byte [eax + 2]
mov byte [edx + 2], al
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 8]
add ecx, ebp
cmp edx, ebx
jae 0x492cfa
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x6c]
sub ebx, edx
add eax, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov ebx, eax
add eax, dword [esp + 0x5c]
sub ebx, edx
lea ebx, [ebp + ebx]
add eax, ebp
cmp dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], ebx
setae dl
add eax, 4
cmp ebx, eax
mov ebx, dword [esp + 0x20]
setae al
or eax, edx
cmp ebx, 9
seta dl
test al, dl
je 0x492d64
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x2c]
add edx, ebx
sub eax, edx
add eax, dword [esp + 0x68]
mov edx, dword [esp + 0x1c]
add eax, ebp
or eax, edx
test al, 3
jne 0x492d64
cmp dword [esp + 0x48], 2
jbe 0x492db0
mov ebx, dword [esp + 8]
mov dword [esp + 8], edx
xor eax, eax
mov edx, dword [esp + 0x70]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + eax*4]
mov dword [edx + eax*4], ecx
add eax, 1
cmp eax, dword [esp + 0x50]
jb 0x492bdf
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], ebx
add ecx, eax
cmp dword [esp + 0x20], eax
je 0x4928cc
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
movzx edx, byte [eax]
cmp ebx, 1
mov byte [ecx], dl
je 0x4928cc
movzx edx, byte [eax + 1]
cmp ebx, 2
mov byte [ecx + 1], dl
je 0x4928cc
movzx eax, byte [eax + 2]
mov byte [ecx + 2], al
jmp 0x4928cc
mov ecx, eax
mov ebx, edx
mov eax, edx
mov edx, dword [esp + 8]
sub eax, ecx
add eax, dword [esp + 0x1c]
cmp edx, ecx
jbe 0x4928d6
sub edx, ecx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x6c]
sub edx, dword [esp + 0x2c]
mov ecx, edx
sub ecx, dword [esp + 0x68]
lea edx, [ebx + ecx]
mov ebx, dword [esp + 0x1c]
add ebx, edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x70], ebx
add edx, ecx
add edx, dword [esp + 0x1c]
cmp ebp, edx
lea edx, [ebp + 4]
setae cl
cmp ebx, edx
mov ebx, dword [esp + 0x60]
setae dl
or edx, ecx
cmp ebx, 9
seta cl
test dl, cl
je 0x492d25
mov edx, dword [esp + 0x6c]
add edx, dword [esp + 0x20]
sub edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x68]
add edx, dword [esp + 0x1c]
or edx, ebp
and edx, 3
jne 0x492d25
lea edx, [ebx - 4]
mov dword [esp + 0x68], eax
shr edx, 2
lea ebx, [edx + 1]
xor edx, edx
mov dword [esp + 0x2c], ebx
lea ecx, [ebx*4]
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x70]
mov eax, dword [eax + edx*4]
mov dword [ebp + edx*4], eax
add edx, 1
cmp edx, dword [esp + 0x2c]
jb 0x492cd9
jmp 0x492891
add ebp, 1
jmp 0x492604
mov eax, dword [esp + 0x1c]
mov ebp, ecx
jmp 0x4928d6
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x28]
mov edx, ebp
add eax, 1
movzx ebx, byte [eax - 1]
add edx, 1
cmp ecx, eax
mov byte [edx - 1], bl
jne 0x492d0f
jmp 0x4928cc
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x20]
mov edx, ebp
add eax, 1
movzx ebx, byte [eax - 1]
add edx, 1
cmp eax, ecx
mov byte [edx - 1], bl
jne 0x492d2f
jmp 0x4928cc
mov ebx, dword [esp + 0x70]
mov edx, ebp
lea ecx, [eax + ebx]
add eax, 1
movzx ebx, byte [eax - 1]
add edx, 1
cmp ecx, eax
mov byte [edx - 1], bl
jne 0x492d4e
jmp 0x492b41
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 8]
add edx, eax
mov dword [esp + 8], edx
add eax, 1
add ecx, 1
movzx edx, byte [eax - 1]
cmp dword [esp + 8], eax
mov byte [ecx - 1], dl
jne 0x492d76
mov dword [esp + 8], ebx
jmp 0x4928cc
mov eax, dword [esp + 0x94]
mov dword [eax + 0x18], 0x4e0500
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 0x3f51
jmp 0x492617
mov eax, edx
jmp 0x492c12