Function at 0x10039070
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov dword [ebp - 4], 0
xor eax, eax
mov byte [ebp - 0x31], al
lea ecx, [ebp - 0x1ca]
push ecx
lea ecx, [ebp - 0x31]
call fcn.10038ba0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0
jmp 0x100390ac
mov edx, dword [ebp - 0x80]
add edx, 1
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x80], 0xb
jae 0x10039105
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x84]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x84]
movsx eax, byte [edx]
xor ecx, eax
mov word [ebp - 0x98], cx
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x84]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
mov dx, word [ebp - 0x98]
mov word [ecx], dx
jmp 0x100390a3
mov eax, 0xb
shl eax, 1
mov ecx, dword [ebp - 0x84]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x110], edx
xor eax, eax
mov ecx, dword [ebp - 0x110]
mov word [ecx], ax
mov edx, dword [ebp - 0x84]
add edx, 2
mov dword [ebp - 0x114], edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x114]
push eax
call fcn.10038a50
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039159
cmp dword [ebp - 4], 1
jne 0x10039160
xor al, al
jmp 0x1003a1cb
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x70], 0
xor ecx, ecx
mov byte [ebp - 0x2d], cl
lea edx, [ebp - 0x1e4]
push edx
lea ecx, [ebp - 0x2d]
call fcn.10038c50
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0
jmp 0x100391ec
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xb
jae 0x1003924e
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x8c]
movsx ecx, byte [eax]
xor edx, ecx
mov word [ebp - 0x9a], dx
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x8c]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11c]
mov ax, word [ebp - 0x9a]
mov word [edx], ax
jmp 0x100391dd
mov ecx, 0xb
shl ecx, 1
mov edx, dword [ebp - 0x8c]
lea eax, [edx + ecx + 2]
mov dword [ebp - 0x120], eax
xor ecx, ecx
mov edx, dword [ebp - 0x120]
mov word [edx], cx
mov eax, dword [ebp - 0x8c]
add eax, 2
mov dword [ebp - 0x124], eax
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.10038ae0
call eax
mov dword [ebp - 4], eax
mov edx, 0x2faba4c7
xor edx, 0x5f524f54
xor edx, 0x5f524f54
mov dword [ebp - 0xd4], edx
mov eax, 0x4da9
movzx eax, ax
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xd0], ax
mov ecx, 0x4013
movzx eax, cx
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xce], ax
mov eax, 0x96
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 0
mov byte [ebp + ecx - 0xcc], al
mov eax, 0x97
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0xcc], al
mov eax, 0x20
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0xcc], al
mov eax, 0xcc
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 3
mov byte [ebp + ecx - 0xcc], al
mov eax, 0x3f
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0xcc], al
mov eax, 0xd4
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0xcc], al
mov eax, 0xf
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 6
mov byte [ebp + edx - 0xcc], al
mov eax, 0x85
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0xcc], al
mov eax, 0xf87369f
xor eax, 0x5f524f54
xor eax, 0x5f524f54
mov dword [ebp - 0xf4], eax
mov ecx, 0xa4e5
movzx eax, cx
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xf0], ax
mov edx, 0x4cfc
movzx eax, dx
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xee], ax
mov eax, 0xbd
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0xec], al
mov eax, 0x3e
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
shl ecx, 0
mov byte [ebp + ecx - 0xec], al
mov eax, 0x73
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0xec], al
mov eax, 0xe6
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 3
mov byte [ebp + edx - 0xec], al
mov eax, 0x15
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
shl ecx, 2
mov byte [ebp + ecx - 0xec], al
mov eax, 0x45
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 5
mov byte [ebp + ecx - 0xec], al
mov eax, 0x72
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 6
mov byte [ebp + ecx - 0xec], al
mov eax, 0xdd
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 7
mov byte [ebp + ecx - 0xec], al
xor edx, edx
mov byte [ebp - 0x2e], dl
lea eax, [ebp - 0x1fe]
push eax
lea ecx, [ebp - 0x2e]
call fcn.10038d00
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x90], 0
jmp 0x10039568
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0xb
jae 0x100395c1
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x60]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x128]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x60]
movsx edx, byte [ecx]
xor eax, edx
mov word [ebp - 0x9c], ax
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x60]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x12c], edx
mov eax, dword [ebp - 0x12c]
mov cx, word [ebp - 0x9c]
mov word [eax], cx
jmp 0x10039559
mov edx, 0xb
shl edx, 1
mov eax, dword [ebp - 0x60]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x170], ecx
xor edx, edx
mov eax, dword [ebp - 0x170]
mov word [eax], dx
mov ecx, dword [ebp - 0x60]
add ecx, 2
mov dword [ebp - 0x16c], ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xd4]
push eax
push 1
push 0
lea ecx, [ebp - 0xf4]
push ecx
push 0
mov edx, dword [ebp - 0x16c]
push edx
call fcn.10038ab0
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039621
cmp dword [ebp - 4], 1
jne 0x10039626
jmp 0x10039ffb
lea eax, [ebp - 0x44]
push eax
push 0
push 0
call fcn.10038a20
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 0x28]
call ecx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x44]
push edx
push 0
push 0
call fcn.10038b40
call eax
cmp dword [ebp - 4], 0
jl 0x100396d1
cmp dword [ebp - 4], 1
jne 0x100396d6
jmp 0x10039ffb
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 0x24]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x100396f9
cmp dword [ebp - 4], 1
jne 0x100396fe
jmp 0x10039ffb
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x24]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1003971f
cmp dword [ebp - 4], 1
jne 0x10039724
jmp 0x10039ffb
lea ecx, [ebp - 0x28]
push ecx
push 1
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039747
cmp dword [ebp - 4], 1
jne 0x1003974c
jmp 0x10039ffb
push 1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 0x4c]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1003976b
cmp dword [ebp - 4], 1
jne 0x10039770
jmp 0x10039ffb
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039791
cmp dword [ebp - 4], 1
jne 0x10039796
jmp 0x10039ffb
xor eax, eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
lea ecx, [ebp - 0x104]
push ecx
push 0
push 0
call fcn.100389f0
call eax
mov dx, word [ebp - 0xfc]
mov word [ebp - 0x18], dx
mov ax, word [ebp - 0xfe]
mov word [ebp - 0xc], ax
movzx ecx, word [ebp - 0xfa]
add ecx, dword [ebp + 0x18]
mov word [ebp - 0x2c], cx
mov dx, word [ebp - 0x102]
mov word [ebp - 8], dx
mov ax, word [ebp - 0x104]
mov word [ebp - 0x1c], ax
movzx ecx, word [ebp - 0x2c]
cmp ecx, 0x3b
jle 0x100398f5
movzx edx, word [ebp - 0x2c]
sub edx, 0x3c
mov word [ebp - 0x2c], dx
movzx eax, word [ebp - 0x18]
add eax, 1
mov word [ebp - 0x18], ax
movzx ecx, word [ebp - 0x18]
cmp ecx, 0x17
jle 0x100398f5
xor edx, edx
mov word [ebp - 0x18], dx
movzx eax, word [ebp - 0xc]
add eax, 1
mov word [ebp - 0xc], ax
movzx ecx, word [ebp - 8]
cmp ecx, 2
jne 0x1003987b
movzx edx, word [ebp - 0x1c]
and edx, 0x80000003
jns 0x10039857
dec edx
or edx, 0xfffffffc
inc edx
test edx, edx
jne 0x1003987b
movzx eax, word [ebp - 0xc]
cmp eax, 0x1d
jle 0x1003987b
mov ecx, 1
mov word [ebp - 0xc], cx
mov dx, word [ebp - 8]
add dx, 1
mov word [ebp - 8], dx
jmp 0x100398d7
movzx eax, word [ebp - 8]
cmp eax, 2
jne 0x100398b9
movzx ecx, word [ebp - 0x1c]
and ecx, 0x80000003
jns 0x10039895
dec ecx
or ecx, 0xfffffffc
inc ecx
test ecx, ecx
je 0x100398b9
movzx edx, word [ebp - 0xc]
cmp edx, 0x1c
jle 0x100398b9
mov eax, 1
mov word [ebp - 0xc], ax
mov cx, word [ebp - 8]
add cx, 1
mov word [ebp - 8], cx
jmp 0x100398d7
movzx edx, word [ebp - 0xc]
cmp edx, 0x1f
jle 0x100398d7
mov eax, 1
mov word [ebp - 0xc], ax
mov cx, word [ebp - 8]
add cx, 1
mov word [ebp - 8], cx
movzx edx, word [ebp - 8]
cmp edx, 0xc
jle 0x100398f5
mov ax, word [ebp - 0x1c]
add ax, 1
mov word [ebp - 0x1c], ax
mov ecx, 1
mov word [ebp - 8], cx
xor edx, edx
mov byte [ebp - 0x2f], dl
lea eax, [ebp - 0x252]
push eax
lea ecx, [ebp - 0x2f]
call fcn.10038db0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0
jmp 0x1003991e
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x1b
jae 0x1003996e
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
lea ecx, [eax + edx*2 + 2]
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x168]
movzx eax, word [edx]
mov ecx, dword [ebp - 0x68]
movsx edx, byte [ecx]
xor eax, edx
mov word [ebp - 0x9e], ax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x68]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x164], edx
mov eax, dword [ebp - 0x164]
mov cx, word [ebp - 0x9e]
mov word [eax], cx
jmp 0x10039915
mov edx, 0x1b
shl edx, 1
mov eax, dword [ebp - 0x68]
lea ecx, [eax + edx + 2]
mov dword [ebp - 0x160], ecx
xor edx, edx
mov eax, dword [ebp - 0x160]
mov word [eax], dx
mov ecx, dword [ebp - 0x68]
add ecx, 2
mov dword [ebp - 0x15c], ecx
movzx edx, word [ebp - 0xf8]
push edx
movzx eax, word [ebp - 0x2c]
push eax
movzx ecx, word [ebp - 0x18]
push ecx
movzx edx, word [ebp - 0xc]
push edx
movzx eax, word [ebp - 8]
push eax
movzx ecx, word [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x15c]
push edx
push 0x30
lea eax, [ebp - 0x1b0]
push eax
call fcn.1003a2f0
add esp, 0x24
lea ecx, [ebp - 0x1b0]
push ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax + 0x3c]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
je 0x10039c74
xor edx, edx
mov byte [ebp - 0x95], dl
mov byte [ebp - 0xbc], 0x67
xor eax, eax
mov byte [ebp - 0xbb], al
mov ecx, 0x37
mov word [ebp - 0xba], cx
mov edx, 0x33
mov word [ebp - 0xb8], dx
mov eax, 0x57
mov word [ebp - 0xb6], ax
mov ecx, 0x34
mov word [ebp - 0xb4], cx
xor edx, edx
mov word [ebp - 0xb2], dx
mov dword [ebp - 0x7c], 0
jmp 0x10039a6b
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
jae 0x10039abc
mov ecx, dword [ebp - 0x7c]
lea edx, [ebp + ecx*2 - 0xba]
mov dword [ebp - 0x174], edx
mov eax, dword [ebp - 0x174]
movzx ecx, word [eax]
movsx edx, byte [ebp - 0xbc]
xor ecx, edx
mov word [ebp - 0xa0], cx
mov eax, dword [ebp - 0x7c]
lea ecx, [ebp + eax*2 - 0xba]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
mov ax, word [ebp - 0xa0]
mov word [edx], ax
jmp 0x10039a62
mov ecx, 4
shl ecx, 1
lea edx, [ebp + ecx - 0xba]
mov dword [ebp - 0x134], edx
xor eax, eax
mov ecx, dword [ebp - 0x134]
mov word [ecx], ax
lea edx, [ebp - 0xba]
mov dword [ebp - 0x138], edx
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x70]
call ecx
mov dword [ebp - 4], eax
push 3
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x30]
call edx
mov dword [ebp - 4], eax
xor eax, eax
mov byte [ebp - 0x96], al
mov byte [ebp - 0xb0], 0x76
xor ecx, ecx
mov byte [ebp - 0xaf], cl
mov edx, 0x26
mov word [ebp - 0xae], dx
mov eax, 0x22
mov word [ebp - 0xac], ax
mov ecx, 0x47
mov word [ebp - 0xaa], cx
mov edx, 0x3b
mov word [ebp - 0xa8], dx
xor eax, eax
mov word [ebp - 0xa6], ax
mov dword [ebp - 0x78], 0
jmp 0x10039b74
mov ecx, dword [ebp - 0x78]
add ecx, 1
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 4
jae 0x10039bc5
mov edx, dword [ebp - 0x78]
lea eax, [ebp + edx*2 - 0xae]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
movzx edx, word [ecx]
movsx eax, byte [ebp - 0xb0]
xor edx, eax
mov word [ebp - 0xa2], dx
mov ecx, dword [ebp - 0x78]
lea edx, [ebp + ecx*2 - 0xae]
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
mov cx, word [ebp - 0xa2]
mov word [eax], cx
jmp 0x10039b6b
mov edx, 4
shl edx, 1
lea eax, [ebp + edx - 0xae]
mov dword [ebp - 0x144], eax
xor ecx, ecx
mov edx, dword [ebp - 0x144]
mov word [edx], cx
lea eax, [ebp - 0xae]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x28]
call edx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x48]
call eax
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x40]
call ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], 0
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x9c]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 0x48], 0
je 0x10039c74
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [edx + 0x30]
call ecx
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [str.PT_dM]
mov dword [ebp - 0x180], eax
mov ecx, dword [0x1004d8a0]
mov dword [ebp - 0x17c], ecx
mov edx, dword [0x1004d8a4]
mov dword [ebp - 0x178], edx
mov dword [ebp - 0xc0], 0x11
mov eax, dword [ebp - 0xc0]
push eax
push 0x40
push 0
push 0
call fcn.10038b70
call eax
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x180]
push edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.1003a2f0
add esp, 0x10
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ecx + 0x20]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039cf7
cmp dword [ebp - 4], 1
jne 0x10039cfc
jmp 0x10039ffb
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x44]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039d1d
cmp dword [ebp - 4], 1
jne 0x10039d22
jmp 0x10039ffb
lea eax, [ebp - 0x4c]
push eax
push 0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [edx + 0x30]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039d45
cmp dword [ebp - 4], 1
jne 0x10039d4a
jmp 0x10039ffb
mov edx, 0x4c3d624d
xor edx, 0x5f524f54
xor edx, 0x5f524f54
mov dword [ebp - 0xe4], edx
mov eax, 0xfd6b
movzx eax, ax
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xe0], ax
mov ecx, 0x49a3
movzx eax, cx
cdq
xor eax, 0x5f52
movzx eax, ax
cdq
xor eax, 0x5f52
mov word [ebp - 0xde], ax
mov eax, 0xb9
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 0
mov byte [ebp + ecx - 0xdc], al
mov eax, 0xb7
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
shl edx, 0
mov byte [ebp + edx - 0xdc], al
mov eax, 9
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
shl ecx, 1
mov byte [ebp + ecx - 0xdc], al
mov eax, 0xcb
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
imul ecx, edx, 3
mov byte [ebp + ecx - 0xdc], al
mov eax, 0x3c
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0xdc], al
mov eax, 0xd3
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 5
mov byte [ebp + edx - 0xdc], al
mov eax, 0xf0
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 6
mov byte [ebp + edx - 0xdc], al
mov eax, 0x47
cdq
xor eax, 0x5f
movzx eax, al
cdq
xor eax, 0x5f
mov ecx, 1
imul edx, ecx, 7
mov byte [ebp + edx - 0xdc], al
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039ebb
cmp dword [ebp - 4], 1
jne 0x10039ec0
jmp 0x10039ffb
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039ee1
cmp dword [ebp - 4], 1
jne 0x10039ee6
jmp 0x10039ffb
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 0x34]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039f07
cmp dword [ebp - 4], 1
jne 0x10039f0c
jmp 0x10039ffb
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax + 0x3c]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039f2d
cmp dword [ebp - 4], 1
jne 0x10039f32
jmp 0x10039ffb
lea eax, [ebp - 0x5c]
push eax
push 0x1004d8a8
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10039f58
cmp dword [ebp - 4], 1
jne 0x10039f5d
jmp 0x10039ffb
lea edx, [ebp - 0x44]
push edx
push 0
push 0
call fcn.10038a20
call eax
lea eax, [ebp - 0x94]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
push 3
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x44]
mov dword [ecx], edx
mov eax, dword [ebp - 0x40]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0xc], eax
push 2
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ecx + 0x44]
call eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
call fcn.10038b40
call eax
xor edx, edx
jne 0x100391b7
cmp dword [ebp - 0x70], 0
je 0x1003a010
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
call fcn.10038b10
call eax
cmp dword [ebp - 0x10], 0
je 0x1003a024
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x4c], 0
je 0x1003a038
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x20], 0
je 0x1003a04c
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x50], 0
je 0x1003a060
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x54], 0
je 0x1003a074
mov edx, dword [ebp - 0x54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x28], 0
je 0x1003a088
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x58], 0
je 0x1003a09c
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x14], 0
je 0x1003a0b0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x5c], 0
je 0x1003a0c4
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x24], 0
je 0x1003a0d8
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 8]
call ecx
cmp dword [ebp - 0x94], 0
je 0x1003a0f5
mov edx, dword [ebp - 0x94]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [eax + 8]
call edx
xor eax, eax
mov byte [ebp - 0x30], al
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x30]
call fcn.10038f20
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], 0
jmp 0x1003a11e
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x6c], 0xb
jae 0x1003a16e
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x74]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x14c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x74]
movsx eax, byte [edx]
xor ecx, eax
mov word [ebp - 0xa4], cx
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x74]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dx, word [ebp - 0xa4]
mov word [ecx], dx
jmp 0x1003a115
mov eax, 0xb
shl eax, 1
mov ecx, dword [ebp - 0x74]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x154], edx
xor eax, eax
mov ecx, dword [ebp - 0x154]
mov word [ecx], ax
mov edx, dword [ebp - 0x74]
add edx, 2
mov dword [ebp - 0x158], edx
push 0
mov eax, dword [ebp - 0x158]
push eax
call fcn.10038a80
call eax
cmp dword [ebp - 4], 0
jne 0x1003a1bb
mov dword [ebp - 0xc4], 1
jmp 0x1003a1c5
mov dword [ebp - 0xc4], 0
mov al, byte [ebp - 0xc4]
mov esp, ebp
pop ebp
ret 0x14