Function at 0x421070
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x455c72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x20], ebp
call fcn.0040cbb0
xor esi, esi
lea ecx, [ebp + 0x78]
mov dword [esp + 0x22c], esi
call fcn.00423ce0
lea edi, [ebp + 0x1c]
mov byte [esp + 0x22c], 1
mov ecx, edi
call fcn.004248c0
mov dword [ebp], 0x458a00
mov dword [edi], 0x4589f4
mov dword [ebp + 0x58], 0x4589cc
lea ecx, [ebp + 0x9c]
mov dword [esp + 0x22c], 2
cmp ecx, esi
je 0x4210ee
lea eax, [ecx - 0x9c]
jmp 0x4210f0
xor eax, eax
push ecx
add eax, 8
push 0x40
push 0xd
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp + 0xa8]
mov byte [esp + 0x22c], 3
call fcn.00415180
lea ecx, [ebp + 0x170]
mov byte [esp + 0x22c], 4
call fcn.00415180
lea ecx, [ebp + 0x238]
mov byte [esp + 0x22c], 5
call fcn.00416bf0
lea ecx, [ebp + 0x304]
mov byte [esp + 0x22c], 6
call int.00430670
lea ecx, [ebp + 0x358]
mov byte [esp + 0x22c], 7
call fcn.0042fb30
mov eax, dword [str.lF_F]
lea ebx, [ebp + 0x3a0]
mov dword [ebx], eax
lea ecx, [ebp + 0x3bc]
mov byte [esp + 0x22c], 9
call fcn.0042e4e0
lea ecx, [ebp + 0x3d8]
mov byte [esp + 0x22c], 0xa
call fcn.0042e4e0
mov ecx, dword [str.lF_F]
mov dword [ebp + 0x3f4], ecx
lea ecx, [ebp + 0x3f8]
mov byte [esp + 0x22c], 0xc
call fcn.004180f0
mov dword [ebp], 0x4589b8
mov dword [edi], 0x4589ac
mov dword [ebp + 0x58], 0x458984
mov dword [ebp + 0x3a8], esi
mov dword [ebp + 0x3a4], esi
mov dword [ebp + 0x3ac], esi
mov dword [ebp + 0x74], 2
mov dword [ebp + 0xa4], 0x14
mov dword [ebp + 0x388], esi
mov dword [ebp + 0x38c], esi
mov dword [ebp + 0x390], esi
mov dword [ebp + 0x394], esi
mov dword [ebp + 0x398], esi
mov dword [ebp + 0x39c], 1
mov dword [ebp + 0x3b0], 0x3f800000
mov edx, dword [0x468408]
lea ecx, [esp + 0x24]
push 0x100
mov eax, dword [edx + 8]
push ecx
push 0xa3
push eax
mov byte [esp + 0x23c], 0xd
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, esi
jne 0x421249
mov word [esp + 0x24], si
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x4212c7
lea eax, [esp + 0x24]
test eax, eax
jne 0x421261
xor edi, edi
jmp 0x42126e
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004079b0
test eax, eax
je 0x4212a6
mov ecx, dword [ebx]
lea eax, [edi + edi]
mov dword [esp + 0x10], eax
push eax
lea edx, [esp + 0x28]
lea eax, [edi + edi + 2]
push edx
push eax
push ecx
call fcn.00402fc0
mov edx, dword [ebx]
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [edx - 8], edi
mov eax, dword [ebx]
mov word [ecx + eax], si
mov dword [ebp + 0x42c], esi
mov ecx, dword [esp + 0x224]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x220
ret
mov edi, 0xff
mov eax, dword [ebx]
add edi, 0x100
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov ecx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp ecx, 1
mov dword [esp + 0x1c], esi
jg 0x4212f0
cmp edi, dword [eax - 4]
jle 0x42134d
mov eax, dword [eax - 8]
cmp edi, eax
mov dword [esp + 0x10], eax
jge 0x4212ff
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov ecx, ebx
push edx
call fcn.00404130
test eax, eax
je 0x421387
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax + 2]
lea eax, [edx + edx + 2]
cmp eax, ecx
jb 0x42133e
mov edi, dword [ebx]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x10]
push esi
mov dword [eax - 8], ecx
call fcn.00404290
mov ecx, dword [ebx]
test ecx, ecx
mov dword [esp + 0x14], ecx
je 0x421387
mov edx, dword [0x468408]
lea esi, [edi + 1]
push esi
push ecx
mov eax, dword [edx + 8]
push 0xa3
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x42137c
mov ecx, dword [esp + 0x14]
mov word [ecx], ax
sub esi, eax
cmp esi, 1
jle 0x4212cc
mov ecx, ebx
call fcn.00407850
mov edx, dword [ebx]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebx]
mov dword [ecx - 8], eax
mov edx, dword [ebx]
mov word [edx + eax*2], 0
mov dword [ebp + 0x42c], 0
jmp 0x4212ac