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

Disassembly:
push edi
pushfd
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x80], edx
lea eax, [ebp + 4]
mov dword [ebp - 0x7c], ebx
mov ecx, 0xfffffff
sub eax, 4
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x68], eax
lea edi, [eax + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov dword [ebp - 0x30], eax
mov eax, dword [eax]
shr eax, 1
and eax, ecx
and esi, ecx
mov ecx, dword [0x109dc84]
xor edx, edx
mov dword [ebp - 0x38], ecx
lea ecx, [ecx + eax - 1]
mov eax, ecx
div dword [ebp - 0x38]
mov ebx, 0x1000000
add esi, ebx
mov eax, dword [0x109dc84]
mov dword [ebp - 0x4c], edi
sub ecx, edx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x1c], ecx
mov eax, dword [0x129bea8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x109dc84]
mov eax, dword [0x129bea8]
test eax, eax
je 0x1041bb3
and dword [ebp - 0x28], 0
mov eax, dword [0x129bea8]
dec eax
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x2c], ecx
je 0x1041b5c
mov edx, dword [0x1427a7c]
imul edx, edx, 0x343fd
add edx, 0x269ec3
mov dword [0x1427a7c], edx
shr edx, 0x10
shl eax, 0x10
or eax, edx
shr dword [ebp - 0x2c], 0x10
jne 0x1041b36
xor edx, edx
div ecx
cmp dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], edx
jbe 0x1041ba5
mov ecx, 0xffffc428
lea edx, [edx*4 + 0x1427d38]
inc dword [ebp - 0x28]
mov eax, 0x3bd7
lock cmpxchg dword [edx], ecx
cmp eax, 0x3bd7
je 0x1041d38
mov eax, dword [ebp - 0x2c]
inc eax
xor edx, edx
mov ecx, dword [0x129bea8]
div ecx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edx
jb 0x1041b69
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
jne 0x1041c39
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [ebp - 0x28], 0
mov dword [ebp - 0x38], eax
inc dword [ebp - 0x28]
push 0x40
push 0x1000
push dword [ebp - 0x1c]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x1041d4f
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x28], 0x11
jb 0x1041bc0
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
cmp dword [0x144656c], eax
ja 0x1041bfd
test al, 3
je 0x1041c15
test eax, eax
je 0x1041c11
push 0x8000
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
and dword [ebp - 0x14], 0
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x14], 0
je 0x1041b06
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
mov eax, dword [ebp - 0x14]
je 0x1041c39
mov byte [eax], 0
inc eax
dec ecx
jne 0x1041c32
mov eax, 0xf3d2cea3
add dword [edi], 8
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
shr eax, 1
and eax, 0xfffffff
lea ecx, [eax + esi]
mov dword [ebp - 0x38], ecx
mov ecx, dword [0x109dc84]
sub ecx, eax
mov dword [ebp - 0x40], esi
sub dword [ebp - 0x40], ebx
mov dword [ebp - 0x2c], eax
inc ecx
xor eax, eax
mov edx, ecx
test ecx, ecx
je 0x1041c92
mov esi, dword [0x1427a7c]
imul esi, esi, 0x343fd
add esi, 0x269ec3
mov dword [0x1427a7c], esi
shr esi, 0x10
shl eax, 0x10
or eax, esi
shr edx, 0x10
jne 0x1041c6d
xor edx, edx
div ecx
mov eax, dword [ebp - 0x14]
add eax, edx
push eax
push dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x40]
mov eax, 0xadf2aaad
mov eax, dword [ebp - 0x38]
mov edi, dword [eax + 4]
mov esi, dword [eax]
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], edi
mov byte [ebp - 0xd], 0
mov eax, 0x50e039ab
mov ecx, dword [0x13ca1e8]
and dword [ebp - 0x24], 0
mov eax, 0xfffffff
and dword [ebp - 0x20], 0
and esi, eax
and edi, eax
mov eax, ebx
add esp, 0x10
add esi, ebx
sub eax, ecx
mov dword [ebp - 0x48], eax
jne 0x1041d57
and dword [ebp - 0x18], 0
test edi, edi
jbe 0x1041f40
mov ecx, 0x1c8c8ff2
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + esi]
mov edx, 0xe373700e
sub eax, ecx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xe373700e
ror eax, 0x11
imul eax, eax, 0xe373700e
ror eax, 0x11
add dword [ebp - 0x24], eax
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x20], eax
jb 0x1041cfb
jmp 0x1041f40
mov eax, dword [0x109dc84]
imul eax, dword [ebp - 0x2c]
lea eax, [eax + section..data]
mov dword [ebp - 0x14], eax
jmp 0x1041ba9
mov dword [ebp - 0x14], eax
jmp 0x1041bee
lea eax, [edi + esi]
mov ecx, esi
sub ecx, ebx
mov edx, dword [0x100003c]
lea edx, [edx + 0x10000a0]
mov dword [ebp - 0x34], eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 0x30], edx
mov edx, ecx
and edx, 0xfffff000
mov dword [ebp - 0x18], edx
mov edx, ecx
sub edx, dword [ebp - 0x18]
add ecx, edi
mov edi, ecx
and edi, 0xfffff000
sub ecx, edi
add eax, ebx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x30]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 0x60], edi
mov edi, eax
mov dword [ebp - 0x58], ecx
je 0x1041db6
mov eax, dword [ebp - 0x18]
cmp dword [edi], eax
jae 0x1041db6
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x58]
jne 0x1041da7
and dword [ebp - 0x50], 0
cmp edi, dword [ebp - 0x58]
je 0x1041dea
mov eax, dword [ebp - 0x18]
cmp dword [edi], eax
jne 0x1041dea
mov eax, dword [edi + 4]
sub eax, 8
shr eax, 1
je 0x1041dea
mov ecx, dword [ebp - 0x50]
movzx ecx, word [edi + ecx*2 + 8]
and ecx, 0xfff
cmp ecx, edx
jae 0x1041dea
inc dword [ebp - 0x50]
cmp dword [ebp - 0x50], eax
jne 0x1041dd0
mov ecx, 0x1c8c8ff2
cmp edi, dword [ebp - 0x58]
je 0x1041f01
mov eax, dword [ebp - 0x60]
cmp dword [edi], eax
ja 0x1041f01
mov eax, dword [edi + 4]
lea edx, [eax - 8]
mov eax, dword [ebp - 0x50]
shr edx, 1
cmp eax, edx
jne 0x1041e2f
add edi, dword [edi + 4]
cmp edi, dword [ebp - 0x58]
je 0x1041f01
mov eax, dword [ebp - 0x60]
cmp dword [edi], eax
ja 0x1041f01
and dword [ebp - 0x50], 0
jmp 0x1041e03
mov edx, dword [ebp - 0x60]
cmp dword [edi], edx
jne 0x1041e49
movzx eax, word [edi + eax*2 + 8]
and eax, 0xfff
cmp eax, dword [ebp - 0x5c]
jae 0x1041f01
mov eax, dword [ebp - 0x50]
inc dword [ebp - 0x50]
test word [edi + eax*2 + 8], 0xf000
je 0x1041def
mov edx, dword [edi]
movzx eax, word [edi + eax*2 + 8]
and dword [ebp - 0x18], 0
and eax, 0xfff
lea eax, [eax + edx + 0x1000000]
mov dword [ebp - 0x1c], eax
sub dword [ebp - 0x1c], esi
mov dword [ebp - 0x3c], eax
je 0x1041eb5
mov eax, dword [ebp - 0x18]
mov edx, 0xe373700e
movzx eax, byte [eax + esi]
sub eax, ecx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xe373700e
ror eax, 0x11
imul eax, eax, 0xe373700e
ror eax, 0x11
add dword [ebp - 0x24], eax
inc dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jb 0x1041e7a
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x6c], eax
xor esi, esi
mov edx, 0xe373700e
movzx eax, byte [ebp + esi - 0x6c]
sub eax, ecx
add dword [ebp - 0x24], eax
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xe373700e
ror eax, 0x11
imul eax, eax, 0xe373700e
ror eax, 0x11
add dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
inc esi
cmp esi, 4
jb 0x1041ec2
mov esi, dword [ebp - 0x3c]
add esi, 4
jmp 0x1041def
xor edi, edi
mov eax, dword [ebp - 0x34]
sub eax, esi
mov dword [ebp - 0x30], eax
je 0x1041f40
movzx eax, byte [esi + edi]
sub eax, ecx
add dword [ebp - 0x24], eax
mov edx, 0xe373700e
add eax, dword [ebp - 0x20]
mul edx
add eax, edx
imul eax, eax, 0xe373700e
ror eax, 0x11
imul eax, eax, 0xe373700e
ror eax, 0x11
add dword [ebp - 0x24], eax
inc edi
cmp edi, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
jb 0x1041f0d
xor eax, eax
mov ecx, eax
and ecx, 7
mov cl, byte [ebp + ecx - 0x24]
mov byte [ebp + eax - 0xc], cl
inc eax
cmp eax, 8
jb 0x1041f42
mov eax, 0x472778f6
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x2c]
and eax, 7
mov dword [ebp - 0x48], eax
je 0x10422ea
xor ecx, ecx
mov edi, dword [ebp - 0x40]
cmp eax, ecx
not edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x14], ecx
jle 0x1041faf
push 0x38
pop edx
cmp dword [ebp - 0x14], 4
movzx ebx, byte [esi]
jge 0x1041f9c
lea ecx, [edx - 0x20]
shl ebx, cl
or dword [ebp - 0x3c], ebx
jmp 0x1041fa3
mov ecx, edx
shl ebx, cl
or dword [ebp - 0x1c], ebx
inc esi
inc dword [ebp - 0x14]
sub edx, 8
cmp dword [ebp - 0x14], eax
jl 0x1041f89
movzx ecx, word [ebp - 8]
movzx edx, word [ebp - 6]
mov eax, dword [ebp - 0x40]
sub eax, edx
xor eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
xor edi, eax
xor edx, edi
imul edx, ecx
mov eax, edi
ror eax, 0xc
xor eax, edx
xor eax, dword [ebp - 0x40]
mov ebx, eax
movzx edx, word [ebp - 0xa]
xor ecx, eax
rol ecx, 2
imul edx, ecx
rol ebx, 9
movzx ecx, word [ebp - 0xa]
sub edx, ebx
xor edi, edx
mov ebx, edi
xor ecx, edi
rol ecx, 7
movzx edx, word [ebp - 0xc]
mov dword [ebp - 0x18], edx
imul edx, ecx
ror ebx, 4
xor ebx, edx
movzx edx, word [ebp - 0xa]
xor eax, ebx
mov ecx, edx
xor ecx, eax
imul ecx, dword [ebp - 0x14]
mov ebx, eax
shr ebx, 7
add ecx, ebx
xor edi, ecx
mov ecx, dword [ebp - 0xc]
xor ecx, edi
mov ebx, dword [ebp - 8]
sub ebx, ecx
xor eax, ebx
mov ebx, dword [ebp - 0x18]
movzx ecx, word [ebp - 8]
xor ecx, eax
rol ecx, 4
imul edx, ecx
mov ecx, eax
shr ecx, 6
add edx, ecx
mov ecx, dword [ebp - 8]
xor edi, edx
mov edx, edi
xor ecx, edi
ror ecx, 0xa
imul ebx, ecx
rol edx, 8
add edx, ebx
xor eax, edx
mov ecx, eax
mov edx, dword [ebp - 0x14]
mov ebx, eax
sub ecx, dword [ebp - 0xc]
rol ecx, 2
imul edx, ecx
ror ebx, 9
xor ebx, edx
movzx ecx, word [ebp - 8]
xor edi, ebx
mov ebx, dword [ebp - 0x18]
mov edx, edi
xor ebx, edi
imul ebx, ecx
ror edx, 2
add edx, ebx
xor eax, edx
mov edx, eax
sub edx, ecx
movzx ecx, word [ebp - 0xa]
imul edx, ecx
and dword [ebp - 0x14], 0
mov ecx, eax
shr ecx, 4
sub edx, ecx
mov ecx, dword [ebp - 0x18]
xor edi, edx
mov ebx, edi
mov edx, dword [ebp - 8]
xor edx, edi
rol edx, 0xd
imul ecx, edx
xor edi, dword [ebp - 0x1c]
ror ebx, 5
sub ecx, ebx
mov ebx, dword [ebp - 0x48]
xor ecx, dword [ebp - 0x3c]
xor eax, ecx
test ebx, ebx
mov dword [ebp - 0x34], eax
mov ecx, edi
jle 0x10420f1
cmp dword [ebp - 0x14], 4
jge 0x10420d8
rol dword [ebp - 0x34], 8
mov ebx, dword [ebp - 0x44]
mov dl, byte [ebp - 0x34]
inc dword [ebp - 0x44]
xor byte [ebp - 0xd], dl
mov byte [ebx], dl
jmp 0x10420e6
mov edx, dword [ebp - 0x44]
inc dword [ebp - 0x44]
rol ecx, 8
xor byte [ebp - 0xd], cl
mov byte [edx], cl
inc dword [ebp - 0x14]
mov ebx, dword [ebp - 0x48]
cmp dword [ebp - 0x14], ebx
jl 0x10420be
add ebx, 0xfffffffc
test ebx, ebx
jle 0x10422d0
push 4
pop ecx
sub ecx, ebx
shl ecx, 3
shr edi, cl
shl edi, cl
mov edx, edi
mov ebx, 0x1000000
mov ecx, dword [ebp - 0x2c]
shr ecx, 3
je 0x10422fe
movzx edi, word [ebp - 6]
mov dword [ebp - 0x14], edi
movzx edi, word [ebp - 0xa]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x30], ecx
movzx ecx, byte [esi + 1]
movzx edi, byte [esi + 2]
mov ch, byte [esi]
mov ebx, dword [ebp - 0x14]
add esi, 8
shl ecx, 8
or ecx, edi
shl ecx, 8
movzx edi, byte [esi - 5]
or ecx, edi
mov dword [ebp - 0x34], ecx
xor ecx, ecx
xor eax, dword [ebp - 0x34]
movzx edi, byte [esi - 2]
mov ch, byte [esi - 4]
mov cl, byte [esi - 3]
shl ecx, 8
or ecx, edi
shl ecx, 8
movzx edi, byte [esi - 1]
or ecx, edi
mov dword [ebp - 0x48], ecx
mov ecx, eax
sub ecx, dword [ebp - 0x14]
xor ecx, dword [ebp - 0xc]
xor ecx, dword [ebp - 0x48]
xor edx, ecx
movzx ecx, word [ebp - 8]
mov edi, edx
xor ebx, edx
imul ebx, ecx
ror edi, 0xc
xor edi, ebx
mov ebx, dword [ebp - 0x18]
xor eax, edi
xor ecx, eax
rol ecx, 2
imul ebx, ecx
mov edi, eax
mov ecx, dword [ebp - 0x18]
rol edi, 9
sub ebx, edi
movzx edi, word [ebp - 0xc]
xor edx, ebx
xor ecx, edx
rol ecx, 7
mov ebx, edx
imul edi, ecx
mov ecx, dword [ebp - 0x18]
ror ebx, 4
xor ebx, edi
xor eax, ebx
mov edi, eax
xor ecx, eax
imul ecx, dword [ebp - 0x14]
shr edi, 7
add ecx, edi
xor edx, ecx
mov ecx, dword [ebp - 0xc]
xor ecx, edx
mov edi, dword [ebp - 8]
sub edi, ecx
movzx ecx, word [ebp - 8]
xor eax, edi
xor ecx, eax
rol ecx, 4
mov edi, dword [ebp - 0x18]
imul edi, ecx
mov ecx, eax
shr ecx, 6
add edi, ecx
mov ecx, dword [ebp - 8]
xor edx, edi
mov ebx, edx
movzx edi, word [ebp - 0xc]
xor ecx, edx
ror ecx, 0xa
imul edi, ecx
rol ebx, 8
add ebx, edi
xor eax, ebx
mov ecx, eax
mov edi, eax
sub ecx, dword [ebp - 0xc]
rol ecx, 2
mov ebx, dword [ebp - 0x14]
imul ebx, ecx
ror edi, 9
movzx ecx, word [ebp - 0xc]
xor edi, ebx
xor edx, edi
mov edi, edx
mov ebx, ecx
movzx ecx, word [ebp - 8]
xor ebx, edx
imul ebx, ecx
ror edi, 2
add edi, ebx
xor eax, edi
mov edi, eax
sub edi, ecx
mov ecx, eax
imul edi, dword [ebp - 0x18]
shr ecx, 4
sub edi, ecx
xor edx, edi
mov ebx, edx
mov ecx, dword [ebp - 8]
xor ecx, edx
rol ecx, 0xd
movzx edi, word [ebp - 0xc]
imul edi, ecx
xor edx, dword [ebp - 0x1c]
ror ebx, 5
sub edi, ebx
mov cl, byte [ebp - 0xd]
xor edi, dword [ebp - 0x3c]
xor eax, edi
xor cl, al
xor cl, dl
mov edi, dword [ebp - 0x44]
mov byte [edi + 3], al
ror eax, 8
xor cl, al
mov byte [edi + 7], dl
mov byte [edi + 2], al
ror edx, 8
xor cl, dl
ror eax, 8
xor cl, al
mov byte [edi + 6], dl
ror edx, 8
mov byte [edi + 1], al
mov byte [edi + 5], dl
xor cl, dl
ror eax, 8
ror edx, 8
mov bl, dl
xor bl, al
xor cl, bl
mov ebx, dword [ebp - 0x34]
mov byte [edi], al
mov byte [edi + 4], dl
mov dword [ebp - 0x3c], ebx
add edi, 8
mov ebx, dword [ebp - 0x48]
dec dword [ebp - 0x30]
mov byte [ebp - 0xd], cl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], edi
ror eax, 8
ror edx, 8
jne 0x104212c
mov ebx, 0x1000000
jmp 0x1042301
xor edx, edx
test ebx, ebx
jge 0x104210a
neg ebx
shl ebx, 3
mov ecx, ebx
shr eax, cl
shl eax, cl
jmp 0x104210a
mov eax, dword [ebp - 0x40]
xor edx, edx
mov dword [ebp - 0x3c], eax
not eax
mov dword [ebp - 0x1c], eax
xor eax, eax
jmp 0x104210f
mov cl, byte [ebp - 0xd]
mov eax, dword [ebp - 0x38]
cmp cl, byte [eax + 8]
je 0x1042394
call fcn.012a18fc
mov esi, eax
mov edx, 0xffff
mov eax, 0xfffff000
mov ecx, dword [ebp - 0x4c]
and ecx, 0xfffffffc
mov edi, ecx
lea ecx, [edi + 0xfff]
and esi, eax
and ecx, eax
mov eax, dword [ebp - 0x68]
mov dword [eax + 8], 0x103a6aa
xor eax, eax
mov ebx, dword [0x1427a7c]
imul ebx, ebx, 0x343fd
add ebx, 0x269ec3
mov dword [0x1427a7c], ebx
shr ebx, 0x10
shl eax, 0x10
or eax, ebx
shr edx, 0x10
jne 0x104233c
xor edx, edx
mov ebx, 0xffff
div ebx
mov dword [ebp - 0x80], esi
mov eax, edi
inc edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x4c], 0
cmp edi, ecx
jae 0x104238a
mov edx, dword [ebp - 0x4c]
mov dword [eax], edx
add eax, 4
cmp eax, ecx
jb 0x104237e
mov eax, 0x103a6aa
jmp 0x1042460
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x28]
mov ecx, dword [0x13ca1e8]
sub ebx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ebx
jne 0x10423b2
test eax, eax
je 0x1042453
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
mov ecx, dword [0x1236cc0]
mov esi, dword [ebp - 0x28]
sub esi, dword [ebp - 0x64]
add eax, edi
mov dword [ebp - 0x4c], eax
xor ebx, ebx
dec ecx
js 0x10423f5
lea eax, [ecx + ebx]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x1236cc4]
and edx, 0xfffffff
cmp edi, edx
jae 0x10423ec
lea ecx, [eax - 1]
jmp 0x10423f1
jbe 0x10423f9
lea ebx, [eax + 1]
cmp ecx, ebx
jge 0x10423ce
mov edi, ebx
jmp 0x104244b
mov edi, eax
jmp 0x104244b
mov eax, dword [edi*4 + 0x1236cc4]
mov ecx, eax
and ecx, 0xfffffff
cmp ecx, dword [ebp - 0x4c]
jae 0x1042453
lea ebx, [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 0x104243e
dec ecx
je 0x1042439
dec ecx
jne 0x1042444
mov edx, dword [ebp - 0x38]
jmp 0x1042444
mov edx, dword [ebp - 0x30]
jmp 0x1042444
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x30]
dec eax
dec eax
jne 0x104244a
add dword [ebx], edx
inc edi
cmp edi, dword [0x1236cc0]
jb 0x10423fd
mov eax, dword [0x109dc84]
mov eax, 0x24b01698
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x68]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x78]
mov esi, dword [ebp - 0x84]
mov edi, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x80]
mov esp, ebp
pop ebp
popfd
ret