Function at 0x3e8e1d
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 0x10]
or dword [ebp - 0x14], 0xffffffff
or dword [ebp - 0x2c], 0xffffffff
and dword [ebp - 0x30], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov byte [ebp - 1], 0
mov byte [ebp - 2], 0
cmp eax, ebx
jb 0x3ea231
test bl, 3
jne 0x3ea231
test al, 3
jne 0x3ea231
cmp eax, dword [ebp + 0x20]
ja 0x3ea231
push edi
mov edi, dword [ebp + 8]
push ebx
push edi
push dword [ebp + 0x1c]
call fcn.00363a00
mov ecx, dword [ebp + 0x1c]
lea eax, [edi + ebx]
mov edi, dword [ebp + 0x10]
sub edi, ebx
add esp, 0xc
lea edx, [ebx + ecx]
cmp edi, 8
jb 0x3e8ebc
mov ecx, eax
sub ecx, ebx
mov ebx, edi
shr ebx, 3
mov dword [ebp + 0x20], ebx
mov ebx, dword [ecx]
xor ebx, dword [eax]
add ecx, 4
mov dword [edx], ebx
mov ebx, dword [ecx]
add eax, 4
xor ebx, dword [eax]
add edx, 4
mov dword [edx], ebx
add edx, 4
add eax, 4
add ecx, 4
sub edi, 8
dec dword [ebp + 0x20]
jne 0x3e8e96
test edi, edi
je 0x3e8ecb
mov ecx, eax
sub ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
xor ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [ebp + 0x24]
mov byte [eax + 8], 0
mov byte [eax + 0x14], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
xor edi, edi
and dword [ebp - 0x24], edi
mov byte [ebp + 0x23], 1
mov dword [ebp - 0x18], 2
mov dword [ebp + 0x10], eax
jmp 0x3e9913
cmp dword [ebp - 0x18], 0x2000
jae 0x3ea230
jmp 0x3e97b7
mov edx, dword [ebp + 0x1c]
lea ecx, [edi + edx]
movzx eax, byte [ecx]
movzx ebx, byte [ecx + 1]
shl eax, 8
or eax, ebx
movzx ebx, byte [ecx + 2]
shl eax, 8
or eax, ebx
movzx ebx, byte [ecx + 3]
shl eax, 8
or eax, ebx
jne 0x3e90cd
lea eax, [edi + 4]
cmp eax, dword [ebp + 0x10]
jae 0x3e90b8
lea eax, [edi + edx + 4]
movzx edx, byte [eax]
movzx ebx, byte [eax + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, eax
jne 0x3e90b8
lea eax, [edi + 8]
cmp eax, dword [ebp + 0x10]
jae 0x3e90b4
mov eax, dword [ebp + 0x1c]
lea eax, [edi + eax + 8]
movzx edx, byte [eax]
movzx ebx, byte [eax + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, eax
jne 0x3e90b4
lea eax, [edi + 0xc]
cmp eax, dword [ebp + 0x10]
jae 0x3e90af
mov eax, dword [ebp + 0x1c]
lea eax, [edi + eax + 0xc]
movzx ebx, byte [eax]
movzx edx, byte [eax + 1]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, eax
jne 0x3e90af
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 0x10]
sub ecx, edi
lea ebx, [ecx + edx - 0x10]
movzx ecx, byte [eax - 4]
movzx edx, byte [eax - 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 1]
shl ecx, 8
or ecx, edx
lea edx, [eax + 3]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], 4
cmp edx, ebx
jae 0x3e9055
mov dword [ebp - 0x1c], edx
movzx edx, byte [edx - 2]
movzx ebx, byte [eax]
shl ebx, 8
or edx, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx - 1]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx]
shl edx, 8
or edx, ebx
cmp edx, ecx
jne 0x3e904f
mov edx, dword [ebp - 0x1c]
inc dword [ebp - 0x10]
add edx, 4
add eax, 4
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x28]
jb 0x3e9014
cmp dword [ebp - 0x10], 0
jbe 0x3e909d
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov byte [ebp - 1], 1
cmp ebx, 0x14
jb 0x3e90a0
cmp byte [ebp - 1], 3
mov byte [ebp - 2], 0
jne 0x3e9827
mov eax, dword [ebp + 0x1c]
add eax, edi
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x14], ecx
jmp 0x3e9833
mov ebx, dword [ebp - 8]
cmp byte [ebp - 2], 0
je 0x3e97fd
jmp 0x3e921e
push 3
pop ebx
jmp 0x3e90bb
push 2
jmp 0x3e90b1
xor ebx, ebx
inc ebx
cmp byte [ebp - 2], 0
mov byte [ebp - 1], 1
mov dword [ebp - 8], ebx
je 0x3e9064
jmp 0x3e921e
movzx ebx, byte [ecx]
movzx eax, byte [ecx + 1]
shl ebx, 8
or eax, ebx
movzx ebx, byte [ecx + 2]
shl eax, 8
or eax, ebx
movzx ebx, byte [ecx + 3]
shl eax, 8
or eax, ebx
movzx ebx, byte [edi + edx + 4]
movzx edx, byte [edi + edx + 5]
shl ebx, 8
or ebx, edx
mov edx, dword [ebp + 0x1c]
movzx edx, byte [edi + edx + 6]
shl ebx, 8
or ebx, edx
mov edx, dword [ebp + 0x1c]
movzx edx, byte [edi + edx + 7]
shl ebx, 8
or ebx, edx
cmp eax, ebx
jne 0x3e921e
mov edx, dword [ebp + 0x1c]
movzx ebx, byte [edi + edx + 9]
movzx edx, byte [edi + edx + 8]
shl edx, 8
or ebx, edx
mov edx, dword [ebp + 0x1c]
movzx edx, byte [edi + edx + 0xa]
shl ebx, 8
or ebx, edx
mov edx, dword [ebp + 0x1c]
movzx edx, byte [edi + edx + 0xb]
shl ebx, 8
or ebx, edx
cmp eax, ebx
jne 0x3e921e
mov edx, dword [ebp + 0x1c]
lea edx, [edi + edx + 0xc]
movzx ebx, byte [edx + 1]
mov dword [ebp - 0x20], edx
movzx edx, byte [edx]
shl edx, 8
or ebx, edx
mov edx, dword [ebp - 0x20]
movzx edx, byte [edx + 2]
shl ebx, 8
or ebx, edx
mov edx, dword [ebp - 0x20]
movzx edx, byte [edx + 3]
shl ebx, 8
or ebx, edx
cmp eax, ebx
jne 0x3e921e
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 0x10]
sub ecx, edi
lea ebx, [ecx + edx - 0x10]
movzx edx, byte [eax - 4]
movzx ecx, byte [eax - 3]
shl edx, 8
or ecx, edx
movzx edx, byte [eax - 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 1]
shl ecx, 8
or ecx, edx
lea edx, [eax + 3]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x10], 4
cmp edx, ebx
jae 0x3e921e
mov dword [ebp - 0x1c], edx
movzx edx, byte [edx - 2]
movzx ebx, byte [eax]
shl ebx, 8
or edx, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx - 1]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx]
shl edx, 8
or edx, ebx
cmp edx, ecx
jne 0x3e9200
mov edx, dword [ebp - 0x1c]
inc dword [ebp - 0x10]
add edx, 4
add eax, 4
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x28]
jb 0x3e91c5
mov eax, dword [ebp - 0x10]
cmp eax, 5
jbe 0x3e921e
test eax, eax
jbe 0x3e921e
mov ebx, eax
mov dword [ebp - 8], ebx
mov byte [ebp - 1], 3
cmp eax, 0x14
jae 0x3e9064
mov edx, dword [ebp + 8]
lea eax, [edi + edx]
movzx ecx, byte [eax]
movzx ebx, byte [eax + 1]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [eax + 2]
shl ecx, 8
or ecx, ebx
movzx ebx, byte [eax + 3]
shl ecx, 8
or ecx, ebx
mov dword [ebp - 0x20], ecx
lea ecx, [edi + edx + 4]
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, ecx
mov ecx, dword [ebp + 8]
lea ecx, [edi + ecx + 8]
movzx ebx, byte [ecx]
mov dword [ebp - 0x1c], edx
movzx edx, byte [ecx + 1]
shl ebx, 8
or edx, ebx
movzx ebx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, ecx
cmp dword [ebp - 0x20], edx
jne 0x3e94a9
mov ecx, dword [ebp + 8]
lea ecx, [edi + ecx + 0x10]
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, ecx
cmp dword [ebp - 0x20], edx
jne 0x3e94a9
mov ecx, dword [ebp + 8]
lea ecx, [edi + ecx + 0xc]
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, ecx
cmp dword [ebp - 0x1c], edx
jne 0x3e94a9
mov ecx, dword [ebp + 8]
lea ecx, [edi + ecx + 0x14]
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, ecx
mov ecx, dword [ebp - 0x1c]
cmp ecx, edx
jne 0x3e94a9
cmp dword [ebp - 0x20], ecx
jne 0x3e93e3
cmp byte [ebp + 0x23], 0
jne 0x3e94a9
mov edx, dword [ebp + 0x10]
lea ecx, [eax + 0x10]
movzx ebx, byte [ecx - 4]
sub eax, edi
lea eax, [eax + edx - 0x10]
movzx edx, byte [ecx - 3]
shl ebx, 8
or edx, ebx
movzx ebx, byte [ecx - 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx - 1]
shl edx, 8
or edx, ebx
lea ebx, [ecx + 3]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc], 4
cmp ebx, eax
jae 0x3e94a9
mov dword [ebp - 0x1c], ebx
movzx eax, byte [ebx - 2]
movzx ebx, byte [ecx]
shl ebx, 8
or eax, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx - 1]
shl eax, 8
or eax, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx]
shl eax, 8
or eax, ebx
cmp eax, edx
jne 0x3e93b5
mov ebx, dword [ebp - 0x1c]
inc dword [ebp - 0xc]
add ebx, 4
add ecx, 4
mov dword [ebp - 0x1c], ebx
cmp ebx, dword [ebp - 0x28]
jb 0x3e937a
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
cmp eax, 5
jbe 0x3e94ac
cmp eax, ebx
jbe 0x3e94ac
mov byte [ebp - 1], 4
mov ebx, eax
mov dword [ebp - 8], ebx
cmp eax, 0x14
jae 0x3e9064
jmp 0x3e94ac
mov ecx, dword [ebp + 0x10]
movzx edx, byte [eax + 1]
movzx ebx, byte [eax + 4]
sub ecx, edi
movsx ecx, cx
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [eax]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
and dword [ebp - 0xc], 0
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 5]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 6]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 7]
shl edx, 8
or edx, ebx
cmp dword [ebp - 0x1c], 4
mov dword [ebp - 0x28], edx
jle 0x3e94a9
movzx edx, byte [eax]
movzx ebx, byte [eax + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 3]
shl edx, 8
or edx, ebx
cmp edx, ecx
jne 0x3e9491
movzx ebx, byte [eax + 5]
add eax, 4
movzx edx, byte [eax]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 3]
shl edx, 8
or edx, ebx
cmp edx, dword [ebp - 0x28]
jne 0x3e9491
sub dword [ebp - 0x1c], 8
add dword [ebp - 0xc], 2
add eax, 4
cmp dword [ebp - 0x1c], 4
jg 0x3e9438
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
cmp eax, 9
jbe 0x3e94ac
cmp eax, ebx
jbe 0x3e94ac
mov byte [ebp - 1], 5
jmp 0x3e93d0
mov ebx, dword [ebp - 8]
cmp ebx, 6
jae 0x3e9757
mov eax, dword [ebp + 0x1c]
lea ecx, [edi + eax + 4]
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx + 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx + 3]
shl edx, 8
or edx, ebx
jne 0x3e9641
lea eax, [edi + eax + 8]
movzx edx, byte [eax]
movzx ebx, byte [eax + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, eax
jne 0x3e9641
mov eax, dword [ebp + 0x1c]
lea eax, [edi + eax + 0xc]
movzx edx, byte [eax]
movzx ebx, byte [eax + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, eax
jne 0x3e9641
mov eax, dword [ebp + 0x1c]
lea eax, [edi + eax + 0x10]
movzx ebx, byte [eax]
movzx edx, byte [eax + 1]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, eax
jne 0x3e9641
mov eax, dword [ebp + 0x1c]
add eax, edi
movzx ebx, byte [eax]
movzx edx, byte [eax + 1]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, ebx
shl edx, 8
or edx, eax
cmp edx, dword [ebp - 0x14]
jne 0x3e9641
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0x24]
imul eax, eax, 0xc
cmp byte [eax + edx - 4], 1
jne 0x3e9641
movzx eax, word [ebp + 0x14]
cmp edi, eax
je 0x3e9641
mov edx, dword [ebp + 0x10]
lea eax, [ecx + 0x10]
movzx ebx, byte [eax - 4]
sub ecx, edi
lea ecx, [ecx + edx - 0x14]
movzx edx, byte [eax - 3]
shl ebx, 8
or edx, ebx
movzx ebx, byte [eax - 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax - 1]
shl edx, 8
or edx, ebx
lea ebx, [eax + 3]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0xc], 4
cmp ebx, ecx
jae 0x3e9624
mov dword [ebp - 0x1c], ebx
movzx ecx, byte [ebx - 2]
movzx ebx, byte [eax]
shl ebx, 8
or ecx, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx - 1]
shl ecx, 8
or ecx, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx]
shl ecx, 8
or ecx, ebx
cmp ecx, edx
jne 0x3e9624
mov ebx, dword [ebp - 0x1c]
inc dword [ebp - 0xc]
add ebx, 4
add eax, 4
mov dword [ebp - 0x1c], ebx
cmp ebx, dword [ebp - 0x28]
jb 0x3e95e9
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
inc eax
cmp eax, ebx
jbe 0x3e9757
mov ebx, eax
mov byte [ebp - 1], 2
cmp eax, 0x14
jmp 0x3e9751
mov eax, dword [ebp + 0x1c]
add eax, edi
movzx edx, byte [eax]
and dword [ebp - 0xc], 0
mov ecx, eax
sub ecx, edi
add ecx, dword [ebp + 0x10]
shl edx, 8
mov dword [ebp - 0x28], ecx
lea ecx, [eax + 1]
movzx ebx, byte [ecx]
or edx, ebx
movzx ebx, byte [eax + 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [eax + 3]
shl edx, 8
or edx, ebx
mov ebx, ecx
push 0xfffffffffffffffe
pop ecx
mov byte [ebp - 3], 0
mov dword [ebp - 0x2c], edx
sub ecx, eax
add ebx, 4
sub ecx, 4
inc dword [ebp - 0xc]
lea eax, [ebx + 3]
mov dword [ebp - 0x1c], ebx
cmp eax, dword [ebp - 0x28]
ja 0x3e9727
movzx eax, byte [ebx - 1]
movzx ebx, byte [ebx]
shl eax, 8
or eax, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + 1]
shl eax, 8
or eax, ebx
mov ebx, dword [ebp - 0x1c]
movzx ebx, byte [ebx + 2]
shl eax, 8
or eax, ebx
cmp eax, edx
je 0x3e96c6
test eax, eax
jne 0x3e9727
test byte [ebp - 0xc], 7
mov ebx, dword [ebp - 0x1c]
jne 0x3e971d
lea eax, [ebx + 0x5f]
cmp eax, dword [ebp - 0x28]
ja 0x3e971d
lea eax, [ebx + 5]
mov dword [ebp - 0x20], eax
movzx ebx, byte [eax - 2]
movzx eax, byte [eax - 1]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 1]
shl ebx, 8
or ebx, eax
cmp ebx, edx
jne 0x3e971a
mov eax, dword [ebp - 0x20]
add eax, 4
lea ebx, [eax + ecx]
cmp ebx, 0x60
mov byte [ebp - 3], 1
mov dword [ebp - 0x20], eax
jl 0x3e96dd
mov ebx, dword [ebp - 0x1c]
cmp byte [ebp - 3], 0
je 0x3e9682
push 0x30
pop eax
cmp edx, dword [ebp - 0x14]
jne 0x3e9732
push 0x20
pop eax
mov ecx, dword [ebp - 0xc]
test cl, 7
jne 0x3e973d
sub eax, 8
mov ebx, dword [ebp - 8]
cmp ecx, eax
jb 0x3e9757
cmp ecx, ebx
jbe 0x3e9757
mov ebx, ecx
mov byte [ebp - 1], 6
cmp ecx, 0x14
jae 0x3e9064
cmp byte [ebp - 2], 0
jne 0x3e97e6
cmp ebx, 6
jae 0x3e97fd
cmp dword [ebp - 0x10], 4
jbe 0x3e97e0
mov eax, dword [ebp + 0x1c]
add eax, edi
movzx edx, byte [eax]
movzx ecx, byte [eax + 1]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
or ecx, edx
shl ecx, 8
or ecx, eax
cmp ecx, dword [ebp - 0x14]
jne 0x3e97e0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x24]
imul eax, eax, 0xc
add eax, ecx
cmp byte [eax - 4], 3
jne 0x3e97d4
cmp edi, dword [ebp + 0x14]
je 0x3e97d4
mov ecx, dword [ebp - 0x10]
add dword [eax - 8], ecx
lea edi, [edi + ecx*4]
and dword [ebp - 8], 0
and dword [ebp - 0x10], 0
lea eax, [edi + 0x18]
cmp eax, dword [ebp + 0x10]
jb 0x3e8f09
xor ebx, ebx
mov byte [ebp - 1], 7
inc ebx
jmp 0x3e9807
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 1], 3
jmp 0x3e9064
test ebx, ebx
jne 0x3e97fd
jmp 0x3e97f6
cmp ebx, 6
jb 0x3e97f6
cmp byte [ebp - 1], 1
je 0x3e97fd
cmp ebx, 8
jae 0x3e97fd
xor ebx, ebx
inc ebx
mov byte [ebp - 1], 7
cmp byte [ebp - 1], 7
jne 0x3e9064
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x24]
imul eax, eax, 0xc
add eax, ecx
cmp byte [eax - 4], 7
mov byte [ebp - 2], 1
jne 0x3e9833
add dword [eax - 8], ebx
lea edi, [edi + ebx*4]
jmp 0x3e9913
cmp byte [ebp - 1], 6
jne 0x3e9833
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
movzx eax, word [ebp + 0x14]
cmp edi, eax
lea edi, [edi + ebx*4]
je 0x3e98f7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x24]
imul eax, eax, 0xc
mov dl, byte [ebp - 1]
add eax, ecx
mov cl, byte [eax - 4]
cmp dl, cl
jne 0x3e986e
cmp dl, 1
je 0x3e987e
cmp dl, 3
je 0x3e9866
cmp dl, 6
jne 0x3e986e
mov edx, dword [ebp - 0x14]
cmp edx, dword [eax - 0xc]
je 0x3e987e
cmp byte [ebp - 1], 1
jne 0x3e9886
cmp cl, 1
je 0x3e987e
cmp cl, 2
jne 0x3e98b0
add dword [eax - 8], ebx
jmp 0x3e9913
cmp byte [ebp - 1], 6
jne 0x3e98aa
cmp cl, 1
jne 0x3e98f7
mov ecx, dword [eax - 8]
cmp ecx, 8
jae 0x3e98f7
add ecx, ebx
mov dword [eax - 8], ecx
mov ecx, dword [ebp - 0x14]
mov byte [eax - 4], 6
mov dword [eax - 0xc], ecx
jmp 0x3e9913
cmp byte [ebp - 1], 2
jne 0x3e98dc
cmp cl, 6
jne 0x3e98dc
mov edx, dword [eax - 8]
and edx, 7
je 0x3e98dc
push 8
pop ecx
sub ecx, edx
cmp ecx, ebx
jbe 0x3e98c8
mov ecx, ebx
add dword [eax - 8], ecx
mov edx, dword [eax - 8]
sub ebx, ecx
cmp ebx, 9
jae 0x3e98dc
add edx, ebx
mov dword [eax - 8], edx
jmp 0x3e9913
cmp byte [ebp - 1], 7
jne 0x3e98f7
cmp byte [eax - 0x10], 7
jne 0x3e98f7
cmp dword [eax - 8], 1
jne 0x3e98f7
inc ebx
add dword [eax - 0x14], ebx
dec dword [ebp - 0x18]
jmp 0x3e9913
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x24]
imul eax, eax, 0xc
add eax, ecx
mov cl, byte [ebp - 1]
inc dword [ebp - 0x18]
mov byte [eax + 8], cl
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ebx
mov dword [eax], ecx
cmp edi, dword [ebp + 0x10]
jb 0x3e8ef7
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
mov eax, dword [ebp - 0x34]
mov dword [ebp + 0x10], eax
mov byte [ebp + 0x23], 0
jb 0x3e9913
or dword [ebp - 0x14], 0xffffffff
push 2
pop eax
xor ebx, ebx
cmp dword [ebp - 0x18], eax
mov dword [ebp + 0x10], ebx
mov byte [ebp + 0x23], 1
mov dword [ebp - 0x20], eax
jle 0x3ea22a
mov eax, esi
sub eax, dword [ebp + 0xc]
add eax, 7
cmp eax, dword [ebp + 0x18]
ja 0x3ea230
cmp byte [ebp + 0x23], 0
je 0x3e996b
cmp ebx, dword [ebp + 0x14]
jb 0x3e996b
mov byte [ebp + 0x23], 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x24]
imul eax, eax, 0xc
lea edi, [eax + ecx]
mov al, byte [edi + 8]
test al, al
jbe 0x3ea21b
cmp al, 2
jbe 0x3ea1ef
cmp al, 3
je 0x3ea17b
cmp al, 4
je 0x3ea142
cmp al, 5
je 0x3ea084
cmp al, 6
je 0x3e9a72
cmp al, 7
jne 0x3ea21b
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x3e9a19
mov ecx, dword [ebp + 8]
add ecx, ebx
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx + 2]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx + 3]
shl edx, 8
or edx, ebx
jne 0x3e99ee
mov ebx, dword [ebp + 0x10]
mov byte [esi], 0xfe
inc esi
add ebx, 4
jmp 0x3ea218
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 1]
shl edx, 8
or edx, ebx
movzx ebx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl edx, 8
or edx, ebx
mov ebx, dword [ebp + 0x10]
shl edx, 8
or edx, ecx
cmp edx, 0xffffffff
jne 0x3e9a19
mov byte [esi], 0xfd
jmp 0x3e99e5
cmp eax, 0x1f
ja 0x3e9a22
or al, 0x80
jmp 0x3e9a2f
cmp eax, 0x11f
ja 0x3e9a34
mov byte [esi], 0x80
inc esi
sub al, 0x20
mov byte [esi], al
inc esi
jmp 0x3e9a3d
mov byte [esi], 0xf4
inc esi
mov word [esi], ax
inc esi
inc esi
mov eax, dword [edi + 4]
shl eax, 2
mov ecx, eax
sub ecx, dword [ebp + 0xc]
add ecx, esi
cmp ecx, dword [ebp + 0x18]
ja 0x3ea230
push eax
mov eax, dword [ebp + 8]
add eax, ebx
push eax
push esi
call fcn.00363a00
mov eax, dword [edi + 4]
shl eax, 2
add esp, 0xc
add esi, eax
add ebx, eax
jmp 0x3ea218
mov ecx, dword [edi + 4]
lea eax, [ecx + 7]
shr eax, 3
sub eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], ecx
lea eax, [eax + esi + 7]
cmp eax, dword [ebp + 0x18]
ja 0x3ea230
mov edi, dword [edi]
cmp dword [ebp - 0x14], edi
je 0x3e9d95
mov eax, edi
mov dword [ebp - 0x14], eax
test cl, 7
jne 0x3e9ab2
cmp ecx, 0x78
ja 0x3e9ab2
mov edx, ecx
shr edx, 3
or dl, 0xd0
jmp 0x3e9ac7
cmp ecx, 0xff
ja 0x3e9acc
cmp ecx, 2
jb 0x3e9af5
mov byte [esi], 0xd0
mov dl, cl
inc esi
dec dl
mov byte [esi], dl
inc esi
jmp 0x3e9ada
cmp ecx, 3
jb 0x3e9af5
mov byte [esi], 0xf7
inc esi
mov word [esi], cx
inc esi
inc esi
mov edx, eax
shr edx, 8
mov byte [esi + 2], dl
mov edx, eax
mov byte [esi + 3], al
shr edx, 0x10
shr eax, 0x18
mov byte [esi + 1], dl
mov byte [esi], al
add esi, 4
cmp ecx, 8
jb 0x3e9c47
mov eax, dword [ebp + 0x1c]
mov edx, ecx
shr edx, 3
mov dword [ebp - 0x2c], edx
shl edx, 5
lea eax, [ebx + eax + 0x1e]
add ebx, edx
mov dword [ebp + 0x10], ebx
mov byte [esi], 0
movzx edx, byte [eax - 0x1e]
movzx edi, byte [eax - 0x1d]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 0x1c]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 0x1b]
shl edx, 8
or edx, edi
je 0x3e9b3c
mov byte [esi], 1
movzx edx, byte [eax - 0x1a]
movzx edi, byte [eax - 0x19]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 0x18]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 0x17]
shl edx, 8
or edx, edi
je 0x3e9b60
or byte [esi], 2
movzx edx, byte [eax - 0x16]
movzx edi, byte [eax - 0x15]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 0x14]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 0x13]
shl edx, 8
or edx, edi
je 0x3e9b84
or byte [esi], 4
movzx edx, byte [eax - 0x12]
movzx edi, byte [eax - 0x11]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 0x10]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 0xf]
shl edx, 8
or edx, edi
je 0x3e9ba8
or byte [esi], 8
movzx edx, byte [eax - 0xe]
movzx edi, byte [eax - 0xd]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 0xc]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 0xb]
shl edx, 8
or edx, edi
je 0x3e9bcc
or byte [esi], 0x10
movzx edx, byte [eax - 0xa]
movzx edi, byte [eax - 9]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 8]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 7]
shl edx, 8
or edx, edi
je 0x3e9bf0
or byte [esi], 0x20
movzx edx, byte [eax - 6]
movzx edi, byte [eax - 5]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 4]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 3]
shl edx, 8
or edx, edi
je 0x3e9c14
or byte [esi], 0x40
movzx edx, byte [eax - 2]
movzx edi, byte [eax - 1]
shl edx, 8
or edx, edi
movzx edi, byte [eax]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 1]
shl edx, 8
or edx, edi
je 0x3e9c37
or byte [esi], 0x80
inc esi
add eax, 0x20
sub ecx, 8
dec dword [ebp - 0x2c]
jne 0x3e9b15
test ecx, ecx
je 0x3ea21b
mov eax, dword [ebp + 0x1c]
add eax, ebx
mov byte [esi], 0
movzx edi, byte [eax]
movzx edx, byte [eax + 1]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9c7a
mov byte [esi], 1
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9ca0
or byte [esi], 2
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9cc6
or byte [esi], 4
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9cec
or byte [esi], 8
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9d12
or byte [esi], 0x10
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9d38
or byte [esi], 0x20
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9d5e
or byte [esi], 0x40
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, edi
shl edx, 8
or edx, eax
je 0x3e9d84
or byte [esi], 0x80
mov al, 1
shl al, cl
lea ebx, [ebx + ecx*4]
dec al
and byte [esi], al
inc esi
jmp 0x3ea218
cmp ecx, 8
jne 0x3e9ef6
mov eax, dword [ebp + 0x1c]
add eax, ebx
movzx edi, byte [eax]
movzx edx, byte [eax + 1]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
xor cl, cl
or edx, edi
je 0x3e9dc7
inc cl
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9ded
or cl, 2
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9e13
or cl, 4
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9e39
or cl, 8
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9e5f
or cl, 0x10
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9e85
or cl, 0x20
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
je 0x3e9eab
or cl, 0x40
movzx edx, byte [eax + 5]
add eax, 4
movzx edi, byte [eax]
shl edi, 8
or edx, edi
movzx edi, byte [eax + 2]
movzx eax, byte [eax + 3]
shl edx, 8
or edx, edi
shl edx, 8
or edx, eax
je 0x3e9ed1
or cl, 0x80
movzx eax, cl
sub eax, 3
je 0x3e9eea
dec eax
dec eax
je 0x3e9ee5
mov byte [esi], 0x41
inc esi
mov byte [esi], cl
jmp 0x3e9eed
mov byte [esi], 0xfa
jmp 0x3e9eed
mov byte [esi], 0xf9
inc esi
add ebx, 0x20
jmp 0x3ea218
test cl, 7
jne 0x3e9f0c
cmp ecx, 0xf8
ja 0x3e9f0c
mov eax, ecx
shr eax, 3
or al, 0x40
jmp 0x3e9f1c
cmp ecx, 0xff
ja 0x3e9f21
mov byte [esi], 0x40
mov al, cl
inc esi
dec al
mov byte [esi], al
inc esi
jmp 0x3e9f2a
mov byte [esi], 0xf2
inc esi
mov word [esi], cx
inc esi
inc esi
cmp ecx, 8
jb 0x3e9c47
mov eax, dword [ebp + 0x1c]
mov edi, ecx
shr edi, 3
mov ecx, edi
shl ecx, 5
lea eax, [ebx + eax + 0x1e]
add ebx, ecx
mov dword [ebp + 0x10], ebx
mov byte [esi], 0
movzx ecx, byte [eax - 0x1e]
movzx edx, byte [eax - 0x1d]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 0x1c]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 0x1b]
shl ecx, 8
or ecx, edx
je 0x3e9f70
mov byte [esi], 1
movzx ecx, byte [eax - 0x1a]
movzx edx, byte [eax - 0x19]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 0x18]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 0x17]
shl ecx, 8
or ecx, edx
je 0x3e9f94
or byte [esi], 2
movzx ecx, byte [eax - 0x16]
movzx edx, byte [eax - 0x15]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 0x14]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 0x13]
shl ecx, 8
or ecx, edx
je 0x3e9fb8
or byte [esi], 4
movzx ecx, byte [eax - 0x12]
movzx edx, byte [eax - 0x11]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 0x10]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 0xf]
shl ecx, 8
or ecx, edx
je 0x3e9fdc
or byte [esi], 8
movzx ecx, byte [eax - 0xe]
movzx edx, byte [eax - 0xd]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 0xc]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 0xb]
shl ecx, 8
or ecx, edx
je 0x3ea000
or byte [esi], 0x10
movzx ecx, byte [eax - 0xa]
movzx edx, byte [eax - 9]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 8]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 7]
shl ecx, 8
or ecx, edx
je 0x3ea024
or byte [esi], 0x20
movzx ecx, byte [eax - 6]
movzx edx, byte [eax - 5]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 4]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax - 3]
shl ecx, 8
or ecx, edx
je 0x3ea048
or byte [esi], 0x40
movzx ecx, byte [eax - 2]
movzx edx, byte [eax - 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
je 0x3ea06b
or byte [esi], 0x80
mov ecx, dword [ebp - 0x2c]
sub ecx, 8
inc esi
add eax, 0x20
dec edi
mov dword [ebp - 0x2c], ecx
jne 0x3e9f49
jmp 0x3e9c47
mov eax, dword [edi + 4]
shr eax, 1
cmp eax, 0xf
ja 0x3ea092
or al, 0xe0
jmp 0x3ea09f
cmp eax, 0x10f
ja 0x3ea0a4
mov byte [esi], pe_nt_image_headers32
inc esi
sub al, 0x10
mov byte [esi], al
inc esi
jmp 0x3ea0ad
mov byte [esi], 0xf8
inc esi
mov word [esi], ax
inc esi
inc esi
mov eax, esi
sub eax, dword [ebp + 0xc]
add eax, 8
cmp eax, dword [ebp + 0x18]
ja 0x3ea230
mov eax, dword [ebp + 8]
lea ecx, [ebx + eax]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 3], al
mov ecx, eax
shr eax, 0x18
mov byte [esi], al
mov eax, dword [ebp + 8]
shr ecx, 0x10
mov byte [esi + 1], cl
lea ecx, [ebx + eax + 4]
movzx eax, byte [ecx]
movzx edx, byte [ecx + 1]
add esi, 4
shl eax, 8
or eax, edx
movzx edx, byte [ecx + 2]
movzx ecx, byte [ecx + 3]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 8
mov byte [esi + 3], al
mov byte [esi + 2], cl
mov ecx, eax
shr ecx, 0x10
shr eax, 0x18
mov byte [esi + 1], cl
mov byte [esi], al
add esi, 4
jmp 0x3ea212
mov eax, dword [edi + 4]
cmp eax, 0x1f
ja 0x3ea14e
or al, 0x60
jmp 0x3ea15b
cmp eax, 0x11f
ja 0x3ea160
mov byte [esi], 0x60
inc esi
sub al, 0x20
mov byte [esi], al
inc esi
jmp 0x3ea169
mov byte [esi], 0xf3
inc esi
mov word [esi], ax
inc esi
inc esi
mov eax, dword [ebp + 8]
lea ecx, [ebx + eax]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
jmp 0x3ea10e
mov eax, dword [ebp - 0x14]
cmp eax, dword [edi]
mov eax, dword [edi + 4]
je 0x3ea1d5
mov ecx, dword [edi]
mov dword [ebp - 0x14], ecx
cmp eax, 0xf
ja 0x3ea193
or al, 0xc0
jmp 0x3ea1a5
cmp eax, 0x10f
ja 0x3ea1aa
cmp eax, 2
jb 0x3ea212
mov byte [esi], 0xc0
inc esi
sub al, 0x10
mov byte [esi], al
inc esi
jmp 0x3ea1b8
cmp eax, 3
jb 0x3ea212
mov byte [esi], 0xf6
inc esi
mov word [esi], ax
inc esi
inc esi
mov eax, ecx
shr eax, 8
mov byte [esi + 2], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 3], cl
shr ecx, 0x18
mov byte [esi + 1], al
mov byte [esi], cl
jmp 0x3ea13a
cmp eax, 0x1f
ja 0x3ea1de
or al, 0x20
jmp 0x3ea204
cmp eax, 0x11f
ja 0x3ea1ea
mov byte [esi], 0x20
jmp 0x3ea201
mov byte [esi], 0xf1
jmp 0x3ea20c
mov eax, dword [edi + 4]
cmp eax, 0x1f
jbe 0x3ea204
cmp eax, 0x11f
ja 0x3ea209
mov byte [esi], 0
inc esi
sub al, 0x20
mov byte [esi], al
inc esi
jmp 0x3ea212
mov byte [esi], 0xf0
inc esi
mov word [esi], ax
inc esi
inc esi
mov eax, dword [edi + 4]
lea ebx, [ebx + eax*4]
mov dword [ebp + 0x10], ebx
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jl 0x3e994b
sub esi, dword [ebp + 0xc]
mov dword [ebp - 0x30], esi
pop edi
mov eax, dword [ebp - 0x30]
pop esi
pop ebx
leave
ret 0x20