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

Disassembly:
push edi
pushfd
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 0x94], eax
lea eax, [ebp + 4]
sub eax, 4
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x84], edi
mov ecx, dword [0x1116588]
mov ebx, 0xfffffff
mov dword [ebp - 0x6c], eax
lea edi, [eax + 0xc]
mov eax, dword [edi]
mov esi, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [eax + 4]
and eax, ebx
mov dword [ebp - 0x20], ecx
lea ecx, [ecx + eax - 1]
mov eax, ecx
xor edx, edx
div dword [ebp - 0x20]
mov eax, dword [0x1116588]
mov dword [ebp - 0x48], edi
and esi, ebx
add esi, 0x1000000
mov dword [ebp - 0x54], esi
sub ecx, edx
mov dword [ebp - 0x2c], ecx
mov eax, dword [0x1011bb0]
mov dword [ebp - 0x40], eax
mov eax, dword [0x1116588]
mov eax, dword [0x1011bb0]
test eax, eax
je 0x1230176
and dword [ebp - 0x18], 0
mov eax, dword [0x1011bb0]
dec eax
lea ecx, [eax + 1]
mov dword [ebp - 0x1c], ecx
xor eax, eax
test ecx, ecx
je 0x123011f
mov edx, dword [0x12d47a4]
shr dword [ebp - 0x1c], 0x10
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x12d47a4], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
cmp dword [ebp - 0x1c], 0
jne 0x12300f5
xor edx, edx
div ecx
cmp dword [ebp - 0x40], 0
mov dword [ebp - 0x1c], edx
jbe 0x1230168
mov eax, 0xcb65
mov ecx, 0xffff349a
lea edx, [edx*4 + 0x12d4c14]
inc dword [ebp - 0x18]
lock cmpxchg dword [edx], ecx
cmp eax, 0xcb65
je 0x1230230
mov ecx, dword [0x1011bb0]
mov eax, dword [ebp - 0x1c]
inc eax
xor edx, edx
div ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
cmp eax, dword [ebp - 0x40]
jb 0x123012c
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x12301fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x1c]
push 0x40
push 0x1000
push dword [ebp - 0x2c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1230247
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x1c], 0x11
jb 0x1230183
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp dword [0x12ef80c], eax
ja 0x12301c0
test al, 3
je 0x12301d8
test eax, eax
je 0x12301d4
push 0x8000
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
and dword [ebp - 0x14], 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x14], 0
je 0x12300c5
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
test ecx, ecx
je 0x12301fc
mov byte [eax], 0
inc eax
dec ecx
jne 0x12301f5
mov eax, 0x9d23c03e
add dword [edi], 8
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 4]
mov eax, dword [0x1116588]
mov dword [ebp - 0x34], esi
and ecx, ebx
lea edi, [ecx + esi]
sub eax, ecx
lea edx, [eax + 1]
sub dword [ebp - 0x34], 0x1000000
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x20], edx
xor eax, eax
jmp 0x1230272
mov eax, dword [0x1116588]
imul eax, dword [ebp - 0x1c]
lea eax, [eax + section..data]
mov dword [ebp - 0x14], eax
jmp 0x123016c
mov dword [ebp - 0x14], eax
jmp 0x12301b1
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 0x123024f
div dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add eax, edx
push eax
push ecx
push dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, 0x3e311a43
mov esi, dword [edi]
lea eax, [ebp - 0x7c]
mov edi, dword [edi + 4]
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], edi
mov byte [ebp - 0xd], 0
mov eax, 0xe89279a9
mov ecx, dword [0x11e47bc]
and dword [ebp - 0x28], 0
mov eax, 0x1000000
and dword [ebp - 0x24], 0
and esi, ebx
and edi, ebx
add esp, 0x10
mov dword [ebp - 0x18], edi
add esi, eax
sub eax, ecx
mov dword [ebp - 0x50], eax
jne 0x1230330
xor ebx, ebx
cmp edi, ebx
jbe 0x1230572
mov ecx, 0x7fffffff
mov edi, 0x6004f7c8
movzx eax, byte [ebx + esi]
sub eax, edi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
imul eax, eax, 0x9ffb0838
ror eax, 1
mov edx, eax
imul eax, eax, 0x6581
rol eax, 8
ror edx, 8
xor eax, edx
mov edx, 0x9ffb0838
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 - 0x28], eax
inc ebx
mov dword [ebp - 0x24], eax
cmp ebx, dword [ebp - 0x18]
jb 0x12302dd
jmp 0x1230572
mov ecx, esi
mov edx, dword [0x100003c]
mov eax, edi
mov ebx, 0xfffff000
add eax, esi
lea edx, [edx + 0x10000a0]
mov dword [ebp - 0x3c], eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov edi, 0x1000000
mov dword [ebp - 0x20], edx
add eax, edi
sub ecx, edi
mov edi, ecx
mov edx, ecx
and edi, ebx
sub edx, edi
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x18]
add ecx, edx
mov edx, ecx
and edx, ebx
mov ebx, eax
sub ecx, edx
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x60], ecx
cmp eax, ecx
je 0x1230390
cmp dword [ebx], edi
jae 0x1230390
add ebx, dword [ebx + 4]
cmp ebx, ecx
jne 0x1230385
and dword [ebp - 0x58], 0
cmp ebx, ecx
je 0x12303c0
cmp dword [ebx], edi
jne 0x12303c0
mov ecx, dword [ebx + 4]
sub ecx, 8
shr ecx, 1
je 0x12303c0
lea edi, [ebx + 8]
movzx eax, word [edi]
and eax, 0xfff
cmp eax, dword [ebp - 0x44]
jae 0x12303c0
inc dword [ebp - 0x58]
inc edi
inc edi
cmp dword [ebp - 0x58], ecx
jne 0x12303a9
mov edi, 0x6004f7c8
mov ecx, 0x7fffffff
jmp 0x12303cf
mov edx, dword [ebp - 0x68]
cmp ebx, dword [ebp - 0x60]
je 0x1230518
cmp dword [ebx], edx
ja 0x1230518
mov eax, dword [ebx + 4]
add eax, 0xfffffff8
shr eax, 1
cmp dword [ebp - 0x58], eax
jne 0x123040a
add ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x60]
je 0x1230518
mov eax, dword [ebp - 0x68]
cmp dword [ebx], eax
ja 0x1230518
and dword [ebp - 0x58], 0
jmp 0x12303e0
mov eax, dword [ebp - 0x68]
cmp dword [ebx], eax
jne 0x1230427
mov eax, dword [ebp - 0x58]
movzx eax, word [ebx + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x64]
jae 0x1230518
mov eax, 0xf000
mov edx, dword [ebp - 0x58]
inc dword [ebp - 0x58]
test word [ebx + edx*2 + 8], ax
je 0x12303cc
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 - 0x30], eax
sub dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
je 0x12304b4
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + esi]
sub eax, edi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
imul eax, eax, 0x9ffb0838
ror eax, 1
mov edx, eax
imul eax, eax, 0x6581
rol eax, 8
ror edx, 8
xor eax, edx
mov edx, 0x9ffb0838
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 - 0x28], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x30]
jb 0x123045b
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
sub eax, dword [ebp - 0x50]
xor esi, esi
mov dword [ebp - 0x70], eax
movzx eax, byte [ebp + esi - 0x70]
sub eax, edi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
imul eax, eax, 0x9ffb0838
ror eax, 1
mov edx, eax
imul eax, eax, 0x6581
rol eax, 8
ror edx, 8
xor eax, edx
mov edx, 0x9ffb0838
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 - 0x28], eax
inc esi
cmp esi, 4
mov dword [ebp - 0x24], eax
jb 0x12304be
mov esi, dword [ebp - 0x2c]
add esi, 4
jmp 0x12303cc
mov eax, dword [ebp - 0x3c]
xor ebx, ebx
sub eax, esi
mov dword [ebp - 0x20], eax
je 0x1230572
movzx eax, byte [ebx + esi]
sub eax, edi
add dword [ebp - 0x28], eax
add eax, dword [ebp - 0x24]
imul eax, eax, 0x9ffb0838
ror eax, 1
mov edx, eax
imul eax, eax, 0x6581
rol eax, 8
ror edx, 8
xor eax, edx
mov edx, 0x9ffb0838
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 - 0x28], eax
inc ebx
mov dword [ebp - 0x24], eax
cmp ebx, dword [ebp - 0x20]
jb 0x1230524
xor ebx, ebx
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x28]
mov byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jb 0x1230576
mov eax, 0x58c79d88
mov esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x40]
and eax, 7
mov dword [ebp - 0x2c], eax
je 0x123074d
cmp eax, ebx
mov edi, dword [ebp - 0x34]
not edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], ebx
jle 0x12305e1
push 0x38
pop edx
cmp dword [ebp - 0x14], 4
movzx ebx, byte [esi]
jge 0x12305ce
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x30], ebx
jmp 0x12305d5
mov ecx, edx
shl ebx, cl
or dword [ebp - 0x18], ebx
inc esi
inc dword [ebp - 0x14]
sub edx, 8
cmp dword [ebp - 0x14], eax
jl 0x12305bb
movzx edx, word [ebp - 8]
mov eax, dword [ebp - 0x34]
movzx ecx, word [ebp - 6]
xor eax, edx
rol eax, 6
imul ecx, eax
mov ebx, dword [ebp - 0x34]
rol ebx, 7
xor ebx, ecx
mov ecx, dword [ebp - 0xc]
xor edi, ebx
mov eax, edi
sub ecx, edi
rol ecx, 1
imul ecx, edx
movzx edx, word [ebp - 0xa]
ror eax, 3
add eax, ecx
xor eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 8]
add ecx, eax
mov ebx, eax
ror ecx, 2
imul ecx, edx
rol ebx, 0xe
movzx edx, word [ebp - 0xc]
sub ecx, ebx
xor edi, ecx
mov ecx, edi
sub ecx, edx
xor ecx, dword [ebp - 8]
xor eax, ecx
mov ebx, eax
movzx ecx, word [ebp - 6]
not ebx
ror ebx, 0xa
add ebx, ecx
imul ebx, edx
xor edi, ebx
mov ebx, ecx
mov edx, edi
xor ebx, edi
movzx ecx, word [ebp - 8]
imul ebx, ecx
ror edx, 8
xor edx, ebx
xor eax, edx
movzx edx, word [ebp - 0xc]
mov ebx, eax
mov ecx, eax
xor ecx, edx
movzx edx, word [ebp - 0xa]
rol ecx, 6
imul ecx, edx
ror ebx, 3
add ebx, ecx
xor edi, ebx
movzx ecx, word [ebp - 8]
mov ebx, edi
mov edx, edi
xor ebx, ecx
movzx ecx, word [ebp - 0xc]
imul ebx, ecx
movzx ecx, word [ebp - 6]
ror edx, 0xb
sub ebx, edx
xor eax, ebx
movzx edx, word [ebp - 8]
mov ebx, eax
ror ebx, 0xc
sub ebx, ecx
mov ecx, dword [ebp - 0xc]
imul ebx, edx
xor edi, ebx
xor ecx, edi
mov ebx, edi
rol ecx, 6
imul ecx, edx
rol ebx, 3
movzx edx, word [ebp - 0xa]
xor ebx, ecx
xor eax, ebx
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 8]
xor ecx, eax
rol ecx, 3
imul ecx, edx
and dword [ebp - 0x14], 0
mov edx, eax
shr edx, 0xa
sub ecx, edx
xor edi, ecx
mov ecx, dword [ebp - 8]
xor ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x30]
xor ecx, edi
xor edi, dword [ebp - 0x18]
xor eax, ecx
mov ecx, edi
test ebx, ebx
mov dword [ebp - 0x3c], eax
jle 0x1230723
cmp dword [ebp - 0x14], 4
jge 0x123070a
rol dword [ebp - 0x3c], 8
mov dl, byte [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
inc dword [ebp - 0x38]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x1230718
mov edx, dword [ebp - 0x38]
inc dword [ebp - 0x38]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x14]
mov ebx, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], ebx
jl 0x12306f0
add ebx, 0xfffffffc
test ebx, ebx
jle 0x123073a
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
jmp 0x123075c
xor edx, edx
test ebx, ebx
jge 0x123075c
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x123075c
xor edx, edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
not eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x40]
shr ecx, 3
test ecx, ecx
jbe 0x123092a
movzx edi, word [ebp - 6]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 8]
movzx ebx, di
xor edi, dword [ebp - 0xc]
mov dword [ebp - 0x50], ebx
movzx ebx, word [ebp - 0xa]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x20], ecx
movzx ecx, byte [esi + 1]
movzx ebx, byte [esi + 5]
movzx edi, byte [esi]
shl edi, 8
or ecx, edi
movzx edi, byte [esi + 2]
shl ecx, 8
or ecx, edi
shl ecx, 8
movzx edi, byte [esi + 3]
or ecx, edi
movzx edi, byte [esi + 4]
shl edi, 8
or edi, ebx
movzx ebx, byte [esi + 6]
shl edi, 8
or edi, ebx
movzx ebx, byte [esi + 7]
xor eax, ecx
shl edi, 8
or edi, ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
add esi, 8
mov ecx, eax
mov dword [ebp - 0x44], edi
mov edi, eax
xor ecx, dword [ebp - 0x50]
rol ecx, 6
imul ebx, ecx
rol edi, 7
mov ecx, dword [ebp - 0xc]
xor edi, ebx
xor edi, dword [ebp - 0x44]
xor edx, edi
sub ecx, edx
mov ebx, edx
movzx edi, word [ebp - 8]
rol ecx, 1
imul ecx, edi
ror ebx, 3
add ebx, ecx
xor eax, ebx
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
add ecx, eax
ror ecx, 2
mov edi, eax
imul ecx, dword [ebp - 0x2c]
rol edi, 0xe
sub ecx, edi
xor edx, ecx
movzx ecx, word [ebp - 0xc]
mov edi, edx
sub edi, ecx
xor edi, dword [ebp - 8]
xor eax, edi
mov edi, eax
not edi
ror edi, 0xa
add edi, dword [ebp - 0x14]
imul edi, ecx
xor edx, edi
mov edi, edx
movzx ecx, word [ebp - 8]
xor ebx, edx
imul ebx, ecx
ror edi, 8
xor edi, ebx
xor eax, edi
movzx edi, word [ebp - 0xc]
mov ecx, eax
xor ecx, edi
rol ecx, 6
imul ecx, dword [ebp - 0x2c]
mov edi, eax
ror edi, 3
add edi, ecx
xor edx, edi
movzx ecx, word [ebp - 8]
mov ebx, edx
mov edi, edx
ror edi, 0xb
xor ebx, ecx
movzx ecx, word [ebp - 0xc]
imul ebx, ecx
sub ebx, edi
movzx edi, word [ebp - 8]
xor eax, ebx
mov ecx, eax
ror ecx, 0xc
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x50], edi
imul ecx, edi
xor edx, ecx
mov ecx, dword [ebp - 0xc]
mov ebx, edx
xor ecx, edx
rol ecx, 6
imul ecx, edi
rol ebx, 3
xor ebx, ecx
xor eax, ebx
mov ecx, dword [ebp - 8]
xor ecx, eax
rol ecx, 3
mov edi, eax
imul ecx, dword [ebp - 0x2c]
shr edi, 0xa
sub ecx, edi
mov edi, dword [ebp - 0x38]
xor edx, ecx
mov ecx, dword [ebp - 0x30]
xor ecx, edx
xor edx, dword [ebp - 0x18]
xor ecx, eax
xor ecx, dword [ebp - 0x74]
mov byte [edi + 7], dl
mov eax, ecx
mov cl, byte [ebp - 0xd]
xor cl, al
xor cl, dl
mov byte [edi + 3], al
ror eax, 8
mov byte [edi + 2], al
xor cl, al
ror edx, 8
mov byte [edi + 6], dl
xor cl, dl
ror eax, 8
xor cl, al
ror edx, 8
xor cl, dl
mov byte [edi + 1], al
ror eax, 8
mov byte [edi + 5], dl
ror edx, 8
mov bl, dl
xor bl, al
xor cl, bl
mov byte [ebp - 0xd], cl
mov ecx, dword [ebp - 0x3c]
mov byte [edi], al
mov byte [edi + 4], dl
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x44]
add edi, 8
dec dword [ebp - 0x20]
ror eax, 8
ror edx, 8
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x38], edi
jne 0x123078a
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 8]
movzx edx, byte [ebp - 0xd]
mov ecx, dword [ebp - 0x48]
sub edx, eax
je 0x12309c7
call fcn.01244f80
and ecx, 0xfffffffc
mov edi, ecx
mov esi, eax
mov eax, 0xfffff000
lea ecx, [edi + 0xfff]
and esi, eax
mov edx, 0xffff
and ecx, eax
mov eax, dword [ebp - 0x6c]
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 0x123096c
mov ebx, 0xffff
div ebx
mov dword [ebp - 0x88], esi
mov eax, edi
inc edx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x4c], 0
cmp edi, ecx
jae 0x12309bd
mov edx, dword [ebp - 0x4c]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x12309b1
mov eax, 0x10d8814
jmp 0x1230a98
mov ecx, 0x1000000
mov edx, dword [0x11e47bc]
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x1c]
sub ecx, edx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x48], ecx
jne 0x12309ea
test eax, eax
je 0x1230a8b
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x11efd70]
sub esi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x40]
add eax, ebx
xor edi, edi
dec ecx
mov dword [ebp - 0x4c], eax
js 0x1230a2d
lea eax, [edi + ecx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x11efd74]
and edx, 0xfffffff
cmp ebx, edx
jae 0x1230a24
lea ecx, [eax - 1]
jmp 0x1230a29
jbe 0x1230a31
lea edi, [eax + 1]
cmp ecx, edi
jge 0x1230a06
mov ebx, edi
jmp 0x1230a83
mov ebx, eax
jmp 0x1230a83
mov eax, dword [ebx*4 + 0x11efd74]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x4c]
jae 0x1230a8b
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 0x1230a76
dec ecx
je 0x1230a71
dec ecx
jne 0x1230a7c
mov edx, dword [ebp - 0x48]
jmp 0x1230a7c
mov edx, dword [ebp - 0x20]
jmp 0x1230a7c
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x20]
dec eax
dec eax
jne 0x1230a82
add dword [edi], edx
inc ebx
cmp ebx, dword [0x11efd70]
jb 0x1230a35
mov eax, dword [0x1116588]
mov eax, 0xb6ba1507
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x88]
mov esi, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x84]
mov esp, ebp
pop ebp
popfd
ret