Function at 0x1003f310
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.1003ecc0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 0
jmp 0x1003f34c
mov edx, dword [ebp - 0x80]
add edx, 1
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x80], 0xb
jae 0x1003f3a5
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 0x1003f343
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.1003eb70
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1003f3f9
cmp dword [ebp - 4], 1
jne 0x1003f400
xor al, al
jmp 0x1004046b
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.1003ed70
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0
jmp 0x1003f48c
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0xb
jae 0x1003f4ee
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 0x1003f47d
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.1003ec00
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.1003ee20
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x90], 0
jmp 0x1003f808
mov ecx, dword [ebp - 0x90]
add ecx, 1
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0xb
jae 0x1003f861
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 0x1003f7f9
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.1003ebd0
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x1003f8c1
cmp dword [ebp - 4], 1
jne 0x1003f8c6
jmp 0x1004029b
lea eax, [ebp - 0x44]
push eax
push 0
push 0
call fcn.1003eb40
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.1003ec60
call eax
cmp dword [ebp - 4], 0
jl 0x1003f971
cmp dword [ebp - 4], 1
jne 0x1003f976
jmp 0x1004029b
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 0x1003f999
cmp dword [ebp - 4], 1
jne 0x1003f99e
jmp 0x1004029b
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 0x1003f9bf
cmp dword [ebp - 4], 1
jne 0x1003f9c4
jmp 0x1004029b
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 0x1003f9e7
cmp dword [ebp - 4], 1
jne 0x1003f9ec
jmp 0x1004029b
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 0x1003fa0b
cmp dword [ebp - 4], 1
jne 0x1003fa10
jmp 0x1004029b
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 0x1003fa31
cmp dword [ebp - 4], 1
jne 0x1003fa36
jmp 0x1004029b
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.1003eb10
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 0x1003fb95
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 0x1003fb95
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 0x1003fb1b
movzx edx, word [ebp - 0x1c]
and edx, 0x80000003
jns 0x1003faf7
dec edx
or edx, 0xfffffffc
inc edx
test edx, edx
jne 0x1003fb1b
movzx eax, word [ebp - 0xc]
cmp eax, 0x1d
jle 0x1003fb1b
mov ecx, 1
mov word [ebp - 0xc], cx
mov dx, word [ebp - 8]
add dx, 1
mov word [ebp - 8], dx
jmp 0x1003fb77
movzx eax, word [ebp - 8]
cmp eax, 2
jne 0x1003fb59
movzx ecx, word [ebp - 0x1c]
and ecx, 0x80000003
jns 0x1003fb35
dec ecx
or ecx, 0xfffffffc
inc ecx
test ecx, ecx
je 0x1003fb59
movzx edx, word [ebp - 0xc]
cmp edx, 0x1c
jle 0x1003fb59
mov eax, 1
mov word [ebp - 0xc], ax
mov cx, word [ebp - 8]
add cx, 1
mov word [ebp - 8], cx
jmp 0x1003fb77
movzx edx, word [ebp - 0xc]
cmp edx, 0x1f
jle 0x1003fb77
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 0x1003fb95
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.1003eed0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0
jmp 0x1003fbbe
mov ecx, dword [ebp - 0x64]
add ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0x1b
jae 0x1003fc0e
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 0x1003fbb5
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.10040570
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 0x1003ff14
xor edx, edx
mov byte [ebp - 0x95], dl
mov byte [ebp - 0xbc], 0x73
xor eax, eax
mov byte [ebp - 0xbb], al
mov ecx, 0x23
mov word [ebp - 0xba], cx
mov edx, 0x27
mov word [ebp - 0xb8], dx
mov eax, 0x43
mov word [ebp - 0xb6], ax
mov ecx, 0x20
mov word [ebp - 0xb4], cx
xor edx, edx
mov word [ebp - 0xb2], dx
mov dword [ebp - 0x7c], 0
jmp 0x1003fd0b
mov eax, dword [ebp - 0x7c]
add eax, 1
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 4
jae 0x1003fd5c
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 0x1003fd02
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], 0x22
xor ecx, ecx
mov byte [ebp - 0xaf], cl
mov edx, 0x72
mov word [ebp - 0xae], dx
mov eax, 0x76
mov word [ebp - 0xac], ax
mov ecx, 0x13
mov word [ebp - 0xaa], cx
mov edx, 0x6f
mov word [ebp - 0xa8], dx
xor eax, eax
mov word [ebp - 0xa6], ax
mov dword [ebp - 0x78], 0
jmp 0x1003fe14
mov ecx, dword [ebp - 0x78]
add ecx, 1
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0x78], 4
jae 0x1003fe65
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 0x1003fe0b
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 0x1003ff14
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 [0x100536f0]
mov dword [ebp - 0x17c], ecx
mov edx, dword [0x100536f4]
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.1003ec90
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.10040570
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 0x1003ff97
cmp dword [ebp - 4], 1
jne 0x1003ff9c
jmp 0x1004029b
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 0x1003ffbd
cmp dword [ebp - 4], 1
jne 0x1003ffc2
jmp 0x1004029b
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 0x1003ffe5
cmp dword [ebp - 4], 1
jne 0x1003ffea
jmp 0x1004029b
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 0x1004015b
cmp dword [ebp - 4], 1
jne 0x10040160
jmp 0x1004029b
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 0x10040181
cmp dword [ebp - 4], 1
jne 0x10040186
jmp 0x1004029b
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 0x100401a7
cmp dword [ebp - 4], 1
jne 0x100401ac
jmp 0x1004029b
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 0x100401cd
cmp dword [ebp - 4], 1
jne 0x100401d2
jmp 0x1004029b
lea eax, [ebp - 0x5c]
push eax
push 0x100536f8
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 0x100401f8
cmp dword [ebp - 4], 1
jne 0x100401fd
jmp 0x1004029b
lea edx, [ebp - 0x44]
push edx
push 0
push 0
call fcn.1003eb40
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.1003ec60
call eax
xor edx, edx
jne 0x1003f457
cmp dword [ebp - 0x70], 0
je 0x100402b0
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
call fcn.1003ec30
call eax
cmp dword [ebp - 0x10], 0
je 0x100402c4
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 0x100402d8
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 0x100402ec
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 0x10040300
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 0x10040314
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 0x10040328
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 0x1004033c
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 0x10040350
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 0x10040364
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 0x10040378
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 0x10040395
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.1003f040
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], 0
jmp 0x100403be
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
cmp dword [ebp - 0x6c], 0xb
jae 0x1004040e
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 0x100403b5
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.1003eba0
call eax
cmp dword [ebp - 4], 0
jne 0x1004045b
mov dword [ebp - 0xc4], 1
jmp 0x10040465
mov dword [ebp - 0xc4], 0
mov al, byte [ebp - 0xc4]
mov esp, ebp
pop ebp
ret 0x14