Function at 0x100052e0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
lea ecx, [eax + 0x163f]
push esi
push edi
mov ebx, eax
mov dword [esp + 0x40], ecx
cmp eax, ecx
ja 0x1000581e
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
jmp 0x10005310
fldz
cmp ebx, 0x52c3
ja 0x10005533
fstp st(0)
je 0x10005529
cmp ebx, 0xda9
ja 0x10005419
je 0x10005403
cmp ebx, 0xce0
ja 0x100053c6
je 0x100053ae
mov eax, ebx
sub eax, 0xc5a
je 0x1000537a
sub eax, 0x43
jne 0x10005811
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0xfff1
push ecx
push edx
call fcn.1002f3a0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x10005811
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jg 0x10005811
jl 0x10005392
cmp dword [eax], 0
jae 0x10005811
mov eax, 0x2f9f
cmp eax, eax
je 0x10005829
add eax, 0x63
cmp eax, 0x2f9f
jbe 0x10005399
jmp 0x10005811
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
movzx esi, word [edx]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], esi
jmp 0x10005811
mov eax, ebx
sub eax, 0xd23
je 0x100053f3
sub eax, 0x43
jne 0x10005811
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
mov dword [esp + 0x14], edi
jmp 0x10005811
mov edi, dword [esp + 0x20]
imul edi, esi
mov dword [esp + 0x14], edi
jmp 0x10005811
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
lea esi, [esi + ecx + 0xfff0]
mov dword [esp + 0x18], esi
jmp 0x10005811
cmp ebx, 0xe72
ja 0x100054a9
je 0x1000548e
mov eax, ebx
sub eax, 0xdec
je 0x1000546a
sub eax, 0x43
jne 0x10005811
cmp esi, 0xfff1
jb 0x10005811
sub esi, 0xfff1
mov dword [esp + 0x18], esi
cmp esi, 0xfff1
jb 0x10005811
sub esi, 0xfff1
mov dword [esp + 0x18], esi
jmp 0x10005811
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 2]
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + 2]
add eax, edx
sub eax, dword [esp + 0x20]
lea edi, [edi + eax + 0xfff1]
mov dword [esp + 0x14], edi
jmp 0x10005811
cmp edi, 0x1ffe2
jb 0x10005811
sub edi, 0x1ffe2
mov dword [esp + 0x14], edi
jmp 0x10005811
mov eax, ebx
sub eax, 0xeb5
je 0x10005506
sub eax, 0x43
jne 0x10005811
mov edx, dword [esp + 0x30]
mov ecx, 0x2b2f
mov eax, ecx
sub eax, 0x2b2f
je 0x100054db
sub eax, 0x5c
jne 0x100054e6
mov eax, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, edi
shl edx, 0x10
or edx, esi
mov dword [esp + 0x30], edx
add ecx, 0x5c
cmp ecx, 0x2b8b
jbe 0x100054c4
cmp dword [esp + 0x38], 0
jne 0x10005811
mov byte [esp + 0x13], 0
jmp 0x10005811
cmp edi, 0xfff1
jb 0x10005518
sub edi, 0xfff1
mov dword [esp + 0x14], edi
push 0
push 0x7f
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
jmp 0x10005811
mov byte [esp + 0x13], 1
jmp 0x10005811
cmp ebx, 0x5455
ja 0x10005613
je 0x100055f6
cmp ebx, 0x538c
ja 0x10005599
fstp st(0)
je 0x1000558a
mov eax, ebx
sub eax, 0x5306
je 0x10005577
sub eax, 0x43
jne 0x10005811
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x1c], eax
jmp 0x10005811
xor eax, eax
push eax
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
mov dword [esp + 0x24], eax
jmp 0x10005811
mov dword [0x10047d6c], 0
jmp 0x10005811
mov eax, ebx
sub eax, 0x53cf
je 0x100055b4
sub eax, 0x43
jne 0x1000580f
fstp dword [esp + 0x28]
jmp 0x10005811
cmp dword [esp + 0x1c], 0
fstp st(0)
je 0x10005811
mov esi, 0x3dea
cmp esi, esi
jne 0x100055e2
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esp + 0x1c], 0
add esi, 0x5f
cmp esi, 0x3dea
jbe 0x100055c8
mov esi, dword [esp + 0x18]
jmp 0x10005811
mov ecx, dword [esp + 0x1c]
fstp dword [esp + 0x34]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetMiterLimit]
mov dword [esp + 0x38], eax
jmp 0x10005811
fstp st(0)
cmp ebx, 0x551e
ja 0x100057cb
je 0x10005660
mov eax, ebx
sub eax, 0x5498
je 0x100054f1
sub eax, 0x43
jne 0x10005811
cmp byte [esp + 0x13], al
je 0x10005811
fld dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x34]
push edx
push ecx
fstp dword [esp]
push eax
call dword [sym.imp.GDI32.dll_SetMiterLimit]
jmp 0x10005811
cmp dword [0x10047d6c], 0
jbe 0x10005811
mov esi, 0x3b4e
cmp esi, 0x3c25
ja 0x1000572d
je 0x1000571e
lea eax, [esi - 0x3b4e]
cmp eax, 0xac
ja case.0x10005745.15441
movzx ecx, byte [eax + 0x1000584c]
jmp dword [ecx*4 + 0x10005834]
push 4
lea edx, [esp + 0x4e]
push 0x100419b8
push edx
call fcn.1002aca0
add esp, 0xc
jmp case.0x10005745.15441
push 4
lea eax, [esp + 0x51]
push 0x100419c8
push eax
call fcn.1002aca0
add esp, 0xc
jmp case.0x10005745.15441
mov cx, word [0x100419cc]
mov dl, byte [0x100419ce]
mov word [esp + 0x44], cx
mov byte [esp + 0x46], dl
jmp case.0x10005745.15441
mov byte [esp + 0x50], 0x62
jmp case.0x10005745.15441
lea eax, [esp + 0x44]
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10005700
mov ecx, dword [str.eate]
mov dl, byte [0x100419d4]
mov dword [eax], ecx
mov byte [eax + 4], dl
jmp case.0x10005745.15441
mov eax, 0x6a
mov word [esp + 0x51], ax
jmp case.0x10005745.15441
lea eax, [esi - 0x3c50]
cmp eax, 0xac
ja case.0x10005745.15441
movzx ecx, byte [eax + 0x10005914]
jmp dword [ecx*4 + 0x100058fc]
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10005751
mov dx, word [0x100419bc]
mov word [edi], dx
mov edi, dword [esp + 0x14]
jmp case.0x10005745.15441
mov eax, 0x63
lea edi, [esp + 0x44]
mov word [esp + 0x53], ax
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10005778
mov cx, word [0x100419c4]
mov word [edi], cx
mov edi, dword [esp + 0x14]
jmp case.0x10005745.15441
dec dword [0x10047d6c]
jmp case.0x10005745.15441
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.0x10005745.15441
lea eax, [esp + 0x44]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov dword [esp + 0x3c], eax
add esi, 0x2b
cmp esi, 0x3cfc
jbe 0x10005672
mov esi, dword [esp + 0x18]
jmp 0x10005811
mov eax, ebx
sub eax, 0x5f33
je 0x100057ee
sub eax, 0x43
jne 0x10005811
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.10021e70
add esp, 4
jmp 0x10005811
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], 0
test eax, eax
je 0x10005811
xor edx, edx
cmp dword [eax + 0x20], edx
setle dl
dec edx
and edx, 0xffffffc4
mov dword [esp + 0x2c], edx
jmp 0x10005811
fstp st(0)
add ebx, 0x43
cmp ebx, dword [esp + 0x40]
jbe 0x10005310
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret