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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov ebp, dword [0x47d974]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
test ebp, ebp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x3c], eax
je 0x4300e0
mov eax, dword [0x453040]
cmp eax, 0xffffffff
je 0x430172
cmp eax, 0xfffffffe
je 0x42fefa
test edi, edi
mov ecx, dword [0x47dd9c]
je 0x430240
mov edx, ecx
sub edx, dword [0x47dd98]
sub eax, ecx
cmp eax, 1
mov ebx, eax
sbb eax, eax
cmp edx, 0x3f
jbe 0x43026b
mov esi, dword [esp + 0x34]
add eax, 0x21
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0042d050
mov eax, dword [0x47dd9c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0042cbe0
test ebx, ebx
jne 0x430370
mov eax, dword [0x453040]
mov dword [0x47dd98], eax
mov eax, dword [esp + 0x38]
mov dword [0x47dd9c], eax
mov eax, dword [esp + 0x38]
test edi, edi
mov dword [0x453040], eax
jne 0x42ff1e
mov ebx, dword [0x47dcf0]
test ebx, ebx
je 0x43006f
cmp dword [esp + 0x38], 0xfffffffe
mov dword [0x47dd64], 0
mov dword [0x47dd70], 0
setne byte [esp + 0x24]
xor eax, eax
xor esi, esi
jmp 0x42fffb
test edi, edi
sete bl
mov ecx, dword [0x47dd70]
test ecx, ecx
jne 0x42ff74
mov eax, dword [0x47dd5c]
test esi, esi
mov dword [0x47dd70], 0x3fff
lea edx, [eax + 2]
mov dword [0x47dd6c], edx
jne 0x4300c0
test bl, bl
je 0x42ff85
cmp byte [esp + 0x24], 0
mov eax, 2
cmovne esi, eax
mov dword [esp + 4], esi
mov dword [esp], 0x47dd60
call fcn.00442d40
test eax, eax
jne 0x4303c4
test bl, bl
jne 0x4300a0
mov edx, dword [0x47dd70]
test edx, edx
jne 0x42fff6
test esi, esi
mov eax, 0x3fff
je 0x42ffbf
sub eax, 4
test eax, eax
jle 0x42ffe9
mov edx, dword [0x47dd5c]
mov ecx, eax
sar ecx, 8
add ecx, 0x40
mov byte [edx + 1], al
add eax, 2
mov byte [edx], cl
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0042bb30
test edi, edi
jne 0x42fff6
mov eax, dword [0x47dd70]
test eax, eax
jne 0x430060
mov eax, dword [0x47dd64]
test eax, eax
jne 0x42ff45
test edi, edi
mov ebx, 1
je 0x42ff4a
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp edi, 0x8000
mov ebp, 0x8000
cmovle ebp, edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp], eax
call fcn.00433da0
mov dword [0x47dd60], eax
mov eax, ebp
mov dword [0x47dd64], ebp
cdq
add dword [esp + 0x28], ebp
adc dword [esp + 0x2c], edx
sub edi, ebp
sete bl
jmp 0x42ff4a
xor eax, eax
cmp dword [esp + 0x38], 0xfffffffe
sete al
mov dword [0x47dcf0], eax
cmp dword [esp + 0x38], 0xffffffff
je 0x4303a8
cmp dword [esp + 0x38], 0xfffffffe
je 0x43008e
cmp dword [0x47d974], 1
je 0x43028a
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0x3fff
sub eax, dword [0x47dd70]
test esi, esi
je 0x42ffbb
jmp 0x42ffb8
mov edx, dword [eax + 0x3ffd]
mov dword [eax + 2], edx
add dword [0x47dd6c], 4
sub dword [0x47dd70], 4
jmp 0x42ff74
xor esi, esi
test edi, edi
mov ebp, 0x8000
jle 0x430149
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
mov dword [esp], edi
sub ebx, esi
cmp ebx, 0x8000
cmovg ebx, ebp
mov dword [esp + 4], ebx
call fcn.0042cbe0
mov eax, esi
mov dword [esp + 0xc], ebx
cdq
add eax, dword [esp + 0x28]
adc edx, dword [esp + 0x2c]
add esi, ebx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.00433da0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.0042bb30
cmp dword [esp + 0x24], esi
jg 0x4300f3
cmp dword [esp + 0x38], 0xfffffffe
je 0x43008e
mov eax, dword [esp + 0x38]
not eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x60], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0042cbe0
mov esi, dword [0x47dcf4]
test esi, esi
jne 0x430397
mov eax, dword [0x47ddac]
mov dword [esp + 0x1c], 0x38
mov dword [esp + 0x18], 0x45d7bc
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], 0xfffffff1
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov dword [esp], 0x47dd60
mov dword [0x47dd60], 0
mov dword [0x47dd80], 0
mov dword [0x47dd84], 0
call fcn.00444070
test eax, eax
jne 0x430404
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0x8030
call fcn.0041a790
test eax, eax
mov dword [0x47dd5c], eax
je 0x4303f8
mov dword [0x47dcf4], 1
mov eax, dword [esp + 0x38]
mov dword [0x47dd98], 0
mov dword [0x47dcf0], 0
mov dword [0x47dd9c], eax
jmp 0x42ff03
lea edx, [eax + 1]
cmp dword [esp + 0x38], edx
jne 0x42feaa
lea edx, [ecx + 0xffff]
cmp dword [esp + 0x38], edx
jg 0x42feaa
mov eax, dword [esp + 0x38]
mov dword [0x453040], eax
jmp 0x42ff10
and eax, 0xffffffc0
lea eax, [eax + edx - 0x40]
movzx eax, al
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.0042d050
jmp 0x42fee8
mov ebx, 0xffff
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x3c]
jmp 0x4302b0
test edx, edx
jne 0x43032e
test ebp, ebp
jle 0x43008e
mov eax, dword [esp + 0x30]
cmp ebp, 0xffff
mov edx, ebx
cmovle edx, ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], edx
sub ebp, edx
mov dword [esp + 0x24], edx
mov dword [esp], eax
call fcn.00433da0
cmp dword [0x452f10], 0x1e
mov edx, dword [esp + 0x24]
mov dword [0x47dd60], eax
mov dword [0x47dd64], edx
jle 0x4302f8
mov eax, edx
cdq
add esi, eax
adc edi, edx
mov eax, dword [0x47dd5c]
mov dword [esp + 4], 7
mov dword [esp], 0x47dd60
mov dword [0x47dd70], 0x8030
mov dword [0x47dd6c], eax
call fcn.00442d40
test eax, eax
mov edx, dword [0x47dd64]
je 0x4302a0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], str.deflate_on_token_returned__d___d_bytes_left__n
mov dword [esp], 3
call fcn.00420340
mov dword [esp + 8], 0x1a8
mov dword [esp + 4], str.token.c
mov dword [esp], 0xc
call fcn.00412fd0
lea esi, [esi]
lea edi, [edi]
mov esi, dword [esp + 0x34]
movzx eax, bl
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0042d050
movzx eax, bh
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0042d050
jmp 0x42fef0
mov dword [esp], 0x47dd60
call fcn.00442a00
jmp 0x43021e
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0042d050
mov dword [esp + 8], eax
mov dword [esp + 4], str.deflate_returned__d_n
mov dword [esp], 3
call fcn.00420340
mov dword [esp + 8], 0x17c
mov dword [esp + 4], str.token.c
mov dword [esp], 0xc
call fcn.00412fd0
mov dword [esp], str.send_deflated_token
call fcn.0041a8d0
mov dword [esp + 4], str.compression_init_failed_n
mov dword [esp], 3
call fcn.00420340
mov dword [esp + 8], 0x138
mov dword [esp + 4], str.token.c
mov dword [esp], 2
call fcn.00412fd0
lea esi, [esi]
lea edi, [edi]