Function at 0x403ac0
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
push edi
mov ebp, eax
push esi
push ebx
sub esp, 0x4c
cmp dword [ebp + 0x14], 0x1b
mov ebx, dword [eax + 0x34]
mov edi, dword [eax + 4]
mov eax, 2
ja 0x403af0
mov dword [ebp + 0x34], ebx
mov dword [ebp + 4], edi
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00401a70
mov eax, dword [ebp]
cmp eax, 7
je 0x403cae
cmp eax, 8
je 0x403b60
cmp eax, 9
je 0x403e00
cmp eax, 0xa
jne 0x404440
mov eax, dword [ebp + 0x40]
sub eax, ebx
sub eax, edi
sub edi, 1
js 0x403ca0
mov edx, ebx
sub edx, dword [ebp + 0x10c]
mov ecx, dword [ebp + 0x60]
and edx, dword [ebp + 0x44]
mov esi, eax
movzx edx, byte [ecx + edx]
mov byte [ecx + ebx], dl
add ebx, 1
add esi, edi
jne 0x403b25
mov dword [ebp], 0x10
mov eax, 1
jmp 0x403ada
mov dword [esp + 0x28], edi
mov edi, ebx
mov ebx, dword [ebp + 0xb0]
test ebx, ebx
je 0x403f20
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x100]
cmp ecx, 0x17
ja 0x404300
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
shr edx, cl
movzx edx, dl
lea edx, [ebx + edx*4]
movzx ebx, word [edx + 2]
movzx esi, byte [edx]
mov dword [esp + 0x2c], ebx
jmp 0x403c36
mov eax, dword [ebp + 0x100]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x60]
add edx, edi
cmp esi, 8
mov dword [esp + 0x34], edx
ja 0x4041b0
add ecx, esi
mov dword [ebp + 0xc], ecx
cmp ecx, 0x17
jbe 0x403bf3
mov edx, dword [ebp + 0x10]
shr eax, 0x18
xor ecx, 0x18
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
mov esi, dword [edx]
sub dword [ebp + 0x14], 3
add edx, 3
mov dword [ebp + 0x10], edx
shl esi, 8
or eax, esi
mov dword [ebp + 8], eax
mov esi, dword [esp + 0x30]
shr eax, cl
movzx ebx, byte [esp + 0x2c]
movzx eax, al
add edi, 1
lea eax, [esi + eax*4]
movzx esi, byte [eax]
movzx edx, word [eax + 2]
mov eax, dword [esp + 0x34]
mov byte [eax], bl
sub dword [ebp + 0xc0], 1
cmp edi, dword [ebp + 0x40]
je 0x404110
sub dword [esp + 0x28], 1
je 0x404380
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x2c], edx
cmp eax, 0x1b
jbe 0x404360
mov ecx, dword [ebp + 0xc0]
test ecx, ecx
jne 0x403ba4
mov eax, ebp
call fcn.004023b0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x100]
cmp ecx, 0x17
mov dword [esp + 0x30], eax
ja 0x404330
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x30]
mov edx, eax
shr edx, cl
movzx edx, dl
lea edx, [ebx + edx*4]
movzx ebx, word [edx + 2]
movzx esi, byte [edx]
mov edx, dword [ebp + 0xb0]
test edx, edx
mov dword [esp + 0x2c], ebx
jne 0x403bb4
jmp 0x403b66
mov eax, dword [ebp + 0xb8]
test eax, eax
jle 0x4040c8
mov eax, dword [ebp + 0x14]
cmp eax, 0x1b
jbe 0x40447f
mov esi, dword [ebp + 0xc4]
test esi, esi
je 0x40446c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x68]
cmp ecx, 0xf
ja 0x4040e0
mov esi, dword [ebp + 8]
mov eax, esi
shr eax, cl
mov dword [esp + 0x28], eax
movzx edi, byte [esp + 0x28]
lea edx, [edx + edi*4]
movzx edi, byte [edx]
mov eax, edi
cmp al, 8
jbe 0x403d13
movzx edi, al
mov eax, dword [esp + 0x28]
add ecx, 8
shr eax, 8
and eax, dword [edi*4 + 0x468d40]
movzx edi, word [edx + 2]
add eax, edi
lea edx, [edx + eax*4]
movzx edi, byte [edx]
movzx edx, word [edx + 2]
mov eax, edi
movzx eax, al
add ecx, eax
mov dword [ebp + 0xc], ecx
lea eax, [edx*8 + 0x4676e0]
movzx edx, byte [edx*8 + 0x4676e0]
movzx edi, word [eax + 4]
mov byte [esp + 0x28], dl
movzx edx, byte [eax + 1]
cmp byte [esp + 0x28], 0
mov word [esp + 0x30], di
movzx edi, word [eax + 6]
mov byte [esp + 0x2c], dl
movzx edx, byte [eax + 3]
movsx eax, byte [eax + 2]
mov word [esp + 0x34], di
mov edi, dword [ebp + 0x74]
mov dword [ebp + 0x10c], eax
movzx eax, dl
mov dword [ebp + 0xb4], eax
movzx eax, byte [edi + eax]
mov byte [ebp + 0x104], al
movzx eax, word [esp + 0x30]
mov dword [esp + 0x30], eax
jne 0x404490
mov eax, dword [ebp + 8]
xor esi, esi
movzx edx, byte [esp + 0x2c]
cmp edx, 0x10
ja 0x404130
cmp ecx, 0xf
jbe 0x403dbf
mov edi, dword [ebp + 0x10]
xor ecx, 0x10
shr eax, 0x10
mov dword [ebp + 0xc], ecx
movzx ecx, word [edi]
sub dword [ebp + 0x14], 2
shl ecx, 0x10
or eax, ecx
lea ecx, [edi + 2]
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0xc]
shr eax, cl
and eax, dword [edx*4 + 0x468d60]
add edx, ecx
mov dword [ebp + 0xc], edx
movzx edi, word [esp + 0x34]
sub dword [ebp + 0xc4], 1
add eax, edi
mov edi, dword [esp + 0x30]
mov dword [ebp + 0x108], eax
add edi, esi
je 0x403e00
sub dword [ebp + 0xb8], edi
mov dword [esp + 0x28], edi
mov edi, ebx
jmp 0x403b66
mov edx, dword [ebp + 0x10c]
test edx, edx
js 0x404233
sete al
movzx eax, al
mov dword [ebp + 0xb4], eax
mov eax, dword [ebp + 0x48]
sub eax, 1
mov dword [ebp + 0x48], eax
and eax, 3
mov eax, dword [ebp + eax*4 + 0x4c]
mov dword [ebp + 0x10c], eax
mov edx, dword [ebp + 0x38]
cmp dword [ebp + 0x3c], edx
je 0x403e40
cmp edx, ebx
cmovg edx, ebx
mov dword [ebp + 0x3c], edx
cmp edx, eax
mov edi, dword [ebp + 0x108]
jge 0x404010
cmp eax, 0x7ffffffc
jg 0x404681
lea ecx, [edi - 4]
cmp ecx, 0x14
ja 0x40468b
mov ecx, dword [ebp + 0x248]
sub eax, edx
mov edx, dword [ebp + 0x248]
sub eax, 1
mov esi, dword [ebp + 0x24c]
mov ecx, dword [ecx + edi*4 + 0x20]
mov dword [esp + 0x28], ecx
movzx ecx, byte [edx + edi]
mov edx, dword [ecx*4 + 0x468d60]
and edx, eax
sar eax, cl
mov ecx, dword [ebp + 0xb4]
add dword [ebp + 0x48], ecx
mov ecx, dword [ebp + 0x248]
imul edx, edi
add edx, dword [esp + 0x28]
mov ecx, dword [ecx + 0xa4]
test ecx, ecx
je 0x4045a2
cmp eax, dword [esi + 0xc]
jge 0x404695
add edx, ecx
movsx ecx, word [esi + 0x18]
cmp eax, ecx
je 0x404450
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], edx
mov eax, dword [ebp + 0x60]
add eax, ebx
mov dword [esp], eax
call fcn.00401800
mov esi, dword [ebp + 0xb8]
add ebx, eax
sub esi, eax
cmp ebx, dword [ebp + 0x40]
mov eax, esi
mov dword [ebp + 0xb8], esi
jl 0x4040c0
mov dword [ebp], 0xf
mov eax, 1
jmp 0x403ada
mov ecx, dword [ebp + 0x44]
mov edx, dword [ebp + 0x60]
lea eax, [edi - 1]
and eax, ecx
movzx ebx, byte [edx + eax]
lea eax, [edi - 2]
and eax, ecx
movzx edx, byte [edx + eax]
jmp 0x403fbf
mov eax, dword [ebp + 0x10]
movzx esi, word [ebp + 0xa]
xor ecx, 0x10
mov dword [ebp + 0xc], ecx
movzx eax, word [eax]
sub dword [ebp + 0x14], 2
shl eax, 0x10
or eax, esi
mov esi, dword [ebp + 0x10]
mov dword [ebp + 8], eax
add esi, 2
mov dword [ebp + 0x10], esi
shr eax, cl
movzx esi, al
lea esi, [edx + esi*4]
movzx edx, byte [esi]
cmp dl, 8
jbe 0x403f8e
shr eax, 8
and eax, dword [edx*4 + 0x468d40]
movzx edx, word [esi + 2]
add ecx, 8
add eax, edx
lea esi, [esi + eax*4]
movzx edx, byte [esi]
movzx eax, word [esi + 2]
add ecx, edx
mov edx, dword [ebp + 0x60]
mov dword [ebp + 0xc], ecx
mov byte [edx + edi], al
add edi, 1
sub dword [ebp + 0xc0], 1
cmp edi, dword [ebp + 0x40]
je 0x404110
sub dword [esp + 0x28], 1
mov edx, ebx
je 0x404380
mov ebx, eax
cmp dword [ebp + 0x14], 0x1b
jbe 0x404360
mov eax, dword [ebp + 0xc0]
test eax, eax
je 0x404210
mov ecx, dword [ebp + 0x6c]
movzx eax, dl
movzx edx, bl
movzx eax, byte [ecx + eax + 0x100]
or al, byte [ecx + edx]
mov edx, dword [ebp + 0x70]
mov ecx, dword [ebp + 0xc]
movzx eax, al
cmp ecx, 0xf
movzx edx, byte [edx + eax]
mov eax, dword [ebp + 0x78]
mov edx, dword [eax + edx*4]
ja 0x403f40
mov eax, dword [ebp + 8]
jmp 0x403f65
mov edx, ebx
sub edx, eax
and edx, dword [ebp + 0x44]
mov ecx, edx
mov edx, dword [ebp + 0x60]
mov dword [esp + 0x38], ecx
lea esi, [edx + ebx]
add edx, ecx
add ecx, edi
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 0x48]
mov dword [esp + 0x2c], esi
lea esi, [ebx + edi]
mov dword [esp + 0x3c], esi
mov esi, ecx
add ecx, 1
and esi, 3
mov dword [ebp + esi*4 + 0x4c], eax
sub dword [ebp + 0xb8], edi
mov dword [ebp + 0x48], ecx
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x2c]
cmp ebx, dword [esp + 0x28]
mov esi, eax
mov eax, dword [edx + 8]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x34], eax
mov eax, dword [edx]
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x34]
mov dword [ecx], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc], esi
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x40]
jge 0x404090
lea esi, [ebx + edi]
cmp dword [esp + 0x38], esi
jl 0x403b21
cmp dword [esp + 0x28], eax
jge 0x403b21
lea esi, [ebx + edi]
cmp esi, eax
jge 0x403b21
cmp edi, 0x10
jg 0x40463b
mov eax, dword [ebp + 0xb8]
mov ebx, esi
lea esi, [esi]
lea edi, [edi]
test eax, eax
jg 0x403cae
mov dword [ebp], 0xe
mov eax, 1
jmp 0x403ada
mov edi, dword [ebp + 0x10]
movzx esi, word [ebp + 0xa]
sub eax, 2
xor ecx, 0x10
mov dword [ebp + 0xc], ecx
movzx edi, word [edi]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
shl edi, 0x10
or esi, edi
lea edi, [eax + 2]
mov dword [ebp + 8], esi
mov dword [ebp + 0x10], edi
jmp 0x403cda
mov ebx, edi
mov edi, dword [esp + 0x28]
mov dword [ebp], 0xd
mov eax, 1
sub edi, 1
jmp 0x403ada
cmp ecx, 0xf
jbe 0x404156
mov edi, dword [ebp + 0x10]
shr eax, 0x10
xor ecx, 0x10
movzx edi, word [edi]
sub dword [ebp + 0x14], 2
shl edi, 0x10
or eax, edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 8], eax
add edi, 2
mov dword [ebp + 0x10], edi
mov edi, eax
shr edi, cl
add ecx, 0x10
cmp ecx, 0x17
movzx edi, di
mov dword [ebp + 0xc], ecx
jbe 0x404193
shr eax, 0x18
xor ecx, 0x18
mov dword [ebp + 8], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0xc], ecx
mov eax, dword [eax]
sub dword [ebp + 0x14], 3
add dword [ebp + 0x10], 3
mov dword [esp + 0x2c], eax
shl eax, 8
or eax, dword [esp + 0x28]
mov dword [ebp + 8], eax
sub edx, 0x10
shr eax, cl
and eax, dword [edx*4 + 0x468d60]
add ecx, edx
mov dword [ebp + 0xc], ecx
shl eax, 0x10
or eax, edi
jmp 0x403dd0
cmp ecx, 0xf
jbe 0x4041d3
mov ebx, dword [ebp + 0x10]
shr eax, 0x10
xor ecx, 0x10
movzx edx, word [ebx]
sub dword [ebp + 0x14], 2
shl edx, 0x10
or eax, edx
lea edx, [ebx + 2]
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], edx
mov edx, eax
shr edx, cl
mov ebx, edx
movzx edx, dl
add edx, dword [esp + 0x2c]
shr ebx, 8
and ebx, dword [esi*4 + 0x468d40]
shl edx, 2
lea edx, [edx + ebx*4]
add edx, dword [esp + 0x30]
movzx ebx, byte [edx]
lea ecx, [ecx + ebx + 8]
movzx ebx, word [edx + 2]
mov dword [ebp + 0xc], ecx
mov dword [esp + 0x2c], ebx
jmp 0x403bcb
mov eax, ebp
mov byte [esp + 0x2c], dl
call fcn.004023b0
mov esi, dword [ebp + 0xb0]
movzx edx, byte [esp + 0x2c]
test esi, esi
je 0x403fd7
jmp 0x403b66
mov eax, dword [ebp + 0xc8]
test eax, eax
mov dword [esp + 0x28], eax
je 0x40466b
movzx edx, byte [ebp + 0x104]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x98]
cmp ecx, 0xf
mov eax, dword [eax + edx*4]
ja 0x4043a3
mov edi, dword [ebp + 8]
mov edx, edi
shr edx, cl
movzx esi, dl
lea esi, [eax + esi*4]
movzx eax, byte [esi]
cmp al, 8
jbe 0x40428e
shr edx, 8
and edx, dword [eax*4 + 0x468d40]
movzx eax, word [esi + 2]
add ecx, 8
add eax, edx
lea esi, [esi + eax*4]
movzx eax, byte [esi]
movzx edx, word [esi + 2]
add ecx, eax
mov eax, dword [esp + 0x28]
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0xb4], 0
sub eax, 1
test edx, 0xfff0
mov dword [ebp + 0xc8], eax
jne 0x4043d0
cmp edx, 3
mov dword [ebp + 0x10c], edx
jg 0x404554
mov ecx, edx
mov eax, 1
sub edx, 3
sar eax, cl
mov ecx, dword [ebp + 0x48]
mov esi, eax
mov dword [ebp + 0xb4], eax
mov eax, ecx
sub ecx, esi
sub eax, edx
and eax, 3
mov eax, dword [ebp + eax*4 + 0x4c]
mov dword [ebp + 0x48], ecx
mov dword [ebp + 0x10c], eax
jmp 0x403e30
movzx eax, byte [ebp + 0xb]
mov esi, dword [ebp + 0x10]
xor ecx, 0x18
mov dword [ebp + 0xc], ecx
add esi, 3
mov dword [ebp + 8], eax
mov edx, dword [esi - 3]
mov dword [ebp + 0x10], esi
shl edx, 8
or edx, eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], edx
sub eax, 3
mov dword [ebp + 0x14], eax
jmp 0x403b8c
movzx ebx, byte [ebp + 0xb]
mov edx, dword [ebp + 0x10]
xor ecx, 0x18
mov dword [ebp + 0xc], ecx
add edx, 3
mov dword [ebp + 8], ebx
mov eax, dword [edx - 3]
sub dword [ebp + 0x14], 3
mov dword [ebp + 0x10], edx
shl eax, 8
or eax, ebx
mov dword [ebp + 8], eax
jmp 0x403c6d
mov ebx, edi
mov dword [ebp], 8
mov edi, dword [esp + 0x28]
mov eax, 2
jmp 0x403ada
mov ecx, dword [ebp + 0xb8]
mov ebx, edi
test ecx, ecx
jg 0x403e00
mov dword [ebp], 0xe
xor edi, edi
mov eax, 1
jmp 0x403ada
mov esi, dword [ebp + 0x10]
movzx edx, word [ebp + 0xa]
xor ecx, 0x10
mov dword [ebp + 0xc], ecx
movzx edi, word [esi]
add esi, 2
sub dword [ebp + 0x14], 2
mov dword [ebp + 0x10], esi
shl edi, 0x10
or edi, edx
mov dword [ebp + 8], edi
jmp 0x404264
movzx eax, byte [ebp + edx + 0x270]
cmp eax, 0x10
mov dword [esp + 0x28], eax
ja 0x4044df
cmp ecx, 0xf
jbe 0x40440b
mov eax, dword [ebp + 0x10]
xor ecx, 0x10
shr edi, 0x10
mov dword [ebp + 0xc], ecx
movzx ecx, word [eax]
sub dword [ebp + 0x14], 2
add eax, 2
mov dword [ebp + 0x10], eax
shl ecx, 0x10
or edi, ecx
mov dword [ebp + 8], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x28]
mov esi, dword [ebp + 8]
shr esi, cl
and esi, dword [eax*4 + 0x468d60]
add ecx, eax
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0xf0]
mov eax, dword [ebp + edx*4 + 0x490]
shl esi, cl
add eax, esi
mov dword [ebp + 0x10c], eax
jmp 0x403e30
mov eax, 0xffffffe1
jmp 0x403ae0
mov eax, dword [ebp + 0x60]
mov dword [esp + 8], edi
mov dword [esp + 4], edx
add eax, ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, edi
jmp 0x403eeb
mov eax, ebp
call fcn.00402650
mov eax, dword [ebp + 0x14]
cmp eax, 0x1b
ja 0x403cba
mov dword [ebp], 7
mov eax, 2
jmp 0x403ada
movzx edx, byte [esp + 0x28]
cmp edx, 0x10
ja 0x4045ac
cmp ecx, 0xf
jbe 0x4044c4
xor ecx, 0x10
shr esi, 0x10
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
movzx eax, word [ecx]
sub dword [ebp + 0x14], 2
add ecx, 2
mov dword [ebp + 0x10], ecx
shl eax, 0x10
or eax, esi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, eax
shr esi, cl
add ecx, edx
and esi, dword [edx*4 + 0x468d60]
mov dword [ebp + 0xc], ecx
jmp 0x403d8b
cmp ecx, 0xf
jbe 0x404505
mov esi, dword [ebp + 0x10]
shr edi, 0x10
xor ecx, 0x10
mov dword [ebp + 0xc], ecx
movzx eax, word [esi]
sub dword [ebp + 0x14], 2
add esi, 2
mov dword [ebp + 0x10], esi
shl eax, 0x10
or edi, eax
mov dword [ebp + 8], edi
mov esi, edi
shr esi, cl
add ecx, 0x10
cmp ecx, 0xf
movzx esi, si
jbe 0x404535
mov eax, dword [ebp + 0x10]
shr edi, 0x10
xor ecx, 0x10
movzx eax, word [eax]
sub dword [ebp + 0x14], 2
shl eax, 0x10
or edi, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], edi
add eax, 2
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x28]
shr edi, cl
sub eax, 0x10
and edi, dword [eax*4 + 0x468d60]
add ecx, eax
mov dword [ebp + 0xc], ecx
shl edi, 0x10
or esi, edi
jmp 0x404423
cmp edx, 9
jle 0x40462e
sub edx, 0xa
mov esi, 2
add esi, dword [ebp + 0x48]
lea ecx, [edx*4]
mov eax, 0x605142
sar eax, cl
and eax, 0xf
mov edx, esi
and edx, 3
mov edx, dword [ebp + edx*4 + 0x4c]
lea eax, [eax + edx - 3]
test eax, eax
jg 0x404434
mov dword [ebp + 0x10c], 0x7fffffff
mov eax, 0x7fffffff
jmp 0x403e30
mov eax, 0xffffffed
jmp 0x403ae0
cmp ecx, 0xf
jbe 0x4045cf
mov edi, dword [ebp + 0x10]
shr esi, 0x10
xor ecx, 0x10
movzx eax, word [edi]
sub dword [ebp + 0x14], 2
shl eax, 0x10
or esi, eax
lea eax, [edi + 2]
mov dword [ebp + 8], esi
mov dword [ebp + 0x10], eax
mov eax, esi
shr eax, cl
add ecx, 0x10
movzx eax, ax
cmp ecx, 0x17
mov dword [ebp + 0xc], ecx
mov dword [esp + 0x28], eax
jbe 0x404608
mov eax, dword [ebp + 0x10]
shr esi, 0x18
xor ecx, 0x18
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], ecx
mov edi, dword [eax]
sub dword [ebp + 0x14], 3
add eax, 3
mov dword [ebp + 0x10], eax
shl edi, 8
or esi, edi
mov dword [ebp + 8], esi
lea eax, [edx - 0x10]
shr esi, cl
mov edx, dword [eax*4 + 0x468d60]
add ecx, eax
mov dword [ebp + 0xc], ecx
and edx, esi
mov esi, dword [esp + 0x28]
mov eax, edx
shl eax, 0x10
or esi, eax
mov eax, dword [ebp + 8]
jmp 0x403d8b
sub edx, 4
mov esi, 3
jmp 0x404565
cmp edi, 0x20
jg 0x40469f
mov eax, dword [edx + 0x14]
mov ebx, dword [edx + 0x18]
mov ecx, dword [edx + 0x10]
mov esi, dword [esp + 0x2c]
mov edx, dword [edx + 0x1c]
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], edx
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebp + 0xb8]
jmp 0x4040c0
mov eax, ebp
call fcn.004028c0
mov eax, dword [ebp + 0xc8]
mov dword [esp + 0x28], eax
jmp 0x404245
mov eax, 0xfffffff0
jmp 0x403ae0
mov eax, 0xfffffff4
jmp 0x403ae0
mov eax, 0xfffffff5
jmp 0x403ae0
mov ecx, dword [esp + 0x2c]
lea eax, [edi - 0x10]
add edx, 0x10
mov dword [esp + 4], edx
mov dword [esp + 8], eax
add ecx, 0x10
mov dword [esp], ecx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0xb8]
mov ebx, dword [esp + 0x3c]
jmp 0x4040c0