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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x10], esi
push edi
cmp eax, 0x12
je 0x1d9bfcb
cmp eax, 0x18
je 0x1d9bd6d
cmp eax, 0x24
jne 0x1d9bfc2
xor edx, edx
mov dword [ebp - 0x6c], edx
cmp dword [ebp + 0x14], edx
jle 0x1d9bfc2
mov ebx, dword [ebp + 8]
mov eax, edx
sar eax, 0x10
lea edx, [esi + eax*4]
mov edi, dword [edx + 0x88]
mov eax, dword [edx + 0x44]
add eax, dword [edx + 0x48]
mov dword [ebp - 0x20], eax
movsx eax, word [ebx + 0x22]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x40]
add eax, dword [edx + 0x4c]
mov dword [ebp - 0x18], eax
movsx eax, word [ebx + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x50]
mov dword [ebp - 0xc], eax
movsx eax, word [ebx + 0x1e]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 0x38]
add eax, dword [edx + 0x54]
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x34]
add eax, dword [edx + 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [edx + 0x30]
add eax, dword [edx + 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [edx + 0x2c]
add eax, dword [edx + 0x60]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 0x28]
add eax, dword [edx + 0x64]
mov dword [ebp - 0x5c], eax
mov eax, dword [edx + 0x24]
add eax, dword [edx + 0x68]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x20]
add eax, dword [edx + 0x6c]
mov dword [ebp - 0x54], eax
mov eax, dword [edx + 0x1c]
add eax, dword [edx + 0x70]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0x18]
add eax, dword [edx + 0x74]
mov dword [ebp - 0x4c], eax
mov eax, dword [edx + 0x14]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x44], eax
movsx eax, word [ebx + 0xa]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 0x10]
add eax, dword [edx + 0x7c]
add edi, dword [edx + 4]
mov ecx, dword [edx + 0x8c]
mov dword [ebp - 0x3c], eax
movsx eax, word [ebx + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [edx + 0xc]
add eax, dword [edx + 0x80]
mov dword [ebp - 0x34], eax
movsx eax, word [ebx + 6]
movsx ebx, word [ebx + 4]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 8]
add eax, dword [edx + 0x84]
movsx esi, word [ebx + 2]
mov edx, dword [edx]
mov dword [ebp - 0x28], esi
add edx, ecx
mov esi, dword [ebp + 8]
movsx ecx, word [ebx]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
movzx ebx, ax
movsx eax, word [esi + 0x1c]
imul ebx, eax
mov dword [ebp + 0xc], ebx
sar dword [ebp + 0xc], 0x10
mov eax, dword [ebp - 0xc]
movzx eax, ax
imul eax, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
sar eax, 0x10
add ebx, eax
mov eax, dword [ebp - 0x18]
movzx eax, ax
imul eax, dword [ebp - 0x1c]
sar eax, 0x10
add ebx, eax
mov eax, dword [ebp - 0x20]
movzx eax, ax
imul eax, dword [ebp - 0x24]
sar eax, 0x10
add ebx, eax
movzx eax, dx
imul eax, ecx
sar eax, 0x10
add ebx, eax
movzx eax, di
imul eax, dword [ebp - 0x28]
sar eax, 0x10
add ebx, eax
mov eax, dword [ebp - 0x2c]
movzx eax, ax
imul eax, dword [ebp - 0x30]
mov dword [ebp + 0xc], ebx
sar eax, 0x10
add ebx, eax
mov eax, dword [ebp - 0x34]
movzx eax, ax
imul eax, dword [ebp - 0x38]
sar eax, 0x10
add ebx, eax
mov eax, dword [ebp - 0x3c]
movzx eax, ax
imul eax, dword [ebp - 0x40]
sar eax, 0x10
add ebx, eax
mov eax, dword [ebp - 0x44]
movzx eax, ax
imul eax, dword [ebp - 0x48]
sar eax, 0x10
add ebx, eax
mov eax, dword [ebp - 0x4c]
movzx eax, ax
mov dword [ebp + 0xc], ebx
movsx ebx, word [esi + 0xc]
imul eax, ebx
movsx ebx, word [esi + 0xe]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x50]
movzx eax, ax
imul eax, ebx
movsx ebx, word [esi + 0x10]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x54]
movzx eax, ax
imul eax, ebx
movsx ebx, word [esi + 0x12]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x58]
movzx eax, ax
imul eax, ebx
movsx ebx, word [esi + 0x14]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x5c]
movzx eax, ax
imul eax, ebx
movsx ebx, word [esi + 0x16]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x60]
movzx eax, ax
imul eax, ebx
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x64]
movsx ebx, word [esi + 0x18]
movzx eax, ax
imul eax, ebx
movsx ebx, word [esi + 0x1a]
sar dword [ebp - 4], 0x10
sar edx, 0x10
imul edx, ecx
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x68]
movzx eax, ax
imul eax, ebx
mov ebx, dword [ebp - 4]
sar edi, 0x10
imul edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x4c]
sar eax, 0x10
add dword [ebp + 0xc], eax
movsx eax, word [esi + 0x1c]
imul ebx, eax
mov eax, dword [ebp - 0xc]
sar eax, 0x10
imul eax, dword [ebp - 0x14]
sar ecx, 0x10
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
add ebx, dword [ebp - 4]
add ebx, eax
mov eax, dword [ebp - 0x18]
sar eax, 0x10
imul eax, dword [ebp - 0x1c]
add ebx, eax
mov eax, dword [ebp - 0x20]
sar eax, 0x10
imul eax, dword [ebp - 0x24]
add ebx, eax
mov eax, dword [ebp - 0x2c]
sar eax, 0x10
add ebx, edx
imul eax, dword [ebp - 0x30]
mov edx, ebx
add edx, edi
mov dword [ebp + 0xc], ebx
mov ebx, esi
add edx, eax
mov eax, dword [ebp - 0x34]
sar eax, 0x10
imul eax, dword [ebp - 0x38]
add edx, eax
mov eax, dword [ebp - 0x3c]
sar eax, 0x10
imul eax, dword [ebp - 0x40]
add edx, eax
mov eax, dword [ebp - 0x44]
sar eax, 0x10
imul eax, dword [ebp - 0x48]
add edx, eax
movsx eax, word [ebx + 0xc]
imul ecx, eax
movsx eax, word [ebx + 0xe]
add edx, ecx
mov ecx, dword [ebp - 0x50]
sar ecx, 0x10
imul ecx, eax
movsx eax, word [ebx + 0x10]
add edx, ecx
mov ecx, dword [ebp - 0x54]
sar ecx, 0x10
imul ecx, eax
movsx eax, word [ebx + 0x12]
add edx, ecx
mov ecx, dword [ebp - 0x58]
sar ecx, 0x10
imul ecx, eax
movsx eax, word [ebx + 0x14]
add edx, ecx
mov ecx, dword [ebp - 0x5c]
sar ecx, 0x10
imul ecx, eax
movsx eax, word [ebx + 0x16]
add edx, ecx
mov ecx, dword [ebp - 0x60]
sar ecx, 0x10
imul ecx, eax
movsx eax, word [ebx + 0x18]
add edx, ecx
mov ecx, dword [ebp - 0x64]
sar ecx, 0x10
imul ecx, eax
movsx eax, word [ebx + 0x1a]
add edx, ecx
mov ecx, dword [ebp - 0x68]
sar ecx, 0x10
imul ecx, eax
add edx, ecx
sar edx, 5
inc edx
sar edx, 1
cmp edx, 0x7fff
jle 0x1d9bd37
mov edx, 0x7fff
jmp 0x1d9bd45
cmp edx, 0xffff8000
mov eax, 0xffff8000
cmovl edx, eax
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov word [eax], dx
add eax, 2
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x6c], edx
cmp edx, dword [ebp + 0x14]
jl 0x1d9ba00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x14], eax
jle 0x1d9bfc2
nop dword [eax + eax]
sar eax, 0x10
lea edx, [esi + eax*4]
mov esi, dword [ebp + 8]
mov edi, dword [edx + 0x48]
mov eax, dword [edx + 0x2c]
add eax, dword [edx + 0x30]
mov dword [ebp - 0x4c], eax
movsx eax, word [esi + 0x16]
mov dword [ebp - 0x48], eax
mov eax, dword [edx + 0x28]
add eax, dword [edx + 0x34]
mov dword [ebp - 0x54], eax
movsx eax, word [esi + 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [edx + 0x24]
add eax, dword [edx + 0x38]
mov dword [ebp - 0x5c], eax
movsx eax, word [esi + 0x12]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x20]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x64], eax
movsx eax, word [esi + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 0x1c]
add eax, dword [edx + 0x40]
mov dword [ebp - 0x6c], eax
movsx eax, word [esi + 0xe]
mov dword [ebp - 0x68], eax
mov eax, dword [edx + 0x18]
add eax, dword [edx + 0x44]
mov dword [ebp + 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [edx + 0x4c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
add edi, dword [edx + 0x14]
movsx ebx, word [esi + 0xc]
mov ecx, dword [ebp + 0xc]
movsx eax, word [eax + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0xc]
add eax, dword [edx + 0x50]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
movsx esi, word [esi + 0xa]
movzx ecx, cx
imul ecx, ebx
movsx eax, word [eax + 6]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 8]
add eax, dword [edx + 0x54]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
sar ecx, 0x10
movsx eax, word [eax + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
add eax, dword [edx + 0x58]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
movsx eax, word [eax + 2]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx]
add eax, dword [edx + 0x5c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 8]
movsx edx, word [eax]
movzx eax, di
imul eax, esi
sar eax, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x6c]
movzx ecx, cx
imul ecx, dword [ebp - 0x68]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x64]
movzx ecx, cx
imul ecx, dword [ebp - 0x60]
sar ecx, 0x10
add eax, ecx
sar edi, 0x10
mov ecx, dword [ebp - 0x5c]
movzx ecx, cx
imul ecx, dword [ebp - 0x58]
imul edi, esi
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x54]
movzx ecx, cx
imul ecx, dword [ebp - 0x50]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x4c]
movzx ecx, cx
imul ecx, dword [ebp - 0x48]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x44]
movzx ecx, cx
imul ecx, edx
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x40]
movzx ecx, cx
imul ecx, dword [ebp - 0x3c]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x38]
movzx ecx, cx
imul ecx, dword [ebp - 0x34]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x30]
movzx ecx, cx
imul ecx, dword [ebp - 0x2c]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp - 0x28]
movzx ecx, cx
imul ecx, dword [ebp - 0x24]
sar ecx, 0x10
add eax, ecx
mov ecx, dword [ebp + 0xc]
sar ecx, 0x10
add eax, edi
imul ecx, ebx
add eax, ecx
mov ecx, dword [ebp - 0x6c]
sar ecx, 0x10
imul ecx, dword [ebp - 0x68]
add eax, ecx
mov ecx, dword [ebp - 0x64]
sar ecx, 0x10
imul ecx, dword [ebp - 0x60]
add eax, ecx
mov ecx, dword [ebp - 0x5c]
sar ecx, 0x10
imul ecx, dword [ebp - 0x58]
add eax, ecx
mov ecx, dword [ebp - 0x54]
sar ecx, 0x10
imul ecx, dword [ebp - 0x50]
add eax, ecx
mov ecx, dword [ebp - 0x4c]
sar ecx, 0x10
imul ecx, dword [ebp - 0x48]
add eax, ecx
mov ecx, dword [ebp - 0x44]
sar ecx, 0x10
imul ecx, edx
add eax, ecx
mov ecx, dword [ebp - 0x40]
sar ecx, 0x10
imul ecx, dword [ebp - 0x3c]
add eax, ecx
mov ecx, dword [ebp - 0x38]
sar ecx, 0x10
imul ecx, dword [ebp - 0x34]
add eax, ecx
mov ecx, dword [ebp - 0x30]
sar ecx, 0x10
imul ecx, dword [ebp - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x28]
sar ecx, 0x10
imul ecx, dword [ebp - 0x24]
add eax, ecx
sar eax, 5
inc eax
sar eax, 1
cmp eax, 0x7fff
jle 0x1d9bf94
mov eax, 0x7fff
jmp 0x1d9bfa1
cmp eax, 0xffff8000
mov ecx, 0xffff8000
cmovl eax, ecx
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
mov word [ecx], ax
add ecx, 2
mov eax, dword [ebp - 0x20]
add eax, dword [ebp + 0x18]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x20], eax
cmp eax, dword [ebp + 0x14]
jl 0x1d9bd80
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [ebp - 0x54], ebx
cmp dword [ebp + 0x14], ebx
jle 0x1d9bfc2
mov eax, dword [ebp + 0x10]
movsx ecx, ax
mov dword [ebp - 0x48], ecx
nop
mov eax, ebx
sar eax, 0x10
lea edx, [esi + eax*4]
mov esi, dword [ebp + 8]
mov edi, dword [edx + 4]
movzx eax, bx
imul eax, ecx
mov dword [ebp - 0xc], edx
mov edx, dword [edx]
sar eax, 0x10
mov dword [ebp - 0x4c], eax
lea eax, [eax + eax*8]
movsx ecx, word [esi + eax*2 + 0x10]
movsx ebx, word [esi + eax*2 + 4]
mov dword [ebp - 0x58], ecx
movsx ecx, word [esi + eax*2 + 0xe]
mov dword [ebp - 0x5c], ecx
movsx ecx, word [esi + eax*2 + 0xc]
mov dword [ebp - 0x60], ecx
movsx ecx, word [esi + eax*2 + 0xa]
mov dword [ebp - 0x64], ecx
movsx ecx, word [esi + eax*2 + 8]
mov dword [ebp - 0x68], ecx
movsx ecx, word [esi + eax*2 + 6]
movsx esi, word [esi + eax*2 + 2]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], esi
movsx ecx, word [ecx + eax*2]
movzx eax, dx
imul eax, ecx
sar edx, 0x10
imul edx, ecx
sar eax, 0x10
mov dword [ebp + 0xc], eax
movzx eax, di
imul eax, esi
mov esi, dword [ebp - 0xc]
sar edi, 0x10
imul edi, dword [ebp - 0x50]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [esi + 8]
movzx eax, ax
imul eax, ebx
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [esi + 0xc]
movzx eax, ax
imul eax, dword [ebp - 0x6c]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [esi + 0x10]
movzx eax, ax
imul eax, dword [ebp - 0x68]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [esi + 0x14]
movzx eax, ax
imul eax, dword [ebp - 0x64]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [esi + 0x18]
movzx eax, ax
imul eax, dword [ebp - 0x60]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [esi + 0x1c]
movzx eax, ax
imul eax, dword [ebp - 0x5c]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov eax, dword [esi + 0x20]
movzx eax, ax
imul eax, dword [ebp - 0x58]
sar eax, 0x10
add dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
add ecx, edx
mov edx, esi
add ecx, edi
mov eax, dword [edx + 8]
sar eax, 0x10
imul eax, ebx
mov esi, dword [ebp + 8]
mov edi, dword [edx + 0x24]
add ecx, eax
mov eax, dword [edx + 0xc]
sar eax, 0x10
imul eax, dword [ebp - 0x6c]
add ecx, eax
mov eax, dword [edx + 0x10]
sar eax, 0x10
imul eax, dword [ebp - 0x68]
add ecx, eax
mov eax, dword [edx + 0x14]
sar eax, 0x10
imul eax, dword [ebp - 0x64]
add ecx, eax
mov eax, dword [edx + 0x18]
sar eax, 0x10
imul eax, dword [ebp - 0x60]
add ecx, eax
mov eax, dword [edx + 0x1c]
sar eax, 0x10
imul eax, dword [ebp - 0x5c]
add ecx, eax
mov eax, dword [edx + 0x20]
sar eax, 0x10
imul eax, dword [ebp - 0x58]
mov edx, dword [edx + 0x44]
add ecx, eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp + 0xc], ecx
lea eax, [eax + eax*8]
movsx ecx, word [esi + eax*2 + 4]
movsx ebx, word [esi + eax*2 + 0xe]
mov dword [ebp - 0x58], ecx
movsx ecx, word [esi + eax*2 + 2]
mov dword [ebp - 0x5c], ecx
movsx ecx, word [esi + eax*2 + 6]
mov dword [ebp - 0x60], ecx
movsx ecx, word [esi + eax*2 + 8]
mov dword [ebp - 0x64], ecx
movsx ecx, word [esi + eax*2 + 0xa]
mov dword [ebp - 0x68], ecx
movsx ecx, word [esi + eax*2 + 0xc]
movsx esi, word [esi + eax*2 + 0x10]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], esi
movsx ecx, word [ecx + eax*2]
movzx eax, dx
imul eax, ecx
sar eax, 0x10
mov dword [ebp - 4], eax
movzx eax, di
imul eax, esi
mov esi, dword [ebp - 0xc]
sar eax, 0x10
add dword [ebp - 4], eax
mov eax, dword [esi + 0x28]
movzx eax, ax
imul eax, ebx
sar eax, 0x10
add dword [ebp - 4], eax
mov eax, dword [esi + 0x2c]
movzx eax, ax
imul eax, dword [ebp - 0x6c]
sar eax, 0x10
add dword [ebp - 4], eax
mov eax, dword [esi + 0x30]
movzx eax, ax
imul eax, dword [ebp - 0x68]
sar eax, 0x10
add dword [ebp - 4], eax
mov eax, dword [esi + 0x34]
movzx eax, ax
imul eax, dword [ebp - 0x64]
sar eax, 0x10
add dword [ebp - 4], eax
mov eax, dword [esi + 0x38]
movzx eax, ax
imul eax, dword [ebp - 0x60]
sar edx, 0x10
imul edx, ecx
sar edi, 0x10
imul edi, dword [ebp - 0x50]
sar eax, 0x10
add dword [ebp - 4], eax
mov eax, dword [esi + 0x40]
movzx eax, ax
imul eax, dword [ebp - 0x5c]
sar eax, 0x10
add dword [ebp - 4], eax
mov eax, dword [esi + 0x3c]
movzx eax, ax
imul eax, dword [ebp - 0x58]
sar eax, 0x10
add dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, edx
mov edx, esi
add ecx, edi
mov eax, dword [edx + 0x28]
sar eax, 0x10
imul eax, ebx
add ecx, eax
mov eax, dword [edx + 0x2c]
sar eax, 0x10
imul eax, dword [ebp - 0x6c]
add ecx, eax
mov eax, dword [edx + 0x30]
sar eax, 0x10
imul eax, dword [ebp - 0x68]
add ecx, eax
mov eax, dword [edx + 0x34]
sar eax, 0x10
imul eax, dword [ebp - 0x64]
add ecx, eax
mov eax, dword [edx + 0x38]
sar eax, 0x10
imul eax, dword [ebp - 0x60]
add ecx, eax
mov eax, dword [edx + 0x40]
sar eax, 0x10
imul eax, dword [ebp - 0x5c]
add ecx, eax
mov eax, dword [edx + 0x3c]
sar eax, 0x10
imul eax, dword [ebp - 0x58]
add eax, dword [ebp + 0xc]
add ecx, eax
sar ecx, 5
inc ecx
sar ecx, 1
cmp ecx, 0x7fff
jle 0x1d9c29e
mov ecx, 0x7fff
jmp 0x1d9c2ac
cmp ecx, 0xffff8000
mov eax, 0xffff8000
cmovl ecx, eax
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x54]
add ebx, dword [ebp + 0x18]
mov esi, dword [ebp - 0x10]
mov word [eax], cx
add eax, 2
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov dword [ebp - 0x54], ebx
cmp ebx, dword [ebp + 0x14]
jl 0x1d9bfe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret