Function at 0x43755c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x23
push 0
push 0
dec ecx
jne 0x437564
push ecx
push ebx
push esi
push edi
mov byte [ebp - 0x81], al
lea eax, [ebp - 0x40]
mov edx, dword [0x41b5ac]
call fcn.00406bd0
lea eax, [ebp - 0x80]
mov edx, dword [0x41b5ac]
call fcn.00406bd0
xor eax, eax
push ebp
push 0x437d42
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x524648], 0
je 0x4375b5
mov eax, dword [0x524648]
cmp eax, dword [0x52464c]
jne 0x437621
push 0x437d50
call sub.kernel32.dll_GetModuleHandleW_1
mov ebx, eax
test ebx, ebx
jne 0x4375d1
push 0x437d6c
call sub.kernel32.dll_GetModuleHandleW_1
mov ebx, eax
push 0x437d84
push ebx
call fcn.00409134
mov dword [0x524648], eax
push 0x437db0
push ebx
call fcn.00409134
mov dword [0x52464c], eax
push 0x437e04
push ebx
call fcn.00409134
mov dword [0x524654], eax
push 0x437e14
push ebx
call fcn.00409134
mov dword [0x52465c], eax
push 0x437e34
push ebx
call fcn.00409134
mov dword [0x524660], eax
cmp dword [0x524648], 0
je 0x437d01
cmp dword [0x52464c], 0
je 0x437d01
cmp dword [0x524654], 0
je 0x437d01
cmp dword [0x52465c], 0
jne 0x43765e
cmp dword [0x524658], 0
je 0x437d01
mov eax, dword [0x52a108]
mov edx, dword [0x524650]
mov dword [eax], edx
lea edx, [ebp - 0xb8]
mov eax, dword [0x524648]
call fcn.0041f6b4
lea edx, [ebp - 0x40]
mov eax, dword [0x524648]
call fcn.004209b4
mov eax, dword [ebp - 0x20]
call fcn.004075a8
mov esi, eax
dec esi
test esi, esi
jl 0x43772c
inc esi
xor ebx, ebx
mov edi, ebx
add edi, edi
add edi, edi
add edi, edi
sub edi, ebx
mov eax, dword [ebp - 0x20]
cmp dword [eax + edi*4 + 0xc], 0
je 0x437724
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 0xc]
mov edx, dword [ebp - 0x20]
cmp eax, dword [edx + edi*4 + 0x28]
jne 0x437724
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edi*4 + 8]
lea edx, [ebp - 0xb8]
call fcn.0041f6b4
cmp word [ebp - 0xb6], 0x8b
jne 0x437724
movzx eax, byte [ebp - 0xb4]
sub al, 0x80
je 0x4376fc
sub al, 8
je 0x4376fc
sub al, 8
jne 0x437724
mov eax, dword [ebp - 0x9c]
add eax, 2
mov eax, dword [eax]
mov dword [0x524718], eax
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 0xc]
mov dword [0x52471c], eax
jmp 0x43772c
inc ebx
dec esi
jne 0x43769e
cmp dword [0x52471c], 0
je 0x437a98
lea edx, [ebp - 0x40]
mov eax, dword [0x52464c]
call fcn.004209b4
mov eax, dword [ebp - 0x20]
call fcn.004075a0
dec eax
jne 0x437a98
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
call fcn.004209b4
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x40]
mov ecx, dword [0x41b5ac]
call fcn.00406e2c
mov eax, sub.kernel32.dll_RaiseException_1
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
cmp word [eax], 0x25ff
jne 0x4377a5
mov eax, dword [ebp - 0x90]
add eax, 2
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x20]
call fcn.004075a8
mov esi, eax
test esi, esi
jl 0x437902
inc esi
xor ebx, ebx
mov edi, ebx
add edi, edi
add edi, edi
add edi, edi
sub edi, ebx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edi*4 + 0xc]
cmp eax, dword [ebp - 0x90]
jne 0x437843
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edi*4 + 4]
sub eax, 4
cmp dword [eax], 0xeefface
jne 0x4378fa
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + edi*4 + 4]
lea edx, [ebp - 0xb8]
call fcn.0041f6b4
cmp dword [ebp - 0xa4], 4
jne 0x4378fa
cmp byte [ebp - 0xb1], 0
je 0x4378fa
mov eax, dword [ebp - 0xb0]
mov dword [0x52ecd8], eax
mov edx, 0x43737c
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.0045d9e4
jmp 0x4378fa
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 0xc]
lea edx, [ebp - 0xb8]
call fcn.0041f6b4
jmp 0x4378e4
mov eax, dword [ebp - 0xb0]
cmp eax, dword [0x524654]
jne 0x4378be
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 0xc]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0xa4], 4
jne 0x4378fa
cmp byte [ebp - 0xb1], 0
je 0x4378fa
mov eax, dword [ebp - 0xb0]
mov dword [0x52ecd0], eax
mov edx, 0x437208
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.0045d9e4
jmp 0x4378fa
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.0041f6b4
push esi
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jae 0x437864
inc ebx
dec esi
jne 0x4377c2
cmp dword [ebp - 0x88], 0
je 0x437a98
lea edx, [ebp - 0x40]
mov eax, dword [0x524648]
call fcn.004209b4
mov eax, dword [ebp - 0x20]
call fcn.004075a8
mov esi, eax
test esi, esi
jl 0x437a98
inc esi
xor ebx, ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 0xc]
lea edx, [ebp - 0x80]
call fcn.004209b4
mov eax, dword [ebp - 0x60]
call fcn.004075a8
mov edi, eax
test edi, edi
jl 0x437a90
inc edi
mov dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov edx, eax
add eax, eax
add eax, eax
add eax, eax
sub eax, edx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + eax*4 + 0xc]
cmp eax, dword [ebp - 0x88]
jne 0x437a83
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 8]
lea edx, [ebp - 0xb8]
call fcn.0041f6b4
cmp word [ebp - 0xb6], 0x83
jne 0x437a83
cmp byte [ebp - 0xb4], 0xc4
jne 0x437a83
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax + 2]
sub al, 0x10
je 0x4379d9
sub al, 8
je 0x437a32
jmp 0x437a83
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 4]
lea edx, [ebp - 0xb8]
call fcn.0041f6b4
cmp dword [ebp - 0xa4], 4
jne 0x437a90
cmp byte [ebp - 0xb1], 0
je 0x437a90
mov eax, dword [ebp - 0xb0]
mov dword [0x52ecd4], eax
mov edx, 0x4372fc
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.0045d9e4
jmp 0x437a90
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + eax*4 + 4]
lea edx, [ebp - 0xb8]
call fcn.0041f6b4
cmp dword [ebp - 0xa4], 4
jne 0x437a90
cmp byte [ebp - 0xb1], 0
je 0x437a90
mov eax, dword [ebp - 0xb0]
mov dword [0x52ecdc], eax
mov edx, 0x437404
sub edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0xac]
call fcn.0045d9e4
jmp 0x437a90
inc dword [ebp - 0x8c]
dec edi
jne 0x437967
inc ebx
dec esi
jne 0x437931
cmp byte [ebp - 0x81], 0
je 0x437c20
call fcn.00437548
lea edx, [ebp - 0xb8]
call fcn.0041f6b4
jmp 0x437adb
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.0041f6b4
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0xb8], 0
je 0x437b21
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x437b21
cmp word [ebp - 0xb6], 0x89
jne 0x437ab7
mov eax, dword [ebp - 0x9c]
inc eax
cmp dword [eax], 0x24448bc2
jne 0x437ab7
mov eax, dword [ebp - 0x9c]
add eax, 5
cmp dword [eax], 0xc488b04
jne 0x437ab7
cmp byte [ebp - 0xb8], 0
je 0x437c20
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x437c20
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x90], eax
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.0041f6b4
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
jmp 0x437b9a
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.0041f6b4
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp - 0xb8], 0
je 0x437be0
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x437be0
cmp word [ebp - 0xb6], 0x89
jne 0x437b76
mov eax, dword [ebp - 0x9c]
inc eax
cmp dword [eax], 0x24448bc2
jne 0x437b76
mov eax, dword [ebp - 0x9c]
add eax, 5
cmp dword [eax], 0xc488b04
jne 0x437b76
cmp byte [ebp - 0xb8], 0
je 0x437c07
movzx eax, word [ebp - 0xb6]
add eax, 0xffffff3e
sub ax, 2
jb 0x437c07
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x437c20
mov edx, 0x4374a4
mov eax, dword [ebp - 0x90]
call fcn.0045d9c0
cmp dword [0x52465c], 0
je 0x437c36
mov eax, dword [0x52465c]
mov dword [eax], 0x4374c8
jmp 0x437c45
mov edx, 0x4374c8
mov eax, dword [0x524658]
call fcn.0045d98c
cmp dword [0x524660], 0
je 0x437d01
lea edx, [ebp - 0xb8]
mov eax, dword [0x524660]
call fcn.0041f6b4
mov ebx, 5
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x98]
call fcn.0041f6b4
lea esi, [ebp - 0x11c]
lea edi, [ebp - 0xb8]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
dec ebx
jne 0x437c67
cmp byte [ebp - 0xb8], 0
je 0x437d01
mov eax, dword [ebp - 0x9c]
cmp word [eax], 0x33ff
jne 0x437d01
mov eax, dword [ebp - 0x98]
add eax, 6
cmp byte [eax], 0x59
jne 0x437d01
lea eax, [ebp - 0x94]
push eax
push 0x40
mov esi, dword [ebp - 0x98]
mov edi, esi
add edi, 7
mov eax, edi
sub eax, dword [0x524660]
push eax
mov ebx, dword [ebp - 0x9c]
push ebx
call sub.kernel32.dll_VirtualProtect
mov word [ebx], 0x38b
add esi, 6
mov byte [esi], 0x90
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x94]
push eax
sub edi, dword [0x524660]
push edi
push ebx
call sub.kernel32.dll_VirtualProtect
push 0
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437d49
lea eax, [ebp - 0xf8]
mov edx, dword [0x41b5ac]
call fcn.00406ca8
lea eax, [ebp - 0x80]
mov edx, dword [0x41b5ac]
mov ecx, 2
call fcn.00406cf8
ret