Function at 0x404f30
Capabilities:
Check if file exists
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 0x623f16
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x7f0
mov eax, dword [0x6ba4f8]
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 - 0x7e4], edi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x7ec], eax
mov dword [ebp - 0x7e8], 0
mov byte [ebp - 0x7f0], 0
call fcn.00406430
mov ecx, eax
call fcn.004217df
lea eax, [ebp - 0x238]
push eax
call fcn.00406430
mov ecx, eax
call fcn.0042125e
mov dword [ebp - 4], 0
cmp dword [ebp - 0x228], 0
ja 0x405073
lea eax, [ebp - 0x410]
push eax
call fcn.00406370
mov ecx, eax
call fcn.00413fa5
mov esi, eax
lea eax, [ebp - 0x238]
cmp eax, esi
je 0x405016
mov ecx, eax
call fcn.00402a60
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x228], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x3fc]
cmp edx, 8
jb 0x405056
mov ecx, dword [ebp - 0x410]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40504c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406241
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x400], 0
mov dword [ebp - 0x3fc], 7
mov word [ebp - 0x410], ax
call fcn.0041b09e
test al, al
je 0x4050eb
mov eax, dword [0x6c9f28]
test eax, eax
je 0x4050eb
cmp dword [eax + 4], 4
jl 0x4050eb
push str.1011
call fcn.0041ae95
sub esp, 8
lea ecx, [ebp - 0x598]
mov edi, eax
push 0x9d
sub esp, 8
call fcn.00404020
mov esi, eax
test edi, edi
mov byte [ebp - 4], 1
mov ecx, str._null_
cmovne ecx, edi
push ecx
lea ecx, [esi + 0x30]
push ecx
call fcn.00409d50
mov ecx, dword [0x6c9f28]
add esp, 8
push esi
call fcn.004064f0
lea ecx, [ebp - 0x598]
mov byte [ebp - 4], 0
call fcn.00404410
mov edi, dword [ebp - 0x7e4]
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 - 0x7e0], ecx
test ecx, ecx
je 0x40512a
mov eax, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x405122
mov eax, dword [ecx]
push 0
call dword [eax]
mov eax, dword [ebp - 0x7e0]
inc edi
add esi, 4
cmp edi, eax
jne 0x405110
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x405166
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.0041f54c
add esp, 4
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
lea eax, [ebp - 0x398]
push eax
call fcn.0041f037
add esp, 8
mov byte [ebp - 4], 2
lea edi, [ebp - 0x398]
cmp dword [ebp - 0x384], 0x10
push 0xa
cmovae edi, dword [ebp - 0x398]
push 1
call fcn.00406370
mov ecx, eax
call fcn.00413ff6
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40610c
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40610c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [ebp - 0x7e0], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x7e0]
test ecx, ecx
je 0x40610c
test eax, eax
je 0x40610c
push 0
push 0x404b20
push edi
push eax
push ecx
call fcn.004bd9d0
test eax, eax
jne 0x40610c
lea eax, [ebp - 0x3c8]
push eax
call fcn.00404860
sub esp, 0x18
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3c8]
mov dword [ebp - 0x7dc], esp
mov ecx, esp
push eax
call fcn.00402b90
mov byte [ebp - 4], 4
call fcn.00406430
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0042191a
sub esp, 0x18
lea eax, [ebp - 0x220]
mov esi, esp
mov dword [ebp - 0x7dc], esp
mov dword [ebp - 0x7e8], esi
push 0x208
push 0
push eax
call fcn.005291a0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0x18
lea ecx, [ebp - 0x220]
mov eax, esp
push ecx
push eax
call fcn.00421ba5
add esp, 8
push esi
call fcn.0041eeb6
add esp, 0x1c
mov dword [ebp - 0x7e8], 4
mov byte [ebp - 4], 5
call fcn.00406430
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00421999
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.00406430
mov ecx, eax
call fcn.0042186a
call fcn.00411c53
lea ecx, [ebp - 0x478]
call fcn.00412453
push 0
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 6
call fcn.00420947
lea ecx, [ebp - 0x380]
call fcn.00412405
mov byte [ebp - 4], 7
mov esi, dword [0x6ca060]
test esi, esi
jne 0x405396
push 0x6c9ffc
mov dword [ebp - 0x7dc], 0x6c9ffc
call fcn.004c75c4
add esp, 4
test eax, eax
je 0x405348
push eax
call fcn.004c7df4
add esp, 4
mov byte [ebp - 4], 8
mov esi, dword [0x6ca060]
test esi, esi
jne 0x405374
push 4
call fcn.0050fcf7
mov esi, eax
add esp, 4
mov dword [ebp - 0x7e0], esi
mov dword [esi], vtable.HttpGetImpl.0
mov dword [0x6ca060], esi
push 0x6c9ffc
mov byte [ebp - 4], 9
call fcn.004c75e9
add esp, 4
test eax, eax
je 0x405392
push eax
call fcn.004c7df4
add esp, 4
mov byte [ebp - 4], 7
push 0
lea eax, [ebp - 0x380]
mov ecx, esi
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.0041f9f8
sub esp, 0x18
lea eax, [ebp - 0x37c]
mov ecx, esp
mov dword [ebp - 0x800], esp
push eax
call fcn.00402b90
sub esp, 0xc
mov byte [ebp - 4], 0xa
mov edi, esp
mov eax, 0x2aaaaaab
mov dword [ebp - 0x7e0], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov ecx, dword [ebp - 0x360]
sub ecx, dword [ebp - 0x364]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4054d6
cmp eax, 0xaaaaaaa
ja 0x406246
lea esi, [eax + eax*2]
shl esi, 3
cmp esi, 0x1000
jb 0x40544c
lea eax, [esi + 0x23]
or ecx, 0xffffffff
cmp eax, esi
cmovbe eax, ecx
push eax
call fcn.0050fcf7
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x406241
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x40545d
test esi, esi
je 0x40545b
push esi
call fcn.0050fcf7
add esp, 4
jmp 0x40545d
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 - 0x360]
mov eax, dword [ebp - 0x7e0]
mov edi, dword [ebp - 0x364]
mov dword [ebp - 0x7dc], ecx
mov dword [ebp - 0x7fc], esi
mov dword [ebp - 0x7f8], esi
mov dword [ebp - 0x7f4], eax
mov byte [ebp - 4], 0xb
cmp edi, ecx
je 0x4054bc
nop dword [eax]
push edi
mov ecx, esi
call fcn.00406890
add esi, 0x18
add edi, 0x18
mov dword [ebp - 0x7f8], esi
cmp edi, dword [ebp - 0x7dc]
jne 0x4054a0
push ecx
mov edx, esi
mov byte [ebp - 4], 0xa
mov ecx, esi
call fcn.0040a100
mov eax, dword [ebp - 0x7e0]
add esp, 4
mov dword [eax + 4], esi
mov byte [ebp - 4], 7
call fcn.00404c20
movzx edi, al
push edi
call fcn.00406430
mov ecx, eax
call fcn.00421a18
lea eax, [ebp - 0x328]
push eax
call fcn.00406430
mov ecx, eax
call fcn.0042125e
push str.HaoKaTiy.exe
lea ecx, [ebp - 0x328]
mov byte [ebp - 4], 0xc
call fcn.004065a0
lea eax, [ebp - 0x2f8]
push str.CMD_SILENCE_INSTALLED
push eax
call fcn.00416bc6
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 0xd
push str.CMD_SMALLPKG_INST
push eax
call fcn.00416bc6
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 0xe
push str.CMD_FORCE_INSTALL
push eax
call fcn.00416bc6
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 0xf
push str.CMD_PARENT_PROCESS_NAME
push eax
call fcn.00416bc6
lea eax, [ebp - 0x340]
mov byte [ebp - 4], 0x10
push str.CMD_RUNTIME_INST_COMPLETE
push eax
call fcn.00416bc6
add esp, 0x28
mov ecx, dword [ebp - 0x7ec]
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x2e4], 8
cmovae eax, dword [ebp - 0x2f8]
push eax
call fcn.00413be2
test al, al
je 0x4055bc
cmp dword [ebp - 0x2e4], 8
lea edx, [ebp - 0x2f8]
cmovae edx, dword [ebp - 0x2f8]
jmp 0x4055c1
mov edx, 0x6a4324
mov ecx, edx
mov dword [ebp - 0x2a0], 0
xor eax, eax
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4055e3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2b0]
call fcn.00402c70
mov byte [ebp - 4], 0x12
call fcn.00406430
mov ecx, eax
call fcn.004217e3
test al, al
je 0x405629
cmp dword [ebp - 0x344], 8
lea edx, [ebp - 0x358]
cmovae edx, dword [ebp - 0x358]
jmp 0x40562e
mov edx, 0x6a5694
mov ecx, edx
mov dword [ebp - 0x288], 0
xor eax, eax
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405650
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x298]
call fcn.00402c70
mov ecx, dword [ebp - 0x7ec]
lea eax, [ebp - 0x2e0]
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x2cc], 8
cmovae eax, dword [ebp - 0x2e0]
push eax
call fcn.00413be2
test al, al
je 0x4056aa
cmp dword [ebp - 0x2cc], 8
lea edx, [ebp - 0x2e0]
cmovae edx, dword [ebp - 0x2e0]
jmp 0x4056af
mov edx, 0x6a4324
mov ecx, edx
mov dword [ebp - 0x270], 0
xor eax, eax
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4056d1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x280]
call fcn.00402c70
mov ecx, dword [ebp - 0x7ec]
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x2b4], 8
cmovae eax, dword [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.004130ec
mov byte [ebp - 4], 0x15
test edi, edi
je 0x40573b
lea eax, [ebp - 0x428]
push str.CMD_UNDER_REVIEW
push eax
call fcn.00416bc6
add esp, 8
mov ecx, 5
jmp 0x405774
xor eax, eax
mov dword [ebp - 0x3a0], 0
push eax
push 0x6a4324
lea ecx, [ebp - 0x3b0]
mov dword [ebp - 0x39c], 7
mov word [ebp - 0x3b0], ax
call fcn.00402c70
lea eax, [ebp - 0x3b0]
mov ecx, 6
mov dword [ebp - 0x258], 0
xor edx, edx
mov dword [ebp - 0x254], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x258], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ebp - 4], 0x17
test cl, 2
je 0x40580d
mov edx, dword [ebp - 0x39c]
and ecx, 0xfffffffd
mov dword [ebp - 0x7dc], ecx
cmp edx, 8
jb 0x40580d
mov ecx, dword [ebp - 0x3b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4057fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40624b
push edx
push ecx
call fcn.005100a2
mov ecx, dword [ebp - 0x7dc]
add esp, 8
mov byte [ebp - 4], 0x18
test cl, 1
je 0x405873
mov edx, dword [ebp - 0x414]
cmp edx, 8
jb 0x405856
mov ecx, dword [ebp - 0x428]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40584c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406250
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
cmp dword [ebp - 0x240], 0
ja 0x4059a9
xor eax, eax
mov dword [ebp - 0x3e8], 0
mov dword [ebp - 0x3e4], 7
mov word [ebp - 0x3f8], ax
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x3cc], 7
mov word [ebp - 0x3e0], ax
push eax
push 0x6a4324
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 0x1a
call fcn.00402c70
push 0
push 0x6a4324
lea ecx, [ebp - 0x3e0]
call fcn.00402c70
lea ecx, [ebp - 0x3f8]
mov byte [ebp - 4], 0x1b
call fcn.00401a30
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x440]
call fcn.00402b90
lea ecx, [ebp - 0x250]
call fcn.00402a60
movups xmm0, xmmword [ebp - 0x440]
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [ebp - 0x430]
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x3cc]
movq qword [ebp - 0x240], xmm0
cmp edx, 8
jb 0x405969
mov ecx, dword [ebp - 0x3e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40595f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406255
push edx
push ecx
call fcn.005100a2
add esp, 8
mov edx, dword [ebp - 0x3e4]
cmp edx, 8
jb 0x4059a9
mov ecx, dword [ebp - 0x3f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40599f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40625a
push edx
push ecx
call fcn.005100a2
add esp, 8
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
lea edi, [ebp - 0x2c8]
cmovae eax, dword [ebp - 0x268]
lea esi, [ebp - 0x2b0]
cmp dword [ebp - 0x23c], 8
lea edx, [ebp - 0x280]
mov dword [ebp - 0x7dc], eax
lea ecx, [ebp - 0x298]
push dword [ebp - 0x7dc]
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
cmp dword [ebp - 0x2b4], 8
mov dword [ebp - 0x7e8], eax
lea eax, [ebp - 0x340]
cmovae edi, dword [ebp - 0x2c8]
cmp dword [ebp - 0x29c], 8
push dword [ebp - 0x7e8]
cmovae esi, dword [ebp - 0x2b0]
cmp dword [ebp - 0x26c], 8
push edi
cmovae edx, dword [ebp - 0x280]
cmp dword [ebp - 0x284], 8
push esi
cmovae ecx, dword [ebp - 0x298]
cmp dword [ebp - 0x32c], 8
push edx
cmovae eax, dword [ebp - 0x340]
push 1
push ecx
push eax
lea eax, [ebp - 0x310]
push str._s__s_d__s__s__s_s__s
push eax
call fcn.0041e902
add esp, 0x28
mov byte [ebp - 4], 0x1c
call fcn.0041b09e
test al, al
je 0x405b2a
mov eax, dword [0x6c9f28]
test eax, eax
je 0x405b2a
cmp dword [eax + 4], 4
jl 0x405b2a
cmp dword [ebp - 0x2fc], 8
lea edi, [ebp - 0x310]
push str.1161
cmovae edi, dword [ebp - 0x310]
call fcn.0041ae95
sub esp, 8
lea ecx, [ebp - 0x6b8]
mov esi, eax
push 0xd6
sub esp, 8
call fcn.00404020
mov dword [ebp - 0x7dc], eax
test esi, esi
mov byte [ebp - 4], 0x1d
mov ecx, str._null_
cmovne ecx, esi
lea esi, [eax + 0x30]
push ecx
push esi
call fcn.00409d50
test edi, edi
mov eax, str._null_
cmovne eax, edi
push eax
push esi
call fcn.00409d50
mov edi, dword [0x6c9f28]
add esp, 0x10
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x405b1b
mov ecx, dword [esi]
push dword [ebp - 0x7dc]
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [edi + 0xc]
jne 0x405b06
lea ecx, [ebp - 0x6b8]
mov byte [ebp - 4], 0x1c
call fcn.00404410
cmp dword [ebp - 0x314], 8
lea ecx, [ebp - 0x328]
push 0
cmovae ecx, dword [ebp - 0x328]
lea eax, [ebp - 0x310]
cmp dword [ebp - 0x2fc], 8
push 0xffffffffffffffff
cmovae eax, dword [ebp - 0x310]
push 1
push ecx
push eax
call fcn.0041f8c0
mov byte [ebp - 4], 0x18
add esp, 0x14
mov edx, dword [ebp - 0x2fc]
mov byte [ebp - 0x7f0], 1
cmp edx, 8
jb 0x405bad
mov ecx, dword [ebp - 0x310]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405ba3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40625f
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x300], 0
mov dword [ebp - 0x2fc], 7
mov word [ebp - 0x310], ax
cmp edx, 8
jb 0x405c0e
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405c04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406264
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
cmp edx, 8
jb 0x405c6f
mov ecx, dword [ebp - 0x250]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405c65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406269
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
cmp edx, 8
jb 0x405cd0
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405cc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40626e
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x284]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
cmp edx, 8
jb 0x405d31
mov ecx, dword [ebp - 0x298]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405d27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406273
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
cmp edx, 8
jb 0x405d92
mov ecx, dword [ebp - 0x2b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405d88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406278
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x32c]
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
cmp edx, 8
jb 0x405df3
mov ecx, dword [ebp - 0x340]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405de9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40627d
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x330], 0
mov dword [ebp - 0x32c], 7
mov word [ebp - 0x340], ax
cmp edx, 8
jb 0x405e54
mov ecx, dword [ebp - 0x2c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405e4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406282
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 7
mov word [ebp - 0x2c8], ax
cmp edx, 8
jb 0x405eb5
mov ecx, dword [ebp - 0x2e0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405eab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406287
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x344]
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x2cc], 7
mov word [ebp - 0x2e0], ax
cmp edx, 8
jb 0x405f16
mov ecx, dword [ebp - 0x358]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405f0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40628c
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x2e4]
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 7
mov word [ebp - 0x358], ax
cmp edx, 8
jb 0x405f77
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405f6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406291
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x314]
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
cmp edx, 8
jb 0x405fd8
mov ecx, dword [ebp - 0x328]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405fce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406296
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x364]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 7
mov word [ebp - 0x328], ax
mov dword [ebp - method.CParsePureSoftCfg.virtual_0], vtable.CParsePureSoftCfg.0
call fcn.00408980
mov edx, dword [ebp - 0x368]
cmp edx, 8
jb 0x40604e
mov ecx, dword [ebp - 0x37c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406044
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40629b
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x36c], 0
lea ecx, [ebp - 0x478]
mov dword [ebp - 0x368], 7
mov word [ebp - 0x37c], ax
call fcn.0041fe1b
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3b4]
cmp edx, 8
jb 0x4060ba
mov ecx, dword [ebp - 0x3c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4060b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062a0
push edx
push ecx
call fcn.005100a2
add esp, 8
xor eax, eax
mov dword [ebp - 0x3b8], 0
mov dword [ebp - 0x3b4], 7
mov word [ebp - 0x3c8], ax
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x384]
cmp edx, 0x10
jb 0x40611c
mov ecx, dword [ebp - 0x398]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406112
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062a5
jmp 0x406112
mov byte [ebp - 4], 0
jmp 0x4060da
push edx
push ecx
call fcn.005100a2
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x7e4]
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 - 0x7e4], ecx
test ecx, ecx
je 0x406171
mov eax, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x406169
mov eax, dword [ecx]
push dword [ebp - 0x7f0]
call dword [eax + 4]
mov eax, dword [ebp - 0x7e4]
inc edi
add esi, 4
cmp edi, eax
jne 0x406152
call fcn.0041b09e
test al, al
je 0x4061df
mov eax, dword [0x6c9f28]
test eax, eax
je 0x4061df
cmp dword [eax + 4], 4
jl 0x4061df
push str.1012
call fcn.0041ae95
sub esp, 8
lea ecx, [ebp - 0x7d8]
mov edi, eax
push 0xde
sub esp, 8
call fcn.00404020
mov esi, eax
test edi, edi
mov byte [ebp - 4], 0x1e
mov eax, str._null_
lea ecx, [esi + 0x30]
cmovne eax, edi
push eax
push ecx
call fcn.00409d50
mov ecx, dword [0x6c9f28]
add esp, 8
push esi
call fcn.004064f0
lea ecx, [ebp - 0x7d8]
call fcn.00404410
mov edx, dword [ebp - 0x224]
cmp edx, 8
jb 0x40621f
mov ecx, dword [ebp - 0x238]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406215
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4062a5
push edx
push ecx
call fcn.005100a2
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.0050fa22
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0052ec30
call fcn.00409550
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
call fcn.0052ec30
int3