Function at 0x4050e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e33c
mov eax, dword fs:[0]
push eax
sub esp, 0x3e8
mov eax, dword [0x496d50]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, 7
xor esi, esi
xor edx, edx
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x36c], ecx
mov dword [ebp - 0x31c], ebx
mov dword [ebp - 0x320], esi
mov word [ebp - 0x330], dx
mov dword [ebp - 4], esi
xor eax, eax
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2cc], esi
mov word [ebp - 0x2dc], ax
xor ecx, ecx
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2b0], esi
mov word [ebp - 0x2c0], cx
mov dword [ebp - 0x300], ebx
mov dword [ebp - 0x304], esi
mov word [ebp - 0x314], dx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x278], esi
mov word [ebp - 0x288], ax
mov dword [ebp - 0x338], ebx
mov dword [ebp - 0x33c], esi
mov word [ebp - 0x34c], cx
mov dword [ebp - 0x2e4], ebx
mov dword [ebp - 0x2e8], esi
mov word [ebp - 0x2f8], dx
mov byte [ebp - 4], 6
push 0x2c
mov dword [ebp - 0x3ac], esi
call fcn.0044e9d2
add esp, 4
cmp eax, esi
je 0x4065ee
mov dword [ebp - 0x3b0], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x3b0]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x3b0]
mov dword [eax + 8], eax
mov eax, dword [ebp - 0x3b0]
mov byte [eax + 0x28], 1
mov ecx, dword [ebp - 0x3b0]
mov byte [ecx + 0x29], 1
mov byte [ebp - 4], bl
push 0x48
mov dword [ebp - 0x394], esi
call fcn.0044e9d2
add esp, 4
cmp eax, esi
je 0x4065bb
mov dword [ebp - 0x398], eax
mov dword [eax], eax
mov eax, dword [ebp - 0x398]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x398]
mov dword [eax + 8], eax
mov edx, dword [ebp - 0x398]
mov byte [edx + 0x44], 1
mov eax, dword [ebp - 0x398]
mov byte [eax + 0x45], 1
mov dword [ebp - 0x3c4], esi
mov dword [ebp - 0x3c0], esi
mov dword [ebp - 0x3bc], esi
mov dword [ebp - 0x3d4], esi
mov dword [ebp - 0x3d0], esi
mov dword [ebp - 0x3cc], esi
mov dword [ebp - 0x384], esi
mov dword [ebp - 0x380], esi
mov dword [ebp - 0x37c], esi
mov byte [ebp - 4], 0xb
xor ecx, ecx
push 5
mov word [ebp - 0x2a4], cx
push 0x474284
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x360], esi
mov dword [ebp - 0x3a4], esi
mov dword [ebp - 0x354], esi
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x294], esi
call fcn.00401740
mov byte [ebp - 4], 0xc
push 0xe
xor edx, edx
push 0x474290
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], esi
mov word [ebp - 0x230], dx
call fcn.00401740
lea ecx, [ebp - 0x230]
lea edi, [ebp - 0x3d4]
mov byte [ebp - 4], 0xd
call fcn.0040ecc0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x21c], 8
jb 0x405314
mov eax, dword [ebp - 0x230]
push eax
call fcn.0044e60d
add esp, 4
xor ecx, ecx
push 0x12
mov word [ebp - 0x230], cx
push 0x4742b0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], esi
call fcn.00401740
lea ecx, [ebp - 0x230]
lea edi, [ebp - 0x3d4]
mov byte [ebp - 4], 0xe
call fcn.0040ecc0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x21c], 8
jb 0x40536c
mov edx, dword [ebp - 0x230]
push edx
call fcn.0044e60d
add esp, 4
push 0x3d
xor eax, eax
push 0x4742d8
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], esi
mov word [ebp - 0x230], ax
call fcn.00401740
lea ecx, [ebp - 0x230]
lea edi, [ebp - 0x3d4]
mov byte [ebp - 4], 0xf
call fcn.0040ecc0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x21c], 8
jb 0x4053c4
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.0044e60d
add esp, 4
push 0x34
xor edx, edx
push 0x474358
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], esi
mov word [ebp - 0x230], dx
call fcn.00401740
lea ecx, [ebp - 0x230]
lea edi, [ebp - 0x3c4]
mov byte [ebp - 4], 0x10
call fcn.0040ecc0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x21c], 8
jb 0x40541c
mov eax, dword [ebp - 0x230]
push eax
call fcn.0044e60d
add esp, 4
mov ecx, dword [ebp - 0x370]
push 0x4743c4
add ecx, 0x268
push ecx
lea edx, [ebp - 0x24c]
push edx
call fcn.00414c90
add esp, 0xc
push eax
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 0x11
call fcn.00401560
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x238], 8
jb 0x405469
mov eax, dword [ebp - 0x24c]
push eax
call fcn.0044e60d
add esp, 4
call fcn.0043a1b1
mov edi, eax
mov dword [ebp - 0x358], edi
call fcn.0043a06b
push esi
lea ecx, [ebp - 0x350]
mov ebx, eax
call fcn.00439fa0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x405495
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x350]
call fcn.00439fc8
mov ecx, 0x4743dc
push ecx
mov eax, 0x4743d8
push eax
sub esp, 0xc
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x35c], esp
mov ebx, esp
push ecx
mov eax, esp
mov dword [ebp - 0x35c], esp
push esi
lea ecx, [ebp - 0x364]
mov dword [eax], edi
call fcn.00439fa0
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x4054de
inc eax
mov dword [edi + 4], eax
lea ecx, [ebp - 0x364]
call fcn.00439fc8
mov eax, 0x4743e0
call fcn.004169e0
add esp, 4
lea ecx, [ebp - 0x330]
call fcn.00416b00
add esp, 0x14
mov bl, 0xc
push 0
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], bl
call fcn.00439fa0
mov eax, dword [edi + 4]
test eax, eax
je 0x405526
cmp eax, 0xffffffff
jae 0x405526
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x350]
not esi
call fcn.00439fc8
and esi, edi
je 0x405548
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
lea ecx, [ebp - 0x330]
lea edi, [ebp - 0x3c4]
call fcn.0040ecc0
mov eax, dword [ebp - 0x370]
add eax, 0x284
push 0x4743e4
push eax
lea ecx, [ebp - 0x24c]
push ecx
mov dword [ebp - 0x3d8], eax
call fcn.00414c90
add esp, 0xc
push eax
lea ecx, [ebp - 0x2dc]
mov byte [ebp - 4], 0x13
call fcn.00401560
mov byte [ebp - 4], bl
cmp dword [ebp - 0x238], 8
jb 0x4055aa
mov edx, dword [ebp - 0x24c]
push edx
call fcn.0044e60d
add esp, 4
call fcn.0043a1b1
mov esi, eax
mov dword [ebp - 0x358], esi
call fcn.0043a06b
push 0
lea ecx, [ebp - 0x350]
mov edi, eax
call fcn.00439fa0
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x4055d7
inc eax
mov dword [edi + 4], eax
lea ecx, [ebp - 0x350]
call fcn.00439fc8
mov ecx, 0x4743dc
push ecx
mov eax, 0x4743d8
push eax
sub esp, 0xc
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x35c], esp
mov ebx, esp
push ecx
mov eax, esp
mov dword [ebp - 0x35c], esp
push 0
lea ecx, [ebp - 0x364]
mov dword [eax], esi
call fcn.00439fa0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x405621
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0x364]
call fcn.00439fc8
mov eax, 0x4743e0
call fcn.004169e0
add esp, 4
lea ecx, [ebp - 0x2dc]
call fcn.00416b00
add esp, 0x14
push 0
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0xc
call fcn.00439fa0
mov eax, dword [esi + 4]
test eax, eax
je 0x405668
cmp eax, 0xffffffff
jae 0x405668
dec eax
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
neg edi
sbb edi, edi
lea ecx, [ebp - 0x350]
not edi
call fcn.00439fc8
and edi, esi
je 0x40568a
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
call fcn.0043a1b1
mov esi, eax
mov dword [ebp - 0x358], esi
call fcn.0043a06b
push 0
lea ecx, [ebp - 0x350]
mov edi, eax
call fcn.00439fa0
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
jae 0x4056b7
inc eax
mov dword [edi + 4], eax
lea ecx, [ebp - 0x350]
call fcn.00439fc8
mov ecx, 0x474400
push ecx
mov eax, 0x4743fc
push eax
sub esp, 0xc
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x35c], esp
mov ebx, esp
push ecx
mov eax, esp
mov dword [ebp - 0x35c], esp
push 0
lea ecx, [ebp - 0x364]
mov dword [eax], esi
call fcn.00439fa0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x405701
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0x364]
call fcn.00439fc8
mov eax, 0x474404
call fcn.004169e0
add esp, 4
lea ecx, [ebp - 0x2dc]
call fcn.00416b00
add esp, 0x14
push 0
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0xc
call fcn.00439fa0
mov eax, dword [esi + 4]
test eax, eax
je 0x405748
cmp eax, 0xffffffff
jae 0x405748
dec eax
mov dword [esi + 4], eax
mov edi, dword [esi + 4]
neg edi
sbb edi, edi
lea ecx, [ebp - 0x350]
not edi
call fcn.00439fc8
and edi, esi
je 0x40576a
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
push 1
mov eax, 0x474404
lea esi, [ebp - 0x2dc]
call fcn.00412040
mov ecx, esi
lea edi, [ebp - 0x3c4]
call fcn.0040ecc0
cmp dword [ebp - 0x290], 8
mov eax, dword [ebp - 0x2a4]
jae 0x40579e
lea eax, [ebp - 0x2a4]
lea ecx, [ebp - 0x38c]
push ecx
push 0x20119
xor ebx, ebx
push ebx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405d8e
mov ecx, dword [ebp - 0x38c]
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x3f0]
push edx
push ebx
push ebx
lea eax, [ebp - 0x3a0]
push eax
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x3a0]
cmp eax, ebx
je 0x405d4a
xor edi, edi
mov dword [ebp - 0x350], edi
cmp eax, ebx
jbe 0x405d4a
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3e0]
push eax
xor edx, edx
lea ecx, [ebp - 0x214]
push ecx
mov word [0x49df08], dx
mov edx, dword [ebp - 0x38c]
push edi
push edx
mov dword [ebp - 0x3e0], 0xff
mov dword [ebp - 0x3a4], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, ebx
jne 0x405d37
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2a4]
xor eax, eax
push ecx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
call fcn.004015e0
push 1
mov eax, 0x4743e0
lea esi, [ebp - 0x230]
mov byte [ebp - 4], 0x16
call fcn.00412040
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405895
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x214]
lea esi, [ebp - 0x230]
call fcn.00412040
push 0xf
mov eax, 0x474408
call fcn.00412040
cmp dword [ebp - 0x21c], 8
mov eax, dword [ebp - 0x230]
jae 0x4058d3
mov eax, esi
lea edx, [ebp - 0x388]
push edx
push 0x20119
push ebx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x405d1b
mov edx, dword [ebp - 0x388]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x3dc]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x3f4]
push ecx
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp dword [ebp - 0x3dc], ebx
je 0x405d0e
mov ecx, dword [ebp - 0x388]
lea eax, [ebp - 0x3a4]
push eax
push 0x49df08
push ebx
push ebx
push 0x473064
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x405d0e
mov eax, dword [ebp - 0x3c4]
mov edx, eax
mov dword [ebp - 0x364], edx
cmp eax, dword [ebp - 0x3c0]
je 0x405d0e
lea eax, [ebp - 0x314]
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x368], esp
push 0xffffffffffffffff
push ebx
mov esi, 7
xor eax, eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], ebx
push edx
mov word [ecx], ax
call fcn.004015e0
sub esp, 0x1c
mov byte [ebp - 4], 0x17
mov ecx, esp
mov dword [ecx + 0x14], esi
xor edx, edx
mov eax, 0x49df08
mov dword [ecx + 0x10], ebx
mov dword [ebp - 0x374], esp
mov word [ecx], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x4059b3
sub eax, esi
sar eax, 1
push eax
push 0x49df08
call fcn.00401740
mov byte [ebp - 4], 0x16
call fcn.00426980
add esp, 0x3c
cmp dword [ebp - 0x304], ebx
je 0x405ced
lea eax, [ebp - 0x314]
push eax
lea ecx, [ebp - 0x3b4]
call fcn.00416c10
push eax
lea ecx, [ebp - 0x3e8]
push ecx
lea edx, [ebp - 0x3b4]
push edx
call fcn.004158d0
mov eax, 1
add dword [ebp - 0x360], eax
mov dword [ebp - 0x354], eax
push 0x1f
mov eax, 0x474428
lea esi, [ebp - 0x2f8]
call fcn.00412040
lea eax, [ebp - 0x214]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405a37
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x214]
lea esi, [ebp - 0x2f8]
call fcn.00412040
push 0x21
mov eax, 0x474468
call fcn.00412040
mov ebx, dword [ebp - 0x3d8]
lea eax, [ebp - 0x268]
push 0x4744c4
push eax
call fcn.00414e00
push eax
mov eax, 0x4744ac
lea edi, [ebp - 0x24c]
mov byte [ebp - 4], 0x18
call fcn.00414ee0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 0x19
call fcn.00401560
mov esi, 8
cmp dword [ebp - 0x238], esi
jb 0x405abf
mov ecx, dword [ebp - 0x24c]
push ecx
call fcn.0044e60d
add esp, 4
mov bl, 0x16
xor edi, edi
xor edx, edx
mov byte [ebp - 4], bl
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], edi
mov word [ebp - 0x24c], dx
cmp dword [ebp - 0x254], esi
jb 0x405af6
mov eax, dword [ebp - 0x268]
push eax
call fcn.0044e60d
add esp, 4
call fcn.0043a1b1
mov dword [ebp - 0x368], eax
call fcn.0043a06b
push edi
lea ecx, [ebp - 0x35c]
mov esi, eax
call fcn.00439fa0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x405b20
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0x35c]
call fcn.00439fc8
lea ecx, [ebp - 0x368]
push ecx
lea edx, [ebp - 0x2c0]
push 0x4743e0
push edx
mov ecx, 0x4743d8
mov byte [ebp - 4], 0x1a
call fcn.00414d80
add esp, 0xc
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], bl
call fcn.00401f70
call fcn.0043a1b1
mov dword [ebp - 0x368], eax
call fcn.0043a06b
push edi
lea ecx, [ebp - 0x358]
mov esi, eax
call fcn.00439fa0
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
jae 0x405b87
inc eax
mov dword [esi + 4], eax
lea ecx, [ebp - 0x358]
call fcn.00439fc8
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x2c0]
push 0x474404
push ecx
mov ecx, 0x4743fc
mov byte [ebp - 4], 0x1b
call fcn.00414d80
add esp, 0xc
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], bl
call fcn.00401f70
push 1
mov eax, 0x474404
lea esi, [ebp - 0x2c0]
call fcn.00412040
lea edx, [ebp - 0x288]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x374], esp
push 0xffffffffffffffff
push edi
lea edx, [ebp - 0x2c0]
mov esi, 7
xor eax, eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
push edx
mov word [ecx], ax
call fcn.004015e0
sub esp, 0x1c
mov byte [ebp - 4], 0x1c
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x10], edi
mov word [ecx], ax
mov eax, 0x49df08
mov dword [ebp - 0x368], esp
lea edx, [eax + 2]
lea esp, [esp]
mov si, word [eax]
add eax, 2
cmp si, di
jne 0x405c30
sub eax, edx
sar eax, 1
push eax
push 0x49df08
call fcn.00401740
mov byte [ebp - 4], bl
call fcn.00426980
add esp, 0x3c
cmp dword [ebp - 0x278], edi
je 0x405ceb
cmp dword [ebp - 0x274], 8
mov eax, dword [ebp - 0x288]
jae 0x405c76
lea eax, [ebp - 0x288]
push 0
push eax
call fcn.00450170
add esp, 8
test eax, eax
jne 0x405ceb
lea ecx, [ebp - 0x288]
lea edi, [ebp - 0x3d4]
call fcn.0040ecc0
lea ecx, [ebp - 0x288]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.0040eaa0
lea edx, [ebp - 0x24c]
push edx
mov eax, 0x4743e0
mov byte [ebp - 4], 0x1d
call fcn.0040eb50
sub esp, 0x1c
lea eax, [ebp - 0x24c]
mov ecx, esp
mov dword [ebp - 0x374], esp
push eax
call fcn.0040eaa0
call fcn.00406cb0
add esp, 0x1c
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x16
call fcn.00401500
xor ebx, ebx
mov edx, dword [ebp - 0x364]
add edx, 0x1c
mov dword [ebp - 0x364], edx
cmp edx, dword [ebp - 0x3c0]
jne 0x405966
mov edi, dword [ebp - 0x350]
mov ecx, dword [ebp - 0x388]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x21c], 8
jb 0x405d37
mov edx, dword [ebp - 0x230]
push edx
call fcn.0044e60d
add esp, 4
inc edi
mov dword [ebp - 0x350], edi
cmp edi, dword [ebp - 0x3a0]
jb 0x405803
mov eax, dword [ebp - 0x38c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x354], ebx
je 0x405d8e
mov ecx, dword [ebp - 0x370]
push ecx
lea edx, [ebp - 0x3b4]
push edx
mov edx, dword [ebp - 0x36c]
lea eax, [ebp - 0x3d4]
push eax
lea ecx, [ebp - 0x39c]
call fcn.004066c0
add esp, 0xc
add dword [ebp - 0x360], eax
mov esi, dword [ebp - 0x370]
mov edx, dword [ebp - 0x36c]
lea ecx, [ebp - 0x39c]
push esi
push ecx
lea ecx, [ebp - 0x354]
call fcn.004072e0
add dword [ebp - 0x360], eax
push 0x4744cc
add esi, 0x1dc
lea edx, [ebp - 0x268]
push esi
push edx
call fcn.00414c90
add esp, 0x14
mov ecx, eax
lea edi, [ebp - 0x384]
mov byte [ebp - 4], 0x1e
call fcn.0040ebb0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x254], 8
jb 0x405dfb
mov eax, dword [ebp - 0x268]
push eax
call fcn.0044e60d
add esp, 4
push 0x474508
lea ecx, [ebp - 0x268]
push esi
push ecx
call fcn.00414c90
add esp, 0xc
mov ecx, eax
lea edi, [ebp - 0x384]
mov byte [ebp - 4], 0x1f
call fcn.0040ebb0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x254], 8
jb 0x405e3d
mov edx, dword [ebp - 0x268]
push edx
call fcn.0044e60d
add esp, 4
push 0x474544
lea eax, [ebp - 0x268]
push esi
push eax
call fcn.00414c90
add esp, 0xc
mov ecx, eax
lea edi, [ebp - 0x384]
mov byte [ebp - 4], 0x20
call fcn.0040ebb0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x254], 8
jb 0x405e7f
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.0044e60d
add esp, 4
push 0x474578
lea edx, [ebp - 0x268]
push esi
push edx
call fcn.00414c90
add esp, 0xc
mov ecx, eax
lea edi, [ebp - 0x384]
mov byte [ebp - 4], 0x21
call fcn.0040ebb0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x254], 8
jb 0x405ec1
mov eax, dword [ebp - 0x268]
push eax
call fcn.0044e60d
add esp, 4
mov ecx, dword [ebp - 0x380]
sub ecx, dword [ebp - 0x384]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x405f7b
mov ebx, dword [ebp - 0x384]
mov dword [ebp - 0x350], eax
cmp dword [ebx + 0x14], 8
jb 0x405efc
mov eax, dword [ebx]
jmp 0x405efe
mov eax, ebx
push 0
push eax
call fcn.00450170
add esp, 8
test eax, eax
jne 0x405f6a
mov edx, ebx
lea esi, [ebp - 0x26c]
mov dword [ebp - 0x354], 1
call fcn.00414f30
mov ecx, eax
lea edx, [ebp - 0x39c]
mov byte [ebp - 4], 0x22
call fcn.00416cf0
push eax
lea ecx, [ebp - 0x39c]
push ecx
lea edi, [ebp - 0x3e8]
call fcn.00415a60
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x258], 8
jb 0x405f64
mov edx, dword [ebp - 0x26c]
push edx
call fcn.0044e60d
add esp, 4
inc dword [ebp - 0x360]
add ebx, 0x1c
dec dword [ebp - 0x350]
jne 0x405ef2
xor ebx, ebx
cmp dword [ebp - 0x354], 1
jne 0x4062ed
mov eax, dword [ebp - 0x36c]
push 0x4745c8
push eax
call fcn.00414730
mov esi, eax
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + esi + 0xc]
add esp, 8
xor edi, edi
test cl, 6
jne 0x405fc5
mov eax, dword [eax + esi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x405fc5
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebx
je 0x405fe4
mov eax, dword [ecx + 0xc]
or eax, edi
cmp dword [ecx + 0x38], ebx
jne 0x405fdd
or eax, 4
push ebx
push eax
call fcn.00402d10
mov eax, dword [ebp - 0x398]
mov ecx, dword [eax]
mov dword [ebp - 0x354], ecx
cmp ecx, eax
je 0x4062ed
mov eax, dword [ebp - 0x354]
xor edx, edx
push 0xffffffffffffffff
add eax, 0xc
push edx
push eax
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], dx
call fcn.004015e0
mov byte [ebp - 4], 0x23
mov esi, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x230]
mov eax, edi
cmp esi, 8
jae 0x40604c
lea eax, [ebp - 0x230]
mov ecx, dword [ebp - 0x220]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x358], eax
mov edx, edi
cmp esi, 8
jae 0x406068
lea edx, [ebp - 0x230]
lea edx, [edx + ecx*2]
mov eax, edi
cmp esi, 8
jae 0x406078
lea eax, [ebp - 0x230]
cmp eax, edx
je 0x406099
lea esp, [esp]
mov ebx, 0x202e
cmp word [eax], bx
je 0x406095
add eax, 2
cmp eax, edx
jne 0x406080
mov ebx, eax
jmp 0x4060dc
cmp eax, edx
jne 0x40609d
mov ebx, eax
jmp 0x4060dc
mov ebx, eax
add eax, 2
cmp eax, edx
je 0x4060dc
jmp 0x4060b0
movzx ecx, word [eax]
mov esi, 0x202e
cmp cx, si
je 0x4060c3
mov word [ebx], cx
add ebx, 2
add eax, 2
cmp eax, edx
jne 0x4060b0
mov esi, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x230]
mov edx, edi
cmp esi, 8
jae 0x4060e9
lea edx, [ebp - 0x230]
test ebx, ebx
jne 0x4060f1
xor eax, eax
jmp 0x4060f7
mov eax, ebx
sub eax, edx
sar eax, 1
mov edi, dword [ebp - 0x358]
test edi, edi
je 0x406105
sub edi, ebx
sar edi, 1
cmp ecx, eax
jb 0x4065b1
mov edx, ecx
sub edx, eax
cmp edx, edi
jae 0x406117
mov edi, edx
test edi, edi
je 0x406175
mov ebx, dword [ebp - 0x230]
cmp esi, 8
jae 0x4062b3
lea ebx, [ebp - 0x230]
mov edx, ebx
sub ecx, edi
sub ecx, eax
add ecx, ecx
push ecx
lea ecx, [edi + eax]
lea ecx, [ebx + ecx*2]
push ecx
lea edx, [edx + eax*2]
push edx
call fcn.0044e620
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x230]
sub eax, edi
add esp, 0xc
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x220], eax
jae 0x40616f
lea ecx, [ebp - 0x230]
xor edx, edx
mov word [ecx + eax*2], dx
lea eax, [ebp - 0x268]
push 0x474640
push eax
lea ebx, [ebp - 0x230]
call fcn.00414e00
push eax
mov eax, 0x474638
lea edi, [ebp - 0x24c]
mov byte [ebp - 4], 0x24
call fcn.00414ee0
add esp, 0xc
mov edx, dword [ebp - 0x36c]
push 0x474630
push ecx
mov byte [ebp - 4], 0x25
mov esi, dword [ebp - 0x354]
lea ecx, [esi + 0x28]
push ecx
push ecx
push eax
push edx
call fcn.004149f0
add esp, 0xc
push eax
call fcn.004149f0
add esp, 0xc
push eax
call fcn.00414730
mov edi, eax
mov eax, dword [edi]
mov eax, dword [eax + 4]
add esp, 8
xor ebx, ebx
test byte [eax + edi + 0xc], 6
jne 0x406202
mov eax, dword [eax + edi + 0x38]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x34]
call eax
cmp eax, 0xffffffff
jne 0x406202
mov ebx, 4
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
add ecx, edi
test ebx, ebx
je 0x406223
mov eax, dword [ecx + 0xc]
or eax, ebx
cmp dword [ecx + 0x38], 0
jne 0x40621b
or eax, 4
push 0
push eax
call fcn.00402d10
mov edi, 8
cmp dword [ebp - 0x238], edi
jb 0x40623f
mov edx, dword [ebp - 0x24c]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
cmp dword [ebp - 0x254], edi
jb 0x406273
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.0044e60d
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x21c], edi
jb 0x40628e
mov edx, dword [ebp - 0x230]
push edx
call fcn.0044e60d
add esp, 4
cmp byte [esi + 0x45], 0
jne 0x4062df
mov ecx, dword [esi + 8]
cmp byte [ecx + 0x45], 0
jne 0x4062be
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x4062af
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x4062a5
mov esi, ecx
jmp 0x4062d9
mov edx, dword [ebp - 0x230]
jmp 0x406132
mov eax, dword [esi + 4]
cmp byte [eax + 0x45], 0
jne 0x4062d7
cmp esi, dword [eax + 8]
jne 0x4062d7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x4062c7
mov esi, eax
mov dword [ebp - 0x354], esi
cmp esi, dword [ebp - 0x398]
jne 0x405ffa
xor ebx, ebx
mov eax, dword [ebp - 0x36c]
mov esi, dword [ebp - 0x360]
mov ecx, dword [ebp - 0x370]
push eax
push esi
call fcn.00408680
add eax, esi
add esp, 8
cmp dword [ebp - 0x290], 8
mov dword [ebp - 0x358], eax
jb 0x406329
mov ecx, dword [ebp - 0x2a4]
push ecx
call fcn.0044e60d
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x294], ebx
mov word [ebp - 0x2a4], dx
cmp dword [ebp - 0x384], ebx
je 0x406396
mov esi, dword [ebp - 0x384]
cmp esi, dword [ebp - 0x380]
je 0x406387
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x406371
mov eax, dword [esi]
push eax
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov word [esi], ax
add esi, 0x1c
cmp esi, dword [ebp - 0x380]
jne 0x406360
mov ecx, dword [ebp - 0x384]
push ecx
call fcn.0044e60d
add esp, 4
mov ebx, dword [ebp - 0x3d4]
test ebx, ebx
je 0x4063e4
mov edi, dword [ebp - 0x3d0]
mov esi, ebx
cmp ebx, edi
je 0x4063db
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x4063c1
mov eax, dword [esi]
push eax
call fcn.0044e60d
add esp, 4
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
add esi, 0x1c
cmp esi, edi
jne 0x4063b0
push ebx
call fcn.0044e60d
add esp, 4
mov ebx, dword [ebp - 0x3c4]
test ebx, ebx
je 0x406434
mov edi, dword [ebp - 0x3c0]
mov esi, ebx
cmp ebx, edi
je 0x40642b
lea ebx, [ebx]
cmp dword [esi + 0x14], 8
jb 0x406411
mov eax, dword [esi]
push eax
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x1c
cmp esi, edi
jne 0x406400
push ebx
call fcn.0044e60d
add esp, 4
mov byte [ebp - 4], 0x26
mov eax, dword [ebp - 0x398]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x374]
lea esi, [ebp - 0x39c]
call fcn.00412280
mov ecx, dword [ebp - 0x398]
push ecx
call fcn.0044e60d
add esp, 4
mov byte [ebp - 4], 0x27
mov eax, dword [ebp - 0x3b0]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [ebp - 0x374]
lea esi, [ebp - 0x3b4]
call fcn.00412160
mov edx, dword [ebp - 0x3b0]
push edx
call fcn.0044e60d
mov esi, 8
add esp, 4
cmp dword [ebp - 0x2e4], esi
jb 0x4064ac
mov eax, dword [ebp - 0x2f8]
push eax
call fcn.0044e60d
add esp, 4
xor edi, edi
xor ecx, ecx
mov ebx, 7
mov dword [ebp - 0x2e4], ebx
mov dword [ebp - 0x2e8], edi
mov word [ebp - 0x2f8], cx
cmp dword [ebp - 0x274], esi
jb 0x4064df
mov edx, dword [ebp - 0x288]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x278], edi
mov word [ebp - 0x288], ax
cmp dword [ebp - 0x300], esi
jb 0x40650b
mov ecx, dword [ebp - 0x314]
push ecx
call fcn.0044e60d
add esp, 4
xor edx, edx
mov dword [ebp - 0x300], ebx
mov dword [ebp - 0x304], edi
mov word [ebp - 0x314], dx
cmp dword [ebp - 0x2ac], esi
jb 0x406537
mov eax, dword [ebp - 0x2c0]
push eax
call fcn.0044e60d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x2ac], ebx
mov dword [ebp - 0x2b0], edi
mov word [ebp - 0x2c0], cx
cmp dword [ebp - 0x2c8], esi
jb 0x406563
mov edx, dword [ebp - 0x2dc]
push edx
call fcn.0044e60d
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c8], ebx
mov dword [ebp - 0x2cc], edi
mov word [ebp - 0x2dc], ax
cmp dword [ebp - 0x31c], esi
jb 0x40658f
mov ecx, dword [ebp - 0x330]
push ecx
call fcn.0044e60d
add esp, 4
mov eax, dword [ebp - 0x358]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044e488
mov esp, ebp
pop ebp
ret
push 0x472f30
call fcn.00439ea8
lea edx, [ebp - 0x358]
push edx
lea ecx, [ebp - 0x3ec]
mov dword [ebp - 0x358], esi
call fcn.0044e51f
push 0x4912f0
lea eax, [ebp - 0x3ec]
push eax
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00452cc5
lea ecx, [ebp - 0x35c]
push ecx
lea ecx, [ebp - 0x380]
mov dword [ebp - 0x35c], esi
call fcn.0044e51f
push 0x4912f0
lea edx, [ebp - 0x380]
push edx
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::bad_alloc.0
call fcn.00452cc5
int3