Function at 0x102f875
Capabilities:
Allocate or change rwx memory
Encode data using xor

Disassembly:
push edi
pushfd
push ebp
mov ebp, esp
sub esp, 0x90
mov dword [ebp - 0x90], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x8c], ebx
sub eax, 4
mov ebx, 0xfffffff
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x80], edi
mov ecx, dword [0x1116588]
lea edi, [eax + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [eax]
mov dword [ebp - 0x1c], ecx
shr eax, 1
and eax, ebx
xor edx, edx
lea ecx, [ecx + eax - 1]
mov eax, ecx
div dword [ebp - 0x1c]
and esi, ebx
add esi, 0x1000000
mov eax, dword [0x1116588]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], esi
sub ecx, edx
mov dword [ebp - 0x20], ecx
mov eax, dword [0x1011bb0]
mov dword [ebp - 0x40], eax
mov eax, dword [0x1116588]
mov eax, dword [0x1011bb0]
test eax, eax
je 0x102f99a
and dword [ebp - 0x18], 0
mov eax, dword [0x1011bb0]
dec eax
lea ecx, [eax + 1]
mov dword [ebp - 0x24], ecx
xor eax, eax
test ecx, ecx
je 0x102f943
mov edx, dword [0x12d47a4]
shr dword [ebp - 0x24], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x12d47a4], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0x24], 0
jne 0x102f919
xor edx, edx
div ecx
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x24], edx
jbe 0x102f98c
lea edx, [edx*4 + 0x12d4c14]
mov eax, 0xcb65
inc dword [ebp - 0x18]
mov ecx, 0xffff349a
lock cmpxchg dword [edx], ecx
cmp eax, 0xcb65
je 0x102fa55
mov ecx, dword [0x1011bb0]
mov eax, dword [ebp - 0x24]
inc eax
xor edx, edx
div ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
cmp eax, dword [ebp - 0x40]
jb 0x102f950
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x102fa20
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x24]
push 0x40
push 0x1000
push dword [ebp - 0x20]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x102fa6c
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x24], 0x11
jb 0x102f9a7
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp dword [0x12ef80c], eax
ja 0x102f9e4
test al, 3
je 0x102f9fc
test eax, eax
je 0x102f9f8
push 0x8000
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
and dword [ebp - 0x10], 0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x10], 0
je 0x102f8e9
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
test ecx, ecx
je 0x102fa20
mov byte [eax], 0
inc eax
dec ecx
jne 0x102fa19
mov eax, 0x3b7c8a71
add dword [edi], 8
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov eax, dword [0x1116588]
mov dword [ebp - 0x3c], esi
shr ecx, 1
and ecx, ebx
sub eax, ecx
sub dword [ebp - 0x3c], 0x1000000
lea edx, [eax + 1]
xor eax, eax
lea edi, [ecx + esi]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x1c], edx
jmp 0x102fa97
mov eax, dword [0x1116588]
imul eax, dword [ebp - 0x24]
lea eax, [eax + section..data]
mov dword [ebp - 0x10], eax
jmp 0x102f990
mov dword [ebp - 0x10], eax
jmp 0x102f9d5
mov esi, dword [0x12d47a4]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov dword [0x12d47a4], esi
shr esi, 0x10
shl eax, 0x10
or eax, esi
shr edx, 0x10
test edx, edx
jne 0x102fa74
div dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
add eax, edx
push eax
push ecx
push dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov eax, 0xf68ebc44
lea eax, [ebp - 0x78]
mov esi, dword [edi]
mov edi, dword [edi + 4]
push eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], edi
mov byte [ebp - 0x11], 0
mov eax, 0x582e86af
mov eax, 0x1000000
mov ecx, dword [0x11e47bc]
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
and esi, ebx
and edi, ebx
add esi, eax
add esp, 0x10
mov dword [ebp - 0x18], edi
sub eax, ecx
mov edi, esi
mov dword [ebp - 0x30], eax
jne 0x102fb50
xor ebx, ebx
cmp dword [ebp - 0x18], ebx
jbe 0x102fd7b
mov esi, 0x356b911
mov ecx, 0x7fffffff
movzx edx, byte [ebx + edi]
sub edx, esi
add dword [ebp - 0x2c], edx
add edx, dword [ebp - 0x28]
mov eax, edx
imul eax, eax, 0x7fd3
rol eax, 0xf
ror edx, 0xf
xor eax, edx
mov edx, 0xfca946ef
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x2c], eax
inc ebx
mov dword [ebp - 0x28], eax
cmp ebx, dword [ebp - 0x18]
jb 0x102fb05
jmp 0x102fd7b
mov ebx, 0xfffff000
mov eax, dword [ebp - 0x18]
mov ecx, edi
add eax, edi
mov edx, dword [0x100003c]
mov esi, 0x1000000
lea edx, [edx + 0x10000a0]
mov dword [ebp - 0x38], eax
mov eax, dword [edx]
add eax, esi
sub ecx, esi
mov edx, dword [edx + 4]
mov esi, ecx
mov dword [ebp - 0x1c], edx
and esi, ebx
mov edx, ecx
sub edx, esi
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x18]
add ecx, edx
mov edx, ecx
and edx, ebx
mov ebx, eax
sub ecx, edx
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x5c], edx
cmp eax, ecx
mov dword [ebp - 0x54], ecx
je 0x102fbb1
cmp dword [ebx], esi
jae 0x102fbb1
add ebx, dword [ebx + 4]
cmp ebx, ecx
jne 0x102fba6
and dword [ebp - 0x4c], 0
cmp ebx, ecx
je 0x102fbe1
cmp dword [ebx], esi
jne 0x102fbe1
mov ecx, dword [ebx + 4]
sub ecx, 8
shr ecx, 1
je 0x102fbe1
lea esi, [ebx + 8]
movzx eax, word [esi]
and eax, 0xfff
cmp eax, dword [ebp - 0x20]
jae 0x102fbe1
inc dword [ebp - 0x4c]
inc esi
inc esi
cmp dword [ebp - 0x4c], ecx
jne 0x102fbca
mov ecx, 0x7fffffff
mov esi, 0x356b911
jmp 0x102fbf0
mov edx, dword [ebp - 0x5c]
cmp ebx, dword [ebp - 0x54]
je 0x102fd29
cmp dword [ebx], edx
ja 0x102fd29
mov eax, dword [ebx + 4]
add eax, 0xfffffff8
shr eax, 1
cmp dword [ebp - 0x4c], eax
jne 0x102fc2b
add ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x54]
je 0x102fd29
mov eax, dword [ebp - 0x5c]
cmp dword [ebx], eax
ja 0x102fd29
and dword [ebp - 0x4c], 0
jmp 0x102fc01
mov eax, dword [ebp - 0x5c]
cmp dword [ebx], eax
jne 0x102fc48
mov eax, dword [ebp - 0x4c]
movzx eax, word [ebx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x58]
jae 0x102fd29
mov edx, dword [ebp - 0x4c]
inc dword [ebp - 0x4c]
mov eax, 0xf000
test word [ebx + edx*2 + 8], ax
je 0x102fbed
movzx eax, word [ebx + edx*2 + 8]
mov edx, dword [ebx]
and dword [ebp - 0x18], 0
and eax, 0xfff
lea eax, [eax + edx + 0x1000000]
mov dword [ebp - 0x34], eax
sub dword [ebp - 0x34], edi
mov dword [ebp - 0x20], eax
je 0x102fccd
mov eax, dword [ebp - 0x18]
movzx edx, byte [edi + eax]
sub edx, esi
add dword [ebp - 0x2c], edx
add edx, dword [ebp - 0x28]
mov eax, edx
imul eax, eax, 0x7fd3
rol eax, 0xf
ror edx, 0xf
xor eax, edx
mov edx, 0xfca946ef
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x2c], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x34]
jb 0x102fc7c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
sub eax, dword [ebp - 0x30]
xor edi, edi
mov dword [ebp - 0x64], eax
movzx edx, byte [ebp + edi - 0x64]
sub edx, esi
add dword [ebp - 0x2c], edx
add edx, dword [ebp - 0x28]
mov eax, edx
imul eax, eax, 0x7fd3
rol eax, 0xf
ror edx, 0xf
xor eax, edx
mov edx, 0xfca946ef
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x2c], eax
inc edi
mov dword [ebp - 0x28], eax
cmp edi, 4
jb 0x102fcd7
mov edi, dword [ebp - 0x20]
add edi, 4
jmp 0x102fbed
xor ebx, ebx
mov eax, dword [ebp - 0x38]
sub eax, edi
mov dword [ebp - 0x1c], eax
je 0x102fd7b
movzx edx, byte [ebx + edi]
sub edx, esi
add dword [ebp - 0x2c], edx
add edx, dword [ebp - 0x28]
mov eax, edx
imul eax, eax, 0x7fd3
rol eax, 0xf
ror edx, 0xf
xor eax, edx
mov edx, 0xfca946ef
mul edx
lea edx, [eax + edx*2 - 0x7fffffff]
sar eax, 0x1f
and eax, ecx
sub edx, eax
mov eax, edx
sar eax, 0x1f
and eax, ecx
add eax, edx
add dword [ebp - 0x2c], eax
inc ebx
mov dword [ebp - 0x28], eax
cmp ebx, dword [ebp - 0x1c]
jb 0x102fd35
xor edi, edi
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x2c]
mov byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jb 0x102fd7f
mov eax, 0x7908ac36
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
and eax, 7
mov dword [ebp - 0x1c], eax
je 0x102ff58
mov edx, dword [ebp - 0x3c]
not edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x10], edi
cmp eax, edi
jle 0x102fdea
push 0x38
pop edi
cmp dword [ebp - 0x10], 4
movzx ebx, byte [esi]
jge 0x102fdd7
lea ecx, [edi - 0x20]
shl ebx, cl
or dword [ebp - 0x34], ebx
jmp 0x102fdde
mov ecx, edi
shl ebx, cl
or dword [ebp - 0x18], ebx
inc esi
inc dword [ebp - 0x10]
sub edi, 8
cmp dword [ebp - 0x10], eax
jl 0x102fdc4
mov edi, edx
mov ecx, edx
sub ecx, dword [ebp - 0xc]
rol ecx, 5
movzx eax, word [ebp - 8]
mov dword [ebp - 0x30], eax
ror edi, 0x10
imul eax, ecx
sub eax, edi
movzx ecx, word [ebp - 0xa]
movzx edi, word [ebp - 0xc]
xor eax, dword [ebp - 0x3c]
mov ebx, eax
mov dword [ebp - 0x20], edi
xor edi, eax
imul edi, ecx
mov ecx, dword [ebp - 8]
ror ebx, 0xc
add ebx, edi
xor edx, ebx
add ecx, edx
ror ecx, 5
mov ebx, dword [ebp - 0x20]
mov edi, edx
imul ebx, ecx
rol edi, 0xa
movzx ecx, word [ebp - 6]
sub ebx, edi
mov edi, dword [ebp - 0x30]
xor eax, ebx
xor edi, eax
imul edi, ecx
mov ebx, eax
shr ebx, 0xb
xor edi, ebx
mov ebx, dword [ebp - 0x30]
xor edx, edi
mov edi, dword [ebp - 0xc]
xor edi, edx
ror edi, 5
imul ebx, edi
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x10], edx
rol edx, 8
xor edx, ebx
mov ebx, edi
xor eax, edx
mov edx, dword [ebp - 8]
xor edx, eax
rol edx, 1
imul ebx, edx
mov edx, eax
shr edx, 0xd
sub ebx, edx
xor dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x20]
mov edx, edi
mov edi, dword [ebp - 0x10]
xor edx, dword [ebp - 0x10]
rol edx, 3
imul ebx, edx
rol edi, 0xb
mov edx, dword [ebp - 8]
xor edi, ebx
xor eax, edi
mov edi, dword [ebp - 0xc]
xor edx, edi
xor edx, dword [ebp - 0x10]
xor edx, eax
xor edi, edx
mov dword [ebp - 0x10], edx
mov ebx, edx
rol edi, 8
mov edx, dword [ebp - 0x30]
imul edx, edi
ror ebx, 5
sub edx, ebx
xor eax, edx
xor ecx, eax
mov edi, dword [ebp - 0x10]
movzx edx, word [ebp - 0xa]
imul ecx, edx
mov edx, eax
shr edx, 9
add ecx, edx
xor edi, ecx
mov ecx, edi
mov edx, dword [ebp - 0x20]
mov ebx, edi
and dword [ebp - 0x10], 0
sub ecx, dword [ebp - 8]
xor edi, dword [ebp - 0x18]
ror ecx, 7
imul edx, ecx
mov ecx, edi
rol ebx, 9
xor ebx, edx
xor ebx, dword [ebp - 0x34]
xor eax, ebx
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
test ebx, ebx
jle 0x102ff2e
cmp dword [ebp - 0x10], 4
jge 0x102ff15
rol dword [ebp - 0x30], 8
mov dl, byte [ebp - 0x30]
mov ebx, dword [ebp - 0x38]
inc dword [ebp - 0x38]
xor byte [ebp - 0x11], dl
mov byte [ebx], dl
jmp 0x102ff23
mov edx, dword [ebp - 0x38]
inc dword [ebp - 0x38]
rol ecx, 8
xor byte [ebp - 0x11], cl
mov byte [edx], cl
inc dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
cmp dword [ebp - 0x10], ebx
jl 0x102fefb
add ebx, 0xfffffffc
test ebx, ebx
jle 0x102ff45
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
jmp 0x102ff67
xor edx, edx
test ebx, ebx
jge 0x102ff67
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x102ff67
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
xor edx, edx
not eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
shr ecx, 3
test ecx, ecx
jbe 0x103012a
mov edi, dword [ebp - 8]
xor edi, dword [ebp - 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x6c], edi
movzx edi, word [ebp - 6]
mov dword [ebp - 0x1c], edi
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x10], edi
movzx ecx, byte [esi + 1]
movzx edi, byte [esi]
shl edi, 8
or ecx, edi
shl ecx, 8
movzx edi, byte [esi + 2]
or ecx, edi
movzx edi, byte [esi + 3]
shl ecx, 8
or ecx, edi
mov dword [ebp - 0x30], ecx
movzx ecx, byte [esi + 4]
shl ecx, 8
movzx edi, byte [esi + 5]
or ecx, edi
movzx edi, byte [esi + 6]
shl ecx, 8
or ecx, edi
shl ecx, 8
movzx edi, byte [esi + 7]
or ecx, edi
xor edx, ecx
add esi, 8
movzx edi, word [ebp - 8]
mov dword [ebp - 0x70], ecx
mov ebx, edx
mov ecx, edx
sub ecx, dword [ebp - 0xc]
rol ecx, 5
imul edi, ecx
ror ebx, 0x10
sub edi, ebx
xor edi, dword [ebp - 0x30]
movzx ecx, word [ebp - 0xc]
xor eax, edi
xor ecx, eax
mov edi, eax
imul ecx, dword [ebp - 0x10]
ror edi, 0xc
add edi, ecx
mov ecx, dword [ebp - 8]
xor edx, edi
movzx edi, word [ebp - 0xc]
add ecx, edx
ror ecx, 5
mov ebx, edx
imul edi, ecx
rol ebx, 0xa
sub edi, ebx
xor eax, edi
movzx edi, word [ebp - 8]
mov ecx, edi
mov ebx, eax
xor ecx, eax
imul ecx, dword [ebp - 0x1c]
shr ebx, 0xb
xor ecx, ebx
xor edx, ecx
mov ecx, dword [ebp - 0xc]
mov ebx, edx
xor ecx, edx
ror ecx, 5
imul edi, ecx
rol ebx, 8
mov ecx, dword [ebp - 8]
xor ebx, edi
mov edi, dword [ebp - 0x10]
xor eax, ebx
xor ecx, eax
rol ecx, 1
imul edi, ecx
mov ecx, eax
shr ecx, 0xd
sub edi, ecx
xor edx, edi
mov ecx, dword [ebp - 0x10]
movzx edi, word [ebp - 0xc]
xor ecx, edx
mov ebx, edx
rol ecx, 3
rol ebx, 0xb
imul edi, ecx
mov ecx, dword [ebp - 0x6c]
xor ecx, edx
xor ebx, edi
movzx edi, word [ebp - 8]
xor eax, ebx
xor ecx, eax
mov edx, ecx
mov ecx, dword [ebp - 0xc]
mov ebx, edx
xor ecx, edx
rol ecx, 8
imul edi, ecx
mov ecx, dword [ebp - 0x1c]
ror ebx, 5
sub edi, ebx
xor eax, edi
mov edi, eax
xor ecx, eax
imul ecx, dword [ebp - 0x10]
shr edi, 9
add ecx, edi
xor edx, ecx
mov ebx, edx
movzx edi, word [ebp - 0xc]
mov ecx, edx
sub ecx, dword [ebp - 8]
xor edx, dword [ebp - 0x18]
ror ecx, 7
imul edi, ecx
rol ebx, 9
xor ebx, edi
mov edi, dword [ebp - 0x38]
mov cl, byte [ebp - 0x11]
xor ebx, dword [ebp - 0x34]
xor eax, ebx
xor cl, al
xor cl, dl
mov byte [edi + 3], al
ror eax, 8
xor cl, al
mov byte [edi + 7], dl
mov byte [edi + 2], al
ror edx, 8
mov byte [edi + 6], dl
xor cl, dl
ror eax, 8
mov byte [edi + 1], al
xor cl, al
ror edx, 8
xor cl, dl
mov byte [edi + 5], dl
ror eax, 8
ror edx, 8
mov bl, dl
xor bl, al
xor cl, bl
mov byte [ebp - 0x11], cl
mov ecx, dword [ebp - 0x30]
mov byte [edi], al
mov byte [edi + 4], dl
mov dword [ebp - 0x34], ecx
add edi, 8
mov ecx, dword [ebp - 0x70]
dec dword [ebp - 0x20]
ror eax, 8
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x38], edi
ror edx, 8
jne 0x102ff8f
movzx ecx, byte [ebp - 0x11]
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax + 8]
sub ecx, eax
je 0x10301c7
call fcn.01244f80
mov edx, 0xffff
mov esi, eax
mov eax, 0xfffff000
mov ecx, dword [ebp - 0x44]
and ecx, 0xfffffffc
mov edi, ecx
lea ecx, [edi + 0xfff]
and esi, eax
and ecx, eax
mov eax, dword [ebp - 0x60]
mov dword [eax + 8], 0x10d8814
xor eax, eax
mov ebx, dword [0x12d47a4]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x12d47a4], ebx
shr ebx, 0x10
shl eax, 0x10
shr edx, 0x10
or eax, ebx
test edx, edx
jne 0x103016c
mov ebx, 0xffff
div ebx
mov eax, edi
mov dword [ebp - 0x84], esi
inc edx
cmp edi, ecx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x44], 0
jae 0x10301bd
mov edx, dword [ebp - 0x44]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x10301b1
mov eax, 0x10d8814
jmp 0x1030298
mov edx, dword [0x11e47bc]
mov ecx, 0x1000000
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x24]
sub ecx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jne 0x10301ea
test eax, eax
je 0x103028b
mov ecx, dword [0x11efd70]
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x40]
sub esi, dword [ebp - 0x48]
add eax, ebx
xor edi, edi
mov dword [ebp - 0x44], eax
dec ecx
js 0x103022d
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x11efd74]
and edx, 0xfffffff
cmp ebx, edx
jae 0x1030224
lea ecx, [eax - 1]
jmp 0x1030229
jbe 0x1030231
lea edi, [eax + 1]
cmp ecx, edi
jge 0x1030206
mov ebx, edi
jmp 0x1030283
mov ebx, eax
jmp 0x1030283
mov eax, dword [ebx*4 + 0x11efd74]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x44]
jae 0x103028b
lea edi, [ecx + esi + 0x1000000]
mov ecx, eax
shl ecx, 2
sar ecx, 0x1e
sar eax, 0x1e
and ecx, 3
and eax, 3
xor edx, edx
dec ecx
je 0x1030276
dec ecx
je 0x1030271
dec ecx
jne 0x103027c
mov edx, dword [ebp - 0x1c]
jmp 0x103027c
mov edx, dword [ebp - 0x20]
jmp 0x103027c
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x20]
dec eax
dec eax
jne 0x1030282
add dword [edi], edx
inc ebx
cmp ebx, dword [0x11efd70]
jb 0x1030235
mov eax, dword [0x1116588]
mov eax, 0x47a0d05
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 8], eax
mov ecx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x88]
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x84]
mov esp, ebp
pop ebp
popfd
ret