Function at 0x405270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622e8f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5c8
mov eax, dword [0x6b9538]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5bc], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x5c0], eax
mov dword [ebp - 0x5d4], 0
mov byte [ebp - 0x5c4], 0
call fcn.00406580
mov ecx, eax
call fcn.0041f2a7
lea eax, [ebp - 0x104]
push eax
call fcn.00406580
mov ecx, eax
call fcn.0041ed26
mov dword [ebp - 4], 0
lea eax, [ebp - 0x104]
cmp dword [ebp - 0xf0], 8
cmovae eax, dword [ebp - 0x104]
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.0041bd0e
add esp, 8
mov byte [ebp - 4], 1
call fcn.00418870
test al, al
je 0x405399
mov eax, dword [0x6c8ea0]
test eax, eax
je 0x405399
cmp dword [eax + 4], 4
jl 0x405399
push str.1011
call fcn.0041864f
sub esp, 8
lea ecx, [ebp - 0x370]
mov edi, eax
push 0x97
sub esp, 8
call fcn.00404000
mov esi, eax
test edi, edi
mov byte [ebp - 4], 2
mov ecx, str._null_
cmovne ecx, edi
push ecx
lea ecx, [esi + 0x30]
push ecx
call fcn.0040a510
mov ecx, dword [0x6c8ea0]
add esp, 8
push esi
call fcn.00406640
lea ecx, [ebp - 0x370]
mov byte [ebp - 4], 1
call fcn.00404400
mov edi, dword [ebp - 0x5bc]
mov eax, dword [edi + 8]
xor edx, edx
mov esi, dword [edi + 4]
mov ecx, eax
sub ecx, esi
xor edi, edi
add ecx, 3
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x5b4], ecx
test ecx, ecx
je 0x4053da
mov eax, ecx
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x4053d2
mov eax, dword [ecx]
push 0
call dword [eax]
mov eax, dword [ebp - 0x5b4]
inc edi
add esi, 4
cmp edi, eax
jne 0x4053c0
cmp dword [ebp - 0xf0], 8
lea eax, [ebp - 0x104]
cmovae eax, dword [ebp - 0x104]
push eax
call fcn.0041c2cd
add esp, 4
lea edi, [ebp - 0x164]
cmp dword [ebp - 0x150], 0x10
cmovae edi, dword [ebp - 0x164]
push 0xa
push 1
call fcn.004064c0
mov ecx, eax
call fcn.00413ed2
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x406216
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406216
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [ebp - 0x5b4], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x5b4]
test ecx, ecx
je 0x406216
test eax, eax
je 0x406216
push 0
push 0x404e60
push edi
push eax
push ecx
call fcn.004bca40
test eax, eax
jne 0x406216
lea eax, [ebp - 0x204]
push eax
call fcn.00404850
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x204]
mov dword [ebp - 0x5b8], esp
mov ecx, esp
push eax
call fcn.00402b40
mov byte [ebp - 4], 4
call fcn.00406580
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0041f3e2
cmp dword [ebp - 0xf0], 8
lea eax, [ebp - 0x104]
cmovae eax, dword [ebp - 0x104]
push eax
call fcn.00406580
mov ecx, eax
call fcn.0041f332
call fcn.00411aad
lea ecx, [ebp - 0x250]
call fcn.004122a3
push 0
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 5
call fcn.0041e57c
lea ecx, [ebp - 0x18c]
call fcn.00412255
mov byte [ebp - 4], 6
mov esi, dword [0x6c8fcc]
test esi, esi
jne 0x405588
push 0x6c8f68
mov dword [ebp - 0x5b8], 0x6c8f68
call fcn.004c6624
add esp, 4
test eax, eax
je 0x40553a
push eax
call fcn.004c6e54
add esp, 4
mov byte [ebp - 4], 7
mov esi, dword [0x6c8fcc]
test esi, esi
jne 0x405566
push 4
call fcn.0050ed47
mov esi, eax
add esp, 4
mov dword [ebp - 0x5b4], esi
mov dword [esi], vtable.HttpGetImpl.0
mov dword [0x6c8fcc], esi
push 0x6c8f68
mov byte [ebp - 4], 8
call fcn.004c6649
add esp, 4
test eax, eax
je 0x405584
push eax
call fcn.004c6e54
add esp, 4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x18c]
mov ecx, esi
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0041d2b7
sub esp, 0x18
lea eax, [ebp - 0x188]
mov ecx, esp
mov dword [ebp - 0x5d8], esp
push eax
call fcn.00402b40
sub esp, 0xc
mov byte [ebp - 4], 9
mov edi, esp
mov eax, 0x2aaaaaab
mov dword [ebp - 0x5b4], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [ebp - 0x16c]
sub ecx, dword [ebp - 0x170]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4056c6
cmp eax, 0xaaaaaaa
ja 0x406394
lea esi, [eax + eax*2]
shl esi, 3
cmp esi, 0x1000
jb 0x40563c
lea eax, [esi + 0x23]
or ecx, 0xffffffff
cmp eax, esi
cmovbe eax, ecx
push eax
call fcn.0050ed47
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x406399
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x40564d
test esi, esi
je 0x40564b
push esi
call fcn.0050ed47
add esp, 4
jmp 0x40564d
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov eax, dword [edi]
add eax, esi
mov dword [edi + 8], eax
mov esi, dword [edi]
mov ecx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x5b4]
mov edi, dword [ebp - 0x170]
mov dword [ebp - 0x5b8], ecx
mov dword [ebp - 0x5d0], esi
mov dword [ebp - 0x5cc], esi
mov dword [ebp - 0x5c8], eax
mov byte [ebp - 4], 0xa
cmp edi, ecx
je 0x4056ac
nop dword [eax]
push edi
mov ecx, esi
call fcn.004069a0
add esi, 0x18
add edi, 0x18
mov dword [ebp - 0x5cc], esi
cmp edi, dword [ebp - 0x5b8]
jne 0x405690
push ecx
mov edx, esi
mov byte [ebp - 4], 9
mov ecx, esi
call fcn.0040ab80
mov eax, dword [ebp - 0x5b4]
add esp, 4
mov dword [eax + 4], esi
mov byte [ebp - 4], 6
call fcn.00404f60
movzx edi, al
push edi
call fcn.00406580
mov ecx, eax
call fcn.0041f461
lea eax, [ebp - 0x11c]
push eax
call fcn.00406580
mov ecx, eax
call fcn.0041ed26
push str.SZipMd5Tool.exe
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0xb
call fcn.004066f0
lea eax, [ebp - 0xec]
push str.CMD_SILENCE_INSTALLED
push eax
call fcn.00414ba6
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0xc
push str.CMD_SMALLPKG_INST
push eax
call fcn.00414ba6
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xd
push str.CMD_FORCE_INSTALL
push eax
call fcn.00414ba6
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0xe
push str.CMD_PARENT_PROCESS_NAME
push eax
call fcn.00414ba6
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0xf
push str.CMD_RUNTIME_INST_COMPLETE
push eax
call fcn.00414ba6
add esp, 0x28
mov ecx, dword [ebp - 0x5c0]
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xd8], 8
cmovae eax, dword [ebp - 0xec]
push eax
call fcn.00413abe
test al, al
je 0x4057ac
cmp dword [ebp - 0xd8], 8
lea edx, [ebp - 0xec]
cmovae edx, dword [ebp - 0xec]
jmp 0x4057b1
mov edx, 0x6a41c4
mov ecx, edx
mov dword [ebp - 0x94], 0
xor eax, eax
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4057d3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.00402c20
mov byte [ebp - 4], 0x11
call fcn.00406580
mov ecx, eax
call fcn.0041f2ab
test al, al
je 0x405819
cmp dword [ebp - 0x138], 8
lea edx, [ebp - 0x14c]
cmovae edx, dword [ebp - 0x14c]
jmp 0x40581e
mov edx, 0x6a5538
mov ecx, edx
mov dword [ebp - 0x7c], 0
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405840
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x8c]
call fcn.00402c20
mov ecx, dword [ebp - 0x5c0]
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0xc0], 8
cmovae eax, dword [ebp - 0xd4]
push eax
call fcn.00413abe
test al, al
je 0x40589a
cmp dword [ebp - 0xc0], 8
lea edx, [ebp - 0xd4]
cmovae edx, dword [ebp - 0xd4]
jmp 0x40589f
mov edx, 0x6a41c4
mov ecx, edx
mov dword [ebp - 0x64], 0
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4058c0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.00402c20
mov ecx, dword [ebp - 0x5c0]
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0xa8], 8
cmovae eax, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00412fc8
mov byte [ebp - 4], 0x14
test edi, edi
je 0x405924
lea eax, [ebp - 0x1ec]
push str.CMD_UNDER_REVIEW
push eax
call fcn.00414ba6
add esp, 8
mov ecx, 1
jmp 0x40595d
xor eax, eax
mov dword [ebp - 0x194], 0
push eax
push 0x6a41c4
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x190], 7
mov word [ebp - 0x1a4], ax
call fcn.00402c20
lea eax, [ebp - 0x1a4]
mov ecx, 2
mov dword [ebp - 0x4c], 0
xor edx, edx
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ebp - 4], 0x16
test cl, 2
je 0x4059ea
mov edx, dword [ebp - 0x190]
and ecx, 0xfffffffd
mov dword [ebp - 0x5b8], ecx
cmp edx, 8
jb 0x4059ea
mov ecx, dword [ebp - 0x1a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4059da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406399
push edx
push ecx
call fcn.0050f0f2
mov ecx, dword [ebp - 0x5b8]
add esp, 8
mov byte [ebp - 4], 0x17
test cl, 1
je 0x405a50
mov edx, dword [ebp - 0x1d8]
cmp edx, 8
jb 0x405a33
mov ecx, dword [ebp - 0x1ec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405a29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40639e
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov dword [ebp - 0x1dc], 0
mov dword [ebp - 0x1d8], 7
mov word [ebp - 0x1ec], ax
cmp dword [ebp - 0x1c], 0
ja 0x405b7a
xor eax, eax
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1c0], 7
mov word [ebp - 0x1d4], ax
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1a8], 7
mov word [ebp - 0x1bc], ax
push eax
push 0x6a41c4
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x19
call fcn.00402c20
push 0
push 0x6a41c4
lea ecx, [ebp - 0x1bc]
call fcn.00402c20
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 0x1a
call fcn.00401a40
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00402b40
lea ecx, [ebp - 0x2c]
call fcn.00402a10
movups xmm0, xmmword [ebp - 0x21c]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x20c]
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x1a8]
movq qword [ebp - 0x1c], xmm0
cmp edx, 8
jb 0x405b3a
mov ecx, dword [ebp - 0x1bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405b30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063a3
push edx
push ecx
call fcn.0050f0f2
add esp, 8
mov edx, dword [ebp - 0x1c0]
cmp edx, 8
jb 0x405b7a
mov ecx, dword [ebp - 0x1d4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405b70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063a8
push edx
push ecx
call fcn.0050f0f2
add esp, 8
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
lea edi, [ebp - 0xbc]
cmovae eax, dword [ebp - 0x5c]
lea esi, [ebp - 0xa4]
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x74]
mov dword [ebp - 0x5b8], eax
lea ecx, [ebp - 0x8c]
push dword [ebp - 0x5b8]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
cmp dword [ebp - 0xa8], 8
mov dword [ebp - 0x5b4], eax
lea eax, [ebp - 0x134]
cmovae edi, dword [ebp - 0xbc]
cmp dword [ebp - 0x90], 8
push dword [ebp - 0x5b4]
cmovae esi, dword [ebp - 0xa4]
cmp dword [ebp - 0x60], 8
push edi
cmovae edx, dword [ebp - 0x74]
cmp dword [ebp - 0x78], 8
push esi
cmovae ecx, dword [ebp - 0x8c]
cmp dword [ebp - 0x120], 8
push edx
cmovae eax, dword [ebp - 0x134]
push 1
push ecx
push eax
lea eax, [ebp - 0x44]
push str._s__s_d__s__s__s_s__s
push eax
call fcn.0041b659
add esp, 0x28
mov byte [ebp - 4], 0x1b
call fcn.00418870
test al, al
je 0x405cd4
mov eax, dword [0x6c8ea0]
test eax, eax
je 0x405cd4
cmp dword [eax + 4], 4
jl 0x405cd4
cmp dword [ebp - 0x30], 8
lea edi, [ebp - 0x44]
push str.1161
cmovae edi, dword [ebp - 0x44]
call fcn.0041864f
sub esp, 8
lea ecx, [ebp - 0x490]
mov esi, eax
push 0xcc
sub esp, 8
call fcn.00404000
mov dword [ebp - 0x5b8], eax
test esi, esi
mov byte [ebp - 4], 0x1c
mov ecx, str._null_
cmovne ecx, esi
lea esi, [eax + 0x30]
push ecx
push esi
call fcn.0040a510
test edi, edi
mov eax, str._null_
cmovne eax, edi
push eax
push esi
call fcn.0040a510
mov edi, dword [0x6c8ea0]
add esp, 0x10
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x405cc5
nop dword [eax]
mov ecx, dword [esi]
push dword [ebp - 0x5b8]
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [edi + 0xc]
jne 0x405cb0
lea ecx, [ebp - 0x490]
mov byte [ebp - 4], 0x1b
call fcn.00404400
cmp dword [ebp - 0x108], 8
lea ecx, [ebp - 0x11c]
push 0
cmovae ecx, dword [ebp - 0x11c]
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x44]
push 1
push ecx
push eax
call fcn.0041d17f
mov byte [ebp - 4], 0x17
add esp, 0x14
mov edx, dword [ebp - 0x30]
mov byte [ebp - 0x5c4], 1
cmp edx, 8
jb 0x405d48
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405d3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063ad
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x405d9a
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405d90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063b2
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x405dec
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405de2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063b7
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x405e3e
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405e34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063bc
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 8
jb 0x405e93
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405e89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063c1
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp edx, 8
jb 0x405eee
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405ee4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063c6
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
cmp edx, 8
jb 0x405f4f
mov ecx, dword [ebp - 0x134]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405f45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063cb
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 7
mov word [ebp - 0x134], ax
cmp edx, 8
jb 0x405fb0
mov ecx, dword [ebp - 0xbc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405fa6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063d0
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
cmp edx, 8
jb 0x406011
mov ecx, dword [ebp - 0xd4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406007
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063d5
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
cmp edx, 8
jb 0x406072
mov ecx, dword [ebp - 0x14c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406068
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063da
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 7
mov word [ebp - 0x14c], ax
cmp edx, 8
jb 0x4060d3
mov ecx, dword [ebp - 0xec]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4060c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063df
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
cmp edx, 8
jb 0x406134
mov ecx, dword [ebp - 0x11c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40612a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063e4
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x170]
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 7
mov word [ebp - 0x11c], ax
mov dword [ebp - method.CParsePureSoftCfg.virtual_0], vtable.CParsePureSoftCfg.0
call fcn.004094c0
mov edx, dword [ebp - 0x174]
cmp edx, 8
jb 0x4061aa
mov ecx, dword [ebp - 0x188]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4061a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063e9
push edx
push ecx
call fcn.0050f0f2
add esp, 8
xor eax, eax
mov dword [ebp - 0x178], 0
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x174], 7
mov word [ebp - 0x188], ax
call fcn.0041daf3
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1f0]
cmp edx, 8
jb 0x406216
mov ecx, dword [ebp - 0x204]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40620c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063ee
push edx
push ecx
call fcn.0050f0f2
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x5bc]
xor edx, edx
xor edi, edi
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, eax
sub ecx, esi
add ecx, 3
shr ecx, 2
cmp esi, eax
cmova ecx, edx
mov dword [ebp - 0x5bc], ecx
test ecx, ecx
je 0x40626f
mov eax, ecx
nop dword [eax]
mov ecx, dword [esi]
test ecx, ecx
je 0x406267
mov eax, dword [ecx]
push dword [ebp - 0x5c4]
call dword [eax + 4]
mov eax, dword [ebp - 0x5bc]
inc edi
add esi, 4
cmp edi, eax
jne 0x406250
call fcn.00418870
test al, al
je 0x4062dd
mov eax, dword [0x6c8ea0]
test eax, eax
je 0x4062dd
cmp dword [eax + 4], 4
jl 0x4062dd
push str.1012
call fcn.0041864f
sub esp, 8
lea ecx, [ebp - 0x5b0]
mov edi, eax
push 0xd3
sub esp, 8
call fcn.00404000
mov esi, eax
test edi, edi
mov byte [ebp - 4], 0x1d
mov eax, str._null_
lea ecx, [esi + 0x30]
cmovne eax, edi
push eax
push ecx
call fcn.0040a510
mov ecx, dword [0x6c8ea0]
add esp, 8
push esi
call fcn.00406640
lea ecx, [ebp - 0x5b0]
call fcn.00404400
mov edx, dword [ebp - 0x150]
cmp edx, 0x10
jb 0x406317
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40630d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063f3
push edx
push ecx
call fcn.0050f0f2
add esp, 8
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0xf
mov byte [ebp - 0x164], 0
cmp edx, 8
jb 0x406372
mov ecx, dword [ebp - 0x104]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406368
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063f8
push edx
push ecx
call fcn.0050f0f2
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050ea72
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.00409e60
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
call fcn.0052db61
int3