Function at 0x1002c1c0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], ebx
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x4c]
test ebx, ebx
jne 0x1002b920
mov ebx, dword [esi + 0x3c]
mov edi, dword [esi + 0x40]
test edi, edi
je 0x1002b92d
neg edi
add edi, ebx
jmp 0x1002b932
mov edi, ebx
sub edi, dword [esi + 0x38]
lea edx, [edi + 4]
cmp edx, dword [esi + 0xbc]
jbe 0x1002b965
movsx ecx, byte [esi + 0x11c]
cmp ecx, 1
je 0x1002b96c
push 0x200
mov dword [ebp - 0x10], edx
push esi
call fcn.10024784
mov edx, dword [ebp - 0x10]
add esp, 8
test eax, eax
jne 0x1002caf7
movsx ecx, byte [esi + 0x11c]
add ecx, 0xffffffff
cmp ecx, 6
ja case.0x1002b97f.2
mov eax, dword [ecx*4 + 0x100bde28]
jmp eax
movsx edx, byte [esi + 0x11e]
cmp edx, 1
je 0x1002bca2
movzx eax, byte [esi + 0x12d]
test al, 0x10
jne 0x1002bca2
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1002b9fb
movzx eax, byte [eax + 0x1e]
test eax, eax
je 0x1002b9fb
mov eax, dword [esi + 0x100]
cmp eax, 1
je 0x1002bca2
mov eax, dword [0x100d9158]
test eax, eax
je 0x1002b9fb
movzx eax, byte [esi + 0x130]
test al, 0x20
jne 0x1002b9da
mov eax, dword [esi + 0x108]
jmp 0x1002b9e9
mov eax, dword [esi + 0x108]
cmp eax, 0xfffffffa
je 0x1002bca2
cmp eax, 1
je 0x1002bca2
cmp eax, 2
je 0x1002bca2
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1002cbd0
mov byte [eax + edi], 0xd
movsx edx, byte [esi + 0x11e]
add edi, 1
jmp 0x1002bca2
movsx edx, byte [esi + 0x11e]
cmp edx, 1
je 0x1002bca2
movzx eax, byte [esi + 0x12d]
test al, 0x10
jne 0x1002bca2
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1002ba93
movzx eax, byte [eax + 0x1e]
test eax, eax
je 0x1002ba93
mov eax, dword [esi + 0x100]
cmp eax, 1
je 0x1002bca2
mov eax, dword [0x100d9158]
test eax, eax
je 0x1002ba93
movzx eax, byte [esi + 0x130]
test al, 0x20
jne 0x1002ba72
mov eax, dword [esi + 0x108]
jmp 0x1002ba81
mov eax, dword [esi + 0x108]
cmp eax, 0xfffffffa
je 0x1002bca2
cmp eax, 1
je 0x1002bca2
cmp eax, 2
je 0x1002bca2
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1002cbe6
mov byte [eax + edi], 0xd
mov eax, dword [esi + 0x40]
mov byte [eax + edi + 1], 0xa
movsx edx, byte [esi + 0x11e]
add edi, 2
jmp 0x1002bca2
mov ecx, dword [esi + 0x40]
add edi, 0xfffffffc
mov dword [ebp - 0x20], edi
mov eax, edi
and eax, 0xff
test ecx, ecx
mov dword [ebp - 0x18], eax
je 0x1002cc04
movzx eax, byte [esi + 0x12d]
test al, 8
je 0x1002bb18
mov eax, edi
shr eax, 0x18
mov dword [ebp - 0x24], eax
mov byte [ecx], al
mov ebx, dword [esi + 0x40]
mov ecx, edi
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp - 0x1c], ecx
mov byte [ebx + 1], cl
mov ecx, dword [esi + 0x40]
shr edi, 8
mov eax, edi
and eax, 0xff
mov dword [ebp - 0x14], eax
mov byte [ecx + 2], al
mov edi, dword [esi + 0x40]
mov eax, dword [ebp - 0x18]
mov byte [edi + 3], al
jmp 0x1002bb48
movzx eax, byte [ebp - 0x20]
movzx ebx, byte [ebp - 0x1e]
mov dword [ebp - 0x18], eax
mov byte [ecx], al
mov edi, dword [esi + 0x40]
movzx ecx, byte [ebp - 0x1f]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov byte [edi + 1], cl
mov eax, dword [esi + 0x40]
mov byte [eax + 2], bl
movzx eax, byte [ebp - 0x1d]
mov ecx, dword [esi + 0x40]
mov byte [ecx + 3], al
mov dword [ebp - 0x24], eax
movzx eax, byte [esi + 0x12d]
test al, 8
je 0x1002bb78
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [esi + 0x3c]
mov byte [edi], al
mov ebx, dword [esi + 0x3c]
mov eax, dword [ebp - 0x14]
mov byte [ebx + 1], cl
mov ecx, dword [esi + 0x3c]
mov byte [ecx + 2], al
mov ecx, dword [esi + 0x3c]
mov eax, dword [ebp - 0x18]
mov byte [ecx + 3], al
jmp 0x1002bb9b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov edi, dword [esi + 0x3c]
mov byte [edi], al
mov ebx, dword [esi + 0x3c]
mov eax, dword [ebp - 0x1c]
mov byte [ebx + 1], cl
mov ecx, dword [esi + 0x3c]
mov byte [ecx + 2], al
mov ecx, dword [esi + 0x3c]
mov eax, dword [ebp - 0x24]
mov byte [ecx + 3], al
mov edi, edx
movsx edx, byte [esi + 0x11e]
jmp 0x1002bca2
mov edx, dword [esi + 0xc0]
cmp edi, edx
jae 0x1002bbc7
sub edx, edi
push edx
push 0x20
push ebx
call fcn.1007f474
add esp, 0xc
mov edi, dword [esi + 0xc0]
movzx edx, byte [esi + 0x128]
test dl, 4
je case.0x1002b97f.4
movzx edx, byte [esi + 0x12a]
test dl, 0x40
je case.0x1002b97f.4
movzx edx, byte [esi + 0x12b]
test dl, 4
je case.0x1002b97f.4
movsx edx, byte [esi + 0x11e]
cmp edx, 1
je 0x1002bca2
movzx ecx, byte [esi + 0x12d]
test cl, 0x10
jne 0x1002bca2
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x1002bc64
movzx ecx, byte [ecx + 0x1e]
test ecx, ecx
je 0x1002bc64
mov ecx, dword [esi + 0x100]
cmp ecx, 1
je 0x1002bca2
mov ecx, dword [0x100d9158]
test ecx, ecx
je 0x1002bc64
movzx ecx, byte [esi + 0x130]
test cl, 0x20
jne 0x1002bc4f
mov ecx, dword [esi + 0x108]
jmp 0x1002bc5a
mov ecx, dword [esi + 0x108]
cmp ecx, 0xfffffffa
je 0x1002bca2
cmp ecx, 1
je 0x1002bca2
cmp ecx, 2
je 0x1002bca2
mov edx, dword [esi + 0x40]
test edx, edx
je 0x1002cc7f
mov byte [edx + edi - 2], 0xd
mov edx, dword [esi + 0x40]
mov byte [edx + edi - 1], 0xa
movsx edx, byte [esi + 0x11e]
jmp 0x1002bca2
push 0x372
push str.for_put.c
push 2
push 8
call fcn.100149ac
add esp, 0x10
movsx edx, byte [esi + 0x11e]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1002bcae
mov dword [ebp - 0x10], eax
jmp 0x1002bcb4
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x10], ecx
cmp edx, 2
jne 0x1002bed0
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1002bd48
movzx edx, byte [eax + 0x1c]
test edx, edx
jne 0x1002bcd8
movzx edx, byte [eax + 0x1d]
test edx, edx
je 0x1002bd41
movzx edx, byte [eax + 0x20]
test edx, edx
je 0x1002bd1e
mov edx, dword [esi + 0x100]
cmp edx, 1
je 0x1002bd41
mov edx, dword [0x100d9158]
test edx, edx
je 0x1002bd1e
movzx edx, byte [esi + 0x130]
test dl, 0x20
jne 0x1002bd09
mov edx, dword [esi + 0x108]
jmp 0x1002bd14
mov edx, dword [esi + 0x108]
cmp edx, 0xfffffffa
je 0x1002bd41
cmp edx, 1
je 0x1002bd41
cmp edx, 2
je 0x1002bd41
mov byte [ebp - 0x24], 0xa
lea edx, [ebp - 0x24]
mov eax, esi
mov ecx, 1
call fcn.1002ccfc
cmp eax, 0xffffffff
je 0x1002cc9b
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1002bd48
mov byte [eax + 0x1c], 0
mov eax, dword [esi + 0x7c]
movzx edx, byte [esi + 0x128]
test dl, 4
je 0x1002bd70
movzx edx, byte [esi + 0x12a]
test dl, 0x40
je 0x1002bd70
movzx edx, byte [esi + 0x12b]
test dl, 4
jne 0x1002be11
movsx edx, byte [esi + 0x11c]
cmp edx, 6
je 0x1002be11
movzx edx, byte [esi + 0x12d]
mov dword [ebp - 0x14], edx
test dl, 0x10
jne 0x1002be06
test eax, eax
je 0x1002bddc
movzx edx, byte [eax + 0x1e]
test edx, edx
je 0x1002bddc
mov edx, dword [esi + 0x100]
mov dword [ebp - 0x18], edx
cmp edx, 1
je 0x1002be24
mov edx, dword [0x100d9158]
test edx, edx
je 0x1002bddc
movzx edx, byte [esi + 0x130]
test dl, 0x20
jne 0x1002bdc7
mov edx, dword [esi + 0x108]
jmp 0x1002bdd2
mov edx, dword [esi + 0x108]
cmp edx, 0xfffffffa
je 0x1002be24
cmp edx, 1
je 0x1002be24
cmp edx, 2
je 0x1002be24
mov edx, dword [esi + 0x40]
test edx, edx
je 0x1002ccb9
mov byte [edx + edi], 0xa
mov eax, dword [esi + 0x7c]
mov edx, dword [esi + 0x100]
movzx ecx, byte [esi + 0x12d]
mov dword [ebp - 0x18], edx
add edi, 1
mov dword [ebp - 0x14], ecx
jmp 0x1002be24
mov edx, dword [esi + 0x100]
mov dword [ebp - 0x18], edx
jmp 0x1002be24
mov edx, dword [esi + 0x100]
movzx ecx, byte [esi + 0x12d]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
and edx, 0xffffffef
mov byte [esi + 0x12d], dl
test eax, eax
je 0x1002be80
movzx edx, byte [eax + 0x1e]
test edx, edx
je 0x1002be80
mov edx, dword [ebp - 0x18]
cmp edx, 1
je 0x1002be77
mov edx, dword [0x100d9158]
test edx, edx
je 0x1002be88
movzx edx, byte [esi + 0x130]
test dl, 0x20
je 0x1002be67
mov edx, dword [esi + 0x108]
cmp edx, 0xfffffffa
je 0x1002be77
jmp 0x1002be6d
mov edx, dword [esi + 0x108]
cmp edx, 2
je 0x1002be77
cmp edx, 1
jne 0x1002be88
mov byte [eax + 0x20], 1
jmp 0x1002ca84
mov edx, dword [ebp - 0x18]
cmp edx, 1
je 0x1002bec3
mov edx, dword [0x100d9158]
test edx, edx
je 0x1002ca84
movzx edx, byte [esi + 0x130]
test dl, 0x20
je 0x1002beaf
mov edx, dword [esi + 0x108]
cmp edx, 0xfffffffa
je 0x1002bec3
jmp 0x1002beb5
mov edx, dword [esi + 0x108]
cmp edx, 2
je 0x1002bec3
cmp edx, 1
jne 0x1002ca84
test eax, eax
jne 0x1002ca80
jmp 0x1002ca84
cmp edx, 1
jne 0x1002c9eb
lea edx, [edi + 1]
cmp edi, 5
je 0x1002bee3
mov edx, edi
mov dword [ebp - 0x14], edx
test eax, eax
je 0x1002bef2
lea edx, [eax + 4]
mov dword [ebp - 0x10], edx
jmp 0x1002befb
mov edx, dword [esi + 0x38]
add edx, 4
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x14]
lea edi, [edx - 4]
test eax, eax
je 0x1002ccc5
movsx edx, byte [eax + 5]
cmp edx, 0x31
ja case.0x1002bf1d.1
mov edx, dword [edx*4 + 0x100bdd60]
jmp edx
movzx edx, byte [esi + 0x128]
mov dword [ebp - 0x24], edx
test dl, 2
je 0x1002c10b
mov edx, dword [esi + 0x100]
cmp edx, 1
je 0x1002bf78
mov edx, dword [0x100d9158]
test edx, edx
je 0x1002c10b
movzx edx, byte [esi + 0x130]
test dl, 0x20
je 0x1002bf64
mov edx, dword [esi + 0x108]
cmp edx, 0xfffffffa
je 0x1002bf78
jmp 0x1002bf6a
mov edx, dword [esi + 0x108]
cmp edx, 2
je 0x1002bf78
cmp edx, 1
jne 0x1002c10b
mov eax, dword [esi + 0x7c]
add dword [ebp - 0x10], 1
test eax, eax
je 0x1002c0a1
movzx edx, byte [eax + 0x1e]
test edx, edx
je 0x1002c02e
mov edx, dword [ebp - 0x24]
and edx, 4
shr edx, 2
mov dword [ebp - 0x24], edx
test edx, edx
je 0x1002bfb3
movzx edx, byte [eax + 0x20]
test edx, edx
je 0x1002bfb3
mov edx, dword [ebp - 0x14]
lea edi, [edx - 5]
jmp 0x1002c013
movzx edx, byte [eax + 0x1c]
test edx, edx
jne 0x1002bfc3
movzx edx, byte [eax + 0x1d]
test edx, edx
je 0x1002c009
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x1002bff4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add edx, 0xfffffffc
mov dword [ebp - 0x10], edx
mov eax, 0xd
mov byte [edx], 0xa
mov byte [edx + 2], al
mov byte [edx + 4], al
lea edi, [ecx - 1]
mov byte [edx + 1], 0xc
mov byte [edx + 3], 0x20
mov eax, dword [esi + 0x7c]
jmp 0x1002c003
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov byte [eax], 0xc
mov eax, dword [esi + 0x7c]
lea edi, [edx - 5]
test eax, eax
jne 0x1002c013
jmp 0x1002c025
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x10], 1
lea edi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1002c025
mov byte [eax + 0x1d], 0
mov eax, dword [esi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x1002ca84
movzx edx, byte [eax + 0x20]
test edx, edx
je 0x1002c061
mov edx, dword [ebp - 0x24]
test dl, 4
je 0x1002c04b
mov edx, dword [ebp - 0x10]
mov byte [edx + edi - 1], 0xd
jmp 0x1002c0db
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x10], edx
lea edi, [edi - 5]
mov byte [edi + edx - 1], 0xd
jmp 0x1002c0db
movzx edx, byte [eax + 0x1c]
test edx, edx
jne 0x1002c071
movzx edx, byte [eax + 0x1d]
test edx, edx
je 0x1002c0a1
mov edx, dword [ebp - 0x24]
test dl, 4
je 0x1002c0d0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffffc
mov byte [ecx], 0xa
mov edx, 0xd
mov byte [ecx + 1], 0xc
mov dword [ebp - 0x10], ecx
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x20
mov byte [ecx + 4], dl
mov byte [ecx + edi + 3], dl
mov edi, dword [ebp - 0x14]
jmp 0x1002c0db
mov edx, dword [ebp - 0x24]
test dl, 4
je 0x1002c0d0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add ecx, 0xfffffffd
mov dword [ebp - 0x10], ecx
mov edx, 0xd
mov byte [ecx], 0xc
mov byte [ecx + 1], dl
mov byte [ecx + 3], dl
mov byte [ecx + 2], 0x20
mov byte [ecx + edi + 2], dl
lea edi, [eax - 1]
jmp 0x1002c0db
mov edx, dword [ebp - 0x10]
mov byte [edx], 0xc
mov byte [edx + edi - 1], 0xd
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [esi + 0x7c]
mov dword [ecx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x1d], 0
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
mov ecx, dword [esi + 0x7c]
add dword [ebp - 0x10], 1
test ecx, ecx
je 0x1002c156
movzx edx, byte [ecx + 0x1c]
test edx, edx
jne 0x1002c126
movzx edx, byte [ecx + 0x1d]
test edx, edx
je 0x1002c156
mov edx, dword [ebp - 0x24]
test dl, 4
je 0x1002c185
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffffc
mov byte [ecx], 0xa
mov edx, 0xd
mov byte [ecx + 1], 0xc
mov dword [ebp - 0x10], ecx
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x20
mov byte [ecx + 4], dl
mov byte [ecx + edi + 3], dl
mov edi, dword [ebp - 0x14]
jmp 0x1002c190
mov edx, dword [ebp - 0x24]
test dl, 4
je 0x1002c185
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
add ecx, 0xfffffffd
mov dword [ebp - 0x10], ecx
mov edx, 0xd
mov byte [ecx], 0xc
mov byte [ecx + 1], dl
mov byte [ecx + 3], dl
mov byte [ecx + 2], 0x20
mov byte [ecx + edi + 2], dl
lea edi, [eax - 1]
jmp 0x1002c190
mov edx, dword [ebp - 0x10]
mov byte [edx], 0xc
mov byte [edx + edi - 1], 0xd
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [esi + 0x7c]
mov dword [ecx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x1d], 0
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
movzx eax, byte [esi + 0x128]
test al, 2
je 0x1002c3bc
mov edx, dword [esi + 0x100]
cmp edx, 1
je 0x1002c215
mov edx, dword [0x100d9158]
test edx, edx
je 0x1002c3bc
movzx edx, byte [esi + 0x130]
test dl, 0x20
je 0x1002c201
mov edx, dword [esi + 0x108]
cmp edx, 0xfffffffa
je 0x1002c215
jmp 0x1002c207
mov edx, dword [esi + 0x108]
cmp edx, 2
je 0x1002c215
cmp edx, 1
jne 0x1002c3bc
mov edx, dword [esi + 0x7c]
mov dword [ebp - 0x24], edx
test edx, edx
je 0x1002c35e
movzx ecx, byte [edx + 0x1e]
test ecx, ecx
je 0x1002c2d2
and eax, 4
shr eax, 2
test eax, eax
je 0x1002c24d
movzx ecx, byte [edx + 0x20]
test ecx, ecx
je 0x1002c24d
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], 1
lea edi, [eax - 5]
jmp 0x1002c2ac
movzx ecx, byte [edx + 0x1c]
test ecx, ecx
jne 0x1002c25d
movzx ecx, byte [edx + 0x1d]
test ecx, ecx
je 0x1002c2a2
test eax, eax
je 0x1002c286
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add edi, 0xffffffff
mov dword [ebp - 0x10], edi
mov eax, 0xa
mov byte [edi + 1], 0xd
mov byte [edi], al
mov byte [edi + 2], al
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 0x24], ecx
lea edi, [edx - 3]
jmp 0x1002c299
mov ecx, dword [ebp - 0x10]
mov edx, 0xa
mov byte [ecx], dl
mov byte [ecx + 1], dl
mov ebx, dword [esi + 0x7c]
mov dword [ebp - 0x24], ebx
mov edx, dword [ebp - 0x24]
test edx, edx
jne 0x1002c2ac
jmp 0x1002c2c6
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], 2
lea edi, [eax - 6]
mov byte [edx + 0x1c], 0
mov ecx, dword [esi + 0x7c]
test ecx, ecx
mov dword [ebp - 0x24], ecx
je 0x1002c2c6
mov edx, ecx
mov byte [edx + 0x1d], 0
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov byte [edx + 0x20], 1
jmp 0x1002ca84
movzx ecx, byte [edx + 0x20]
test ecx, ecx
je 0x1002c30a
test al, 4
je 0x1002c2f1
mov edx, dword [ebp - 0x10]
add edx, 1
mov byte [edx + edi - 1], 0xd
mov dword [ebp - 0x10], edx
jmp 0x1002c38c
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x10], edx
lea edi, [edi - 5]
mov byte [edi + edx - 1], 0xd
jmp 0x1002c38c
movzx ecx, byte [edx + 0x1c]
test ecx, ecx
jne 0x1002c31a
movzx ecx, byte [edx + 0x1d]
test ecx, ecx
je 0x1002c35e
test al, 4
je 0x1002c345
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
add ecx, 0xffffffff
mov dword [ebp - 0x10], ecx
mov eax, 0xa
mov byte [ecx], al
mov edx, 0xd
mov byte [ecx + 1], dl
mov byte [ecx + 2], al
mov byte [ecx + edi + 1], dl
lea edi, [ebx - 2]
jmp 0x1002c38c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edx, 0xa
mov byte [ecx], dl
mov byte [ecx + 1], dl
mov byte [ecx + edi], 0xd
lea edi, [eax - 3]
jmp 0x1002c38c
test al, 4
je 0x1002c37b
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov byte [ecx + 1], 0xa
mov edx, 0xd
mov byte [ecx], dl
mov byte [ecx + edi], dl
lea edi, [eax - 3]
jmp 0x1002c38c
mov edx, dword [ebp - 0x10]
add edx, 1
mov byte [edx], 0xa
mov dword [ebp - 0x10], edx
mov byte [edx + edi - 1], 0xd
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [esi + 0x7c]
mov dword [ecx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x1d], 0
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x1002c417
movzx edx, byte [ecx + 0x1c]
test edx, edx
jne 0x1002c3d3
movzx edx, byte [ecx + 0x1d]
test edx, edx
je 0x1002c417
test al, 4
je 0x1002c3fe
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
add ecx, 0xffffffff
mov dword [ebp - 0x10], ecx
mov eax, 0xa
mov byte [ecx], al
mov edx, 0xd
mov byte [ecx + 1], dl
mov byte [ecx + 2], al
mov byte [ecx + edi + 1], dl
lea edi, [ebx - 2]
jmp 0x1002c445
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edx, 0xa
mov byte [ecx], dl
mov byte [ecx + 1], dl
mov byte [ecx + edi], 0xd
lea edi, [eax - 3]
jmp 0x1002c445
test al, 4
je 0x1002c434
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov byte [ecx + 1], 0xa
mov edx, 0xd
mov byte [ecx], dl
mov byte [ecx + edi], dl
lea edi, [eax - 3]
jmp 0x1002c445
mov edx, dword [ebp - 0x10]
add edx, 1
mov byte [edx], 0xa
mov dword [ebp - 0x10], edx
mov byte [edx + edi - 1], 0xd
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [esi + 0x7c]
mov dword [ecx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x1d], 0
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
movzx edx, byte [esi + 0x128]
test dl, 2
je 0x1002c57d
mov ecx, dword [esi + 0x100]
cmp ecx, 1
je 0x1002c4cb
mov ecx, dword [0x100d9158]
test ecx, ecx
je 0x1002c57d
movzx ecx, byte [esi + 0x130]
test cl, 0x20
je 0x1002c4b7
mov ecx, dword [esi + 0x108]
cmp ecx, 0xfffffffa
je 0x1002c4cb
jmp 0x1002c4bd
mov ecx, dword [esi + 0x108]
cmp ecx, 2
je 0x1002c4cb
cmp ecx, 1
jne 0x1002c57d
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1002c518
movzx ecx, byte [eax + 0x1e]
test ecx, ecx
je 0x1002c518
test dl, 4
je 0x1002c4f3
movzx edx, byte [eax + 0x20]
test edx, edx
je 0x1002c4f3
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x10], 1
lea edi, [edx - 5]
jmp 0x1002c4fd
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x10], 2
lea edi, [edx - 6]
mov byte [eax + 0x1c], 0
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002c50f
mov byte [edx + 0x1d], 0
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x1002ca84
test dl, 4
je 0x1002c539
test eax, eax
je 0x1002c539
movzx edx, byte [eax + 0x20]
test edx, edx
je 0x1002c539
mov edx, dword [ebp - 0x10]
add edx, 1
mov byte [edx + edi - 1], 0xd
mov dword [ebp - 0x10], edx
jmp 0x1002c54d
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x10], edx
lea edi, [edi - 5]
mov byte [edi + edx - 1], 0xd
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [esi + 0x7c]
mov dword [ecx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x1d], 0
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
add edx, 2
mov dword [ebp - 0x10], edx
lea edi, [edi - 5]
mov byte [edi + edx - 1], 0xd
mov ecx, dword [esi + 0x7c]
mov byte [ecx + 0x1c], 1
mov ebx, dword [esi + 0x7c]
mov dword [ebx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x1d], 0
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
movzx eax, byte [esi + 0x128]
test al, 2
je 0x1002c6e5
mov eax, dword [esi + 0x100]
cmp eax, 1
je 0x1002c614
mov eax, dword [0x100d9158]
test eax, eax
je 0x1002c6e5
movzx eax, byte [esi + 0x130]
test al, 0x20
je 0x1002c600
mov eax, dword [esi + 0x108]
cmp eax, 0xfffffffa
je 0x1002c614
jmp 0x1002c606
mov eax, dword [esi + 0x108]
cmp eax, 2
je 0x1002c614
cmp eax, 1
jne 0x1002c6e5
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1002c6b2
movzx edx, byte [eax + 0x1e]
test edx, edx
je 0x1002c677
movzx edx, byte [eax + 0x1c]
test edx, edx
jne 0x1002c637
movzx edx, byte [eax + 0x1d]
test edx, edx
je 0x1002c652
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x10], eax
lea edi, [edx - 5]
mov byte [eax], 0xa
mov eax, dword [esi + 0x7c]
test eax, eax
jne 0x1002c65c
jmp 0x1002c66e
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x10], 2
lea edi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1002c66e
mov byte [eax + 0x1d], 0
mov eax, dword [esi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x1002ca84
movzx edx, byte [eax + 0x20]
test edx, edx
je 0x1002c68b
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x10], 2
lea edi, [edx - 6]
jmp 0x1002c6c0
movzx edx, byte [eax + 0x1c]
test edx, edx
jne 0x1002c69b
movzx edx, byte [eax + 0x1d]
test edx, edx
je 0x1002c6b2
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x10], eax
lea edi, [edx - 5]
mov byte [eax], 0xa
mov eax, dword [esi + 0x7c]
jmp 0x1002c6bc
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x10], 2
lea edi, [edx - 6]
test eax, eax
je 0x1002c6c7
mov byte [eax + 0x1c], 0
mov eax, dword [esi + 0x7c]
mov byte [eax + 0x1d], 1
mov edx, dword [esi + 0x7c]
mov dword [edx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002c713
movzx eax, byte [edx + 0x1c]
test eax, eax
jne 0x1002c6fc
movzx eax, byte [edx + 0x1d]
test eax, eax
je 0x1002c713
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x10], eax
lea edi, [edx - 5]
mov byte [eax], 0xa
mov edx, dword [esi + 0x7c]
jmp 0x1002c71d
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], 2
lea edi, [eax - 6]
test edx, edx
je 0x1002c728
mov byte [edx + 0x1c], 0
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1d], 1
mov edx, dword [esi + 0x7c]
mov dword [edx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
movzx eax, byte [esi + 0x128]
test al, 2
je 0x1002c7fc
mov eax, dword [esi + 0x100]
cmp eax, 1
je 0x1002c795
mov eax, dword [0x100d9158]
test eax, eax
je 0x1002c7fc
movzx eax, byte [esi + 0x130]
test al, 0x20
je 0x1002c785
mov eax, dword [esi + 0x108]
cmp eax, 0xfffffffa
je 0x1002c795
jmp 0x1002c78b
mov eax, dword [esi + 0x108]
cmp eax, 2
je 0x1002c795
cmp eax, 1
jne 0x1002c7fc
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002c7c9
movzx eax, byte [edx + 0x1e]
test eax, eax
je 0x1002c7c9
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], 2
lea edi, [eax - 6]
mov byte [edx + 0x1c], 0
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002c7c0
mov byte [edx + 0x1d], 0
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x20], 1
jmp 0x1002ca84
mov eax, dword [ebp - 0x14]
add dword [ebp - 0x10], 2
lea edi, [eax - 6]
test edx, edx
je 0x1002c7de
mov byte [edx + 0x1c], 0
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1d], 1
mov edx, dword [esi + 0x7c]
mov dword [edx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
mov eax, dword [ebp - 0x14]
mov edx, dword [esi + 0x7c]
add dword [ebp - 0x10], 2
lea edi, [eax - 6]
test edx, edx
je 0x1002c814
mov byte [edx + 0x1c], 0
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1d], 1
mov edx, dword [esi + 0x7c]
mov dword [edx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
movzx edx, byte [esi + 0x128]
mov dword [ebp - 0x1c], edx
test dl, 2
je 0x1002c97f
mov edx, dword [esi + 0x100]
cmp edx, 1
je 0x1002c88b
mov edx, dword [0x100d9158]
test edx, edx
je 0x1002c97f
movzx edx, byte [esi + 0x130]
test dl, 0x20
je 0x1002c877
mov edx, dword [esi + 0x108]
cmp edx, 0xfffffffa
je 0x1002c88b
jmp 0x1002c87d
mov edx, dword [esi + 0x108]
cmp edx, 2
je 0x1002c88b
cmp edx, 1
jne 0x1002c97f
mov eax, dword [esi + 0x7c]
add dword [ebp - 0x10], 1
test eax, eax
je 0x1002c93b
movzx edx, byte [eax + 0x1e]
test edx, edx
je 0x1002c904
mov edx, dword [ebp - 0x1c]
test dl, 4
je 0x1002c8ba
movzx edx, byte [eax + 0x20]
test edx, edx
je 0x1002c8ba
mov edx, dword [ebp - 0x14]
lea edi, [edx - 5]
jmp 0x1002c8e9
movzx edx, byte [eax + 0x1c]
test edx, edx
jne 0x1002c8ca
movzx edx, byte [eax + 0x1d]
test edx, edx
je 0x1002c8df
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov byte [eax], 0xa
mov eax, dword [esi + 0x7c]
lea edi, [edx - 5]
test eax, eax
jne 0x1002c8e9
jmp 0x1002c8fb
mov edx, dword [ebp - 0x14]
add dword [ebp - 0x10], 1
lea edi, [edx - 6]
mov byte [eax + 0x1c], 0
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1002c8fb
mov byte [eax + 0x1d], 0
mov eax, dword [esi + 0x7c]
mov byte [eax + 0x20], 1
jmp 0x1002ca84
movzx edx, byte [eax + 0x20]
test edx, edx
je 0x1002c91e
mov edx, dword [ebp - 0x1c]
test dl, 4
je 0x1002c93b
mov edx, dword [ebp - 0x10]
mov byte [edx + edi - 1], 0xd
jmp 0x1002c94f
movzx edx, byte [eax + 0x1c]
test edx, edx
jne 0x1002c92e
movzx edx, byte [eax + 0x1d]
test edx, edx
je 0x1002c93b
mov edx, dword [ebp - 0x10]
mov byte [edx], 0xa
mov byte [edx + edi - 1], 0xd
jmp 0x1002c94f
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x10], edx
lea edi, [edi - 5]
mov byte [edi + edx - 1], 0xd
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [esi + 0x7c]
mov dword [ecx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x1d], 0
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
mov ecx, dword [esi + 0x7c]
add dword [ebp - 0x10], 1
test ecx, ecx
je 0x1002c9a7
movzx edx, byte [ecx + 0x1c]
test edx, edx
jne 0x1002c99a
movzx edx, byte [ecx + 0x1d]
test edx, edx
je 0x1002c9a7
mov edx, dword [ebp - 0x10]
mov byte [edx], 0xa
mov byte [edx + edi - 1], 0xd
jmp 0x1002c9bb
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x10], edx
lea edi, [edi - 5]
mov byte [edi + edx - 1], 0xd
mov edx, dword [esi + 0x7c]
mov byte [edx + 0x1c], 1
mov ecx, dword [esi + 0x7c]
mov dword [ecx + 0x10], esi
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x1d], 0
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x1002ca84
mov byte [edx + 0x20], 0
jmp 0x1002ca84
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x1002ca3e
movzx edx, byte [eax + 0x1e]
test edx, edx
je 0x1002ca3e
mov edx, dword [esi + 0x100]
cmp edx, 1
je 0x1002ca38
mov edx, dword [0x100d9158]
test edx, edx
je 0x1002ca49
movzx edx, byte [esi + 0x130]
test dl, 0x20
je 0x1002ca28
mov edx, dword [esi + 0x108]
cmp edx, 0xfffffffa
je 0x1002ca38
jmp 0x1002ca2e
mov edx, dword [esi + 0x108]
cmp edx, 2
je 0x1002ca38
cmp edx, 1
jne 0x1002ca49
mov byte [eax + 0x20], 1
jmp 0x1002ca84
mov edx, dword [esi + 0x100]
cmp edx, 1
je 0x1002ca7c
mov edx, dword [0x100d9158]
test edx, edx
je 0x1002ca84
movzx edx, byte [esi + 0x130]
test dl, 0x20
je 0x1002ca6c
mov edx, dword [esi + 0x108]
cmp edx, 0xfffffffa
je 0x1002ca7c
jmp 0x1002ca72
mov edx, dword [esi + 0x108]
cmp edx, 2
je 0x1002ca7c
cmp edx, 1
jne 0x1002ca84
test eax, eax
je 0x1002ca84
mov byte [eax + 0x20], 0
mov edx, dword [ebp - 0x10]
mov eax, esi
mov ecx, edi
call fcn.1002ccfc
and byte [esi + 0x12c], 0xef
cmp eax, 0xffffffff
je 0x1002ccd1
movzx eax, byte [esi + 0x12d]
test al, 2
je 0x1002cae8
push dword [esi + 0xb4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1002cabf
xor eax, eax
jmp 0x1002cad0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb8], eax
mov eax, 0x26
and byte [esi + 0x12d], 0xfd
test eax, eax
je 0x1002cae8
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
xor eax, eax
mov esp, ebp
pop ebp
ret
push 4
mov dword [ebp - 0x10], edx
push esi
call fcn.10024784
mov edx, dword [ebp - 0x10]
add esp, 8
test eax, eax
je 0x1002b965
mov edx, dword [esi + 0x18]
test edx, edx
je 0x1002cbb1
movzx eax, byte [edx + 0x3c]
test al, 2
je 0x1002cb52
mov eax, 0x42
mov dword [edx + 0x30], eax
mov edx, dword [esi + 0x18]
mov dword [edx + 0x34], eax
mov eax, dword [esi + 0x64]
test eax, eax
je 0x1002cb40
xor edx, edx
mov dword [eax + 4], edx
mov dword [esi + 0x64], edx
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov eax, 0x42
mov esp, ebp
pop ebp
ret
movzx ecx, byte [esi + 0x12b]
movzx ebx, byte [esi + 0x12c]
mov edx, ecx
and edx, 0x40
mov edi, 2
xor eax, eax
test edx, edx
setne al
test ecx, 0x80
jne 0x1002cb7e
mov edi, 0
test bl, 1
mov edx, 4
jne 0x1002cb8d
mov edx, 0
or eax, edi
or eax, edx
mov edx, 0x42
push edx
push edx
push eax
push 0xffffffffffffffff
push esi
call fcn.10077ea0
add esp, 0x14
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
push esi
mov eax, 0x42
push eax
push eax
push 1
call fcn.10014254
add esp, 0x10
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x38]
mov byte [edx + edi], 0xd
movsx edx, byte [esi + 0x11e]
add edi, 1
jmp 0x1002bca2
mov edx, dword [esi + 0x38]
mov byte [edx + edi], 0xd
mov ecx, dword [esi + 0x38]
mov byte [ecx + edi + 1], 0xa
movsx edx, byte [esi + 0x11e]
add edi, 2
jmp 0x1002bca2
movzx eax, byte [esi + 0x12d]
test al, 8
je 0x1002cc47
movzx eax, byte [ebp - 0x1d]
movzx ecx, byte [ebp - 0x1e]
mov edi, dword [esi + 0x38]
mov dword [ebp - 0x24], eax
mov byte [edi], al
mov ebx, dword [esi + 0x38]
movzx eax, byte [ebp - 0x1f]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
mov byte [ebx + 1], cl
mov ecx, dword [esi + 0x38]
mov byte [ecx + 2], al
movzx eax, byte [ebp - 0x20]
mov ecx, dword [esi + 0x38]
mov byte [ecx + 3], al
mov dword [ebp - 0x18], eax
jmp 0x1002bb48
movzx eax, byte [ebp - 0x20]
movzx ecx, byte [ebp - 0x1f]
mov edi, dword [esi + 0x38]
mov dword [ebp - 0x18], eax
mov byte [edi], al
mov ebx, dword [esi + 0x38]
movzx eax, byte [ebp - 0x1e]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
mov byte [ebx + 1], cl
mov ecx, dword [esi + 0x38]
mov byte [ecx + 2], al
movzx eax, byte [ebp - 0x1d]
mov ecx, dword [esi + 0x38]
mov byte [ecx + 3], al
mov dword [ebp - 0x24], eax
jmp 0x1002bb48
mov edx, dword [esi + 0x38]
mov byte [edx + edi - 2], 0xd
mov ecx, dword [esi + 0x38]
mov byte [ecx + edi - 1], 0xa
movsx edx, byte [esi + 0x11e]
jmp 0x1002bca2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xb8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x38]
mov byte [edx + edi], 0xa
jmp 0x1002bdeb
mov edx, dword [esi + 0x38]
movsx edx, byte [edx + 5]
jmp 0x1002bf0d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [esi + 0xb8], eax
mov esi, dword [ebp - 8]
mov eax, 0x26
mov esp, ebp
pop ebp
ret