Function at 0x1003a810
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x100e50d4]
xor eax, esp
mov dword [esp + 0x248], eax
cmp byte [0x100f22e4], 0
push ebx
push esi
push edi
jne 0x1003b79d
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop dword [eax]
lea eax, [esp + 0x3c]
push eax
push 0xf003f
push 0
push str.SoftwareWarCraftHelper_
push closesocket
call esi
test eax, eax
jne 0x1003a8b8
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x104
push eax
lea eax, [esp + 0x4c]
push eax
push 0
push 0
push str.SideShopBookmark
push dword [esp + 0x50]
call ebx
cmp eax, 2
jne 0x1003a967
push 4
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0
push eax
push 4
push 0
push str.SideShopBookmark
push dword [esp + 0x50]
call edi
test eax, eax
je 0x1003a850
xor eax, eax
sub esp, 0x18
mov dword [0x100f22cc], eax
mov ecx, esp
push 0x16
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push str.SideShopCoolDownButton
mov byte [ecx], 0
call fcn.1000ecc0
movss xmm2, dword [0x100da4d8]
lea ecx, [esp + 0x3c]
movaps xmm3, xmm2
mov edx, 1
call fcn.10091090
mov esi, eax
add esp, 0x18
cmp esi, 0x100eba48
je 0x1003a939
mov ecx, 0x100eba48
call fcn.1000ec00
movups xmm0, xmmword [esi]
movups xmmword [0x100eba48], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x100eba58], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [esp + 0x38]
cmp edx, 0x10
jb 0x1003a97a
mov ecx, dword [esp + 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1003a970
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b7b4
jmp 0x1003a970
mov eax, dword [esp + 0x48]
jmp 0x1003a8ba
push edx
push ecx
call fcn.10097faf
add esp, 8
push ecx
push str.HUD_SIMPLE_TEXTURE
mov ecx, 0x100ebc60
mov byte [0x100f22e4], 1
call fcn.10018340
cmp byte [0x100ebc60], 0
mov dword [0x100ebc84], 2
je 0x1003a9ff
mov eax, dword [0x100f2748]
xor edx, edx
mov ecx, dword [0x100ebc9c]
add eax, 0x60e090
push 0
push str.TexturesBlack32.blp
call eax
cmp byte [0x100ebc60], 0
je 0x1003a9ff
mov eax, dword [0x100ebc9c]
mov byte [eax + 0x6c], 0xff
cmp dword [0x100ebc84], 9
jne 0x1003a9ff
mov eax, dword [0x100ebc9c]
xor edx, edx
push 0
mov dword [eax + 0xa0], 0
mov eax, dword [0x100f2748]
mov ecx, dword [0x100ebc9c]
add eax, 0x605cc0
call eax
push 0
mov ecx, 0x100ebc60
call fcn.10018bc0
push ecx
push str.HUD_SIMPLE_TEXTURE
mov ecx, 0x100ebd48
call fcn.10018340
cmp byte [0x100ebd48], 0
mov dword [0x100ebd6c], 2
je 0x1003aa89
mov eax, dword [0x100f2748]
xor edx, edx
mov ecx, dword [0x100ebd84]
add eax, 0x60e090
push 0
push str.SideShopBackground.tga
call eax
cmp byte [0x100ebd48], 0
je 0x1003aa89
mov eax, dword [0x100ebd84]
mov byte [eax + 0x6c], 0xff
cmp dword [0x100ebd6c], 9
jne 0x1003aa89
mov eax, dword [0x100ebd84]
xor edx, edx
push 0
mov dword [eax + 0xa0], 0
mov eax, dword [0x100f2748]
mov ecx, dword [0x100ebd84]
add eax, 0x605cc0
call eax
push 1
mov ecx, 0x100ebd48
call fcn.10018bc0
push 0x100d6824
push ecx
xorps xmm3, xmm3
mov dword [esp], 0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov ecx, 0x100eba90
call fcn.1001a420
mov eax, dword [0x100f2748]
xor edx, edx
add eax, 0x31f530
mov ecx, str.CinematicBorder
call eax
cmp byte [0x100eba90], 0
je 0x1003aba9
push 1
push eax
push 0
push 0xad
push str.TexturesBlack32.blp
push dword [0x100eba98]
call dword [0x100f2740]
mov edx, dword [0x100f2748]
mov ecx, eax
lea edx, [edx + 0x6212d0]
call edx
cmp byte [0x100eba90], 0
je 0x1003aba9
push dword [0x100eba98]
call dword [0x100f2740]
test eax, eax
jle 0x1003ab31
mov dword [eax + 0x194], 3
mov dword [eax + 0x1d8], 1
cmp byte [0x100eba90], 0
je 0x1003aba9
push dword [0x100eba98]
call dword [0x100f2740]
test eax, eax
jle 0x1003ab5e
mov dword [eax + 0x1b8], 0x3ccccccd
mov dword [eax + 0x1d8], 1
cmp byte [0x100eba90], 0
je 0x1003aba9
push dword [0x100eba98]
call dword [0x100f2740]
test eax, eax
jle 0x1003aba9
mov dword [eax + 0x1c8], 0x3c03126f
mov dword [eax + 0x1cc], 0x3c03126f
mov dword [eax + 0x1d0], 0x3c03126f
mov dword [eax + 0x1d4], 0
mov dword [eax + 0x1d8], 1
push 0x100d6824
push ecx
xorps xmm3, xmm3
mov dword [esp], 0
xorps xmm2, xmm2
xorps xmm1, xmm1
mov ecx, 0x100ebb78
call fcn.1001a420
mov eax, dword [0x100f2748]
xor edx, edx
add eax, 0x31f530
mov ecx, str.EscMenuBorder
call eax
cmp byte [0x100ebb78], 0
je 0x1003acba
push 1
push eax
push 0
push 0x50
push str.BlackOut.blp
push dword [0x100ebb80]
call dword [0x100f2740]
mov edx, dword [0x100f2748]
mov ecx, eax
lea edx, [edx + 0x6212d0]
call edx
cmp byte [0x100ebb78], 0
je 0x1003acba
push dword [0x100ebb80]
call dword [0x100f2740]
test eax, eax
jle 0x1003ac42
mov dword [eax + 0x1b8], 0x3ccccccd
mov dword [eax + 0x1d8], 1
cmp byte [0x100ebb78], 0
je 0x1003acba
push dword [0x100ebb80]
call dword [0x100f2740]
test eax, eax
jle 0x1003ac8d
mov dword [eax + 0x1c8], 0x3c03126f
mov dword [eax + 0x1cc], 0x3c03126f
mov dword [eax + 0x1d0], 0x3c03126f
mov dword [eax + 0x1d4], 0
mov dword [eax + 0x1d8], 1
cmp byte [0x100ebb78], 0
je 0x1003acba
push dword [0x100ebb80]
call dword [0x100f2740]
test eax, eax
jle 0x1003acba
mov dword [eax + 0x194], 3
mov dword [eax + 0x1d8], 1
call fcn.1001b370
mov ecx, dword [0x100f26dc]
mov esi, 0x100d6824
mov dword [0x100f229c], eax
mov dword [eax + 0x4c], fcn.10037650
test ecx, ecx
jle 0x1003ad11
mov ecx, dword [ecx + 0x260]
cmp ecx, 1
jne 0x1003acec
mov esi, str.HighlightBlue128x128.tga
jmp 0x1003ad11
cmp ecx, 4
jne 0x1003acf8
mov esi, str.HighlightGreen128x128.tga
jmp 0x1003ad11
cmp ecx, 2
jne 0x1003ad04
mov esi, str.HighlightRed128x128.tga
jmp 0x1003ad11
cmp ecx, 3
mov eax, str.HighlightPurple128x128.tga
cmovne eax, esi
mov esi, eax
push ecx
push str.HUD_SIMPLE_TEXTURE
mov ecx, 0x100ebf18
call fcn.10018340
cmp byte [0x100ebf18], 0
je 0x1003adfb
push ecx
xorps xmm2, xmm2
xorps xmm1, xmm1
mov ecx, 0x100ebf18
call fcn.100186a0
mov al, byte [0x100ebf18]
test al, al
je 0x1003ad92
push ecx
mov ecx, dword [0x100ebf4c]
mov dword [0x100ebf30], 0x3d46a7f0
mov dword [esp], 0x3d46a7f0
call dword [0x100f2730]
mov al, byte [0x100ebf18]
test al, al
je 0x1003ad92
push ecx
mov ecx, dword [0x100ebf4c]
mov dword [0x100ebf34], 0x3c6d9168
mov dword [esp], 0x3c6d9168
call dword [0x100f272c]
mov al, byte [0x100ebf18]
mov dword [0x100ebf3c], 2
test al, al
je 0x1003adfb
mov eax, dword [0x100f2748]
xor edx, edx
mov ecx, dword [0x100ebf54]
add eax, 0x60e090
push 0
push str.UIWidgetsBattleNet_bnet_tab_up.blp
call eax
cmp byte [0x100ebf18], 0
je 0x1003adfb
mov eax, dword [0x100ebf54]
mov byte [eax + 0x6c], 0xff
cmp dword [0x100ebf3c], 9
jne 0x1003adfb
mov eax, dword [0x100ebf54]
xor edx, edx
push 0
mov dword [eax + 0xa0], 0
mov eax, dword [0x100f2748]
mov ecx, dword [0x100ebf54]
add eax, 0x605cc0
call eax
push 1
mov ecx, 0x100ebf18
call fcn.10018bc0
movss xmm3, dword [0x100da5e8]
sub esp, 8
xorps xmm2, xmm2
xorps xmm1, xmm1
mov ecx, 0x100ec0e8
mov dword [esp], 0x3c6d9168
call fcn.1001a2c0
push 3
push esi
mov ecx, 0x100ec0e8
call fcn.10018e50
cmp byte [0x100ec0e8], 0
je 0x1003ae55
mov eax, dword [0x100ec11c]
mov byte [0x100ec0e9], 0
mov dword [eax + 0xb0], 0
mov eax, dword [0x100f2748]
mov ecx, 0x54583131
add eax, 0x32c8e0
call eax
test eax, eax
je 0x1003ae8a
mov ecx, dword [eax + 0x134]
test ecx, ecx
je 0x1003ae8a
cmp ecx, 0xb3
jb 0x1003ae8a
mov eax, dword [eax + 0x138]
mov eax, dword [eax + 0x2c8]
jmp 0x1003ae8f
mov eax, 0x100d6824
push ecx
mov dword [esp], 0x3c3c6a7e
xorps xmm3, xmm3
push eax
sub esp, 8
xorps xmm2, xmm2
mov ecx, 0x100ec000
mov dword [esp + 4], 0x3c6d9168
mov dword [esp], 0x3d46a7f0
push 1
call fcn.100183d0
push 2
mov ecx, 0x100ec000
call fcn.10018bc0
movss xmm1, dword [0x100da4a4]
movss xmm0, dword [0x100da5e8]
call fcn.1001b2a0
push ecx
push str.HUD_SIMPLE_TEXTURE
mov ecx, 0x100ec1d0
mov dword [0x100f2294], eax
mov dword [eax + 0x4c], fcn.10037650
call fcn.10018340
cmp byte [0x100ec1d0], 0
je 0x1003afd3
push ecx
xorps xmm2, xmm2
xorps xmm1, xmm1
mov ecx, 0x100ec1d0
call fcn.100186a0
mov al, byte [0x100ec1d0]
test al, al
je 0x1003af6a
push ecx
mov ecx, dword [0x100ec204]
mov dword [0x100ec1e8], 0x3d46a7f0
mov dword [esp], 0x3d46a7f0
call dword [0x100f2730]
mov al, byte [0x100ec1d0]
test al, al
je 0x1003af6a
push ecx
mov ecx, dword [0x100ec204]
mov dword [0x100ec1ec], 0x3c6d9168
mov dword [esp], 0x3c6d9168
call dword [0x100f272c]
mov al, byte [0x100ec1d0]
mov dword [0x100ec1f4], 2
test al, al
je 0x1003afd3
mov eax, dword [0x100f2748]
xor edx, edx
mov ecx, dword [0x100ec20c]
add eax, 0x60e090
push 0
push str.UIWidgetsBattleNet_bnet_tab_down.blp
call eax
cmp byte [0x100ec1d0], 0
je 0x1003afd3
mov eax, dword [0x100ec20c]
mov byte [eax + 0x6c], 0xff
cmp dword [0x100ec1f4], 9
jne 0x1003afd3
mov eax, dword [0x100ec20c]
xor edx, edx
push 0
mov dword [eax + 0xa0], 0
mov eax, dword [0x100f2748]
mov ecx, dword [0x100ec20c]
add eax, 0x605cc0
call eax
push 1
mov ecx, 0x100ec1d0
call fcn.10018bc0
movss xmm3, dword [0x100da5e8]
sub esp, 8
xorps xmm2, xmm2
xorps xmm1, xmm1
mov ecx, 0x100ec3a0
mov dword [esp], 0x3c6d9168
call fcn.1001a2c0
push 3
push esi
mov ecx, 0x100ec3a0
call fcn.10018e50
cmp byte [0x100ec3a0], 0
je 0x1003b02d
mov eax, dword [0x100ec3d4]
mov byte [0x100ec3a1], 0
mov dword [eax + 0xb0], 0
mov eax, dword [0x100f2748]
mov ecx, 0x54583131
add eax, 0x32c8e0
call eax
test eax, eax
je 0x1003b062
mov ecx, dword [eax + 0x134]
test ecx, ecx
je 0x1003b062
cmp ecx, 0xb4
jb 0x1003b062
mov eax, dword [eax + 0x138]
mov eax, dword [eax + 0x2cc]
jmp 0x1003b067
mov eax, 0x100d6824
push ecx
mov dword [esp], 0x3c3c6a7e
xorps xmm3, xmm3
push eax
sub esp, 8
xorps xmm2, xmm2
mov ecx, 0x100ec2b8
mov dword [esp + 4], 0x3c6d9168
mov dword [esp], 0x3d46a7f0
push 1
call fcn.100183d0
cmp byte [0x100ec2b8], 0
je 0x1003b0d4
mov eax, dword [0x100ec2f4]
mov byte [eax + 0x6c], 0x8c
cmp dword [0x100ec2dc], 9
jne 0x1003b0d4
mov eax, dword [0x100ec2f4]
xor edx, edx
push 0
mov dword [eax + 0xa0], 0
mov eax, dword [0x100f2748]
mov ecx, dword [0x100ec2f4]
add eax, 0x605cc0
call eax
push 2
mov ecx, 0x100ec2b8
call fcn.10018bc0
movss xmm1, dword [0x100da4a4]
movss xmm0, dword [0x100da5e8]
call fcn.1001b2a0
cmp dword [0x100f22cc], 0
mov esi, str.BookmarkStyle1.tga
movss xmm3, dword [0x100da500]
xorps xmm2, xmm2
push 0x100d6824
mov dword [0x100f2290], eax
xorps xmm1, xmm1
mov dword [eax + 0x4c], fcn.10037650
mov eax, str.BookmarkStyle2.tga
push ecx
mov ecx, 0x100ec488
mov dword [esp], 0x3cb020c4
cmovne esi, eax
call fcn.1001a420
cmp byte [0x100ec488], 0
je 0x1003b21b
push 1
push str.UIWidgetsGluesGlueScreen_Scrollbar_BackdropBorder.blp
push 0
push 0xff
push esi
push dword [0x100ec490]
call dword [0x100f2740]
mov edx, dword [0x100f2748]
mov ecx, eax
lea edx, [edx + 0x6212d0]
call edx
cmp byte [0x100ec488], 0
je 0x1003b21b
push dword [0x100ec490]
call dword [0x100f2740]
test eax, eax
jle 0x1003b1a3
mov dword [eax + 0x1b8], 0x3c03126f
mov dword [eax + 0x1d8], 1
cmp byte [0x100ec488], 0
je 0x1003b21b
push dword [0x100ec490]
call dword [0x100f2740]
test eax, eax
jle 0x1003b1ee
mov dword [eax + 0x1c8], 0x3b03126f
mov dword [eax + 0x1cc], 0x3b03126f
mov dword [eax + 0x1d0], 0x3b03126f
mov dword [eax + 0x1d4], 0x3b03126f
mov dword [eax + 0x1d8], 1
cmp byte [0x100ec488], 0
je 0x1003b21b
push dword [0x100ec490]
call dword [0x100f2740]
test eax, eax
jle 0x1003b21b
mov dword [eax + 0xac], 0xc8
mov dword [eax + 0x1d8], 1
movss xmm0, dword [0x100da500]
movaps xmm1, xmm0
call fcn.1001b2a0
mov dword [0x100f228c], eax
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [eax + 0x4c], fcn.10037650
mov eax, dword [0x100fedf4]
sub eax, dword [0x100fedf0]
sar eax, 2
mov dword [esp + 0xc], eax
test eax, eax
je 0x1003b553
nop word [eax + eax]
mov eax, dword [0x100fedf0]
mov ecx, 0x54583131
mov esi, dword [eax + ebx*4]
mov eax, dword [0x100f2748]
add eax, 0x32c8e0
call eax
test eax, eax
je 0x1003b297
mov ecx, dword [eax + 0x134]
test ecx, ecx
je 0x1003b297
cmp ecx, esi
jb 0x1003b297
mov eax, dword [eax + 0x138]
mov ecx, dword [eax + esi*4 - 4]
jmp 0x1003b29c
mov ecx, 0x100d6824
mov eax, dword [0x100fedf0]
push ecx
mov dword [esp], 0x3c23d70a
push ecx
sub esp, 8
lea eax, [eax + ebx*4]
mov dword [esp + 4], 0x3c5d2f1b
mov dword [esp], 0x3d841894
push 0
push ecx
push eax
call fcn.1003d4d0
add esp, 4
xorps xmm3, xmm3
xorps xmm2, xmm2
lea ecx, [eax + 0x18]
call fcn.100183d0
mov eax, dword [0x100fedf0]
push 1
push ecx
lea eax, [eax + ebx*4]
push eax
call fcn.1003d4d0
add esp, 4
lea ecx, [eax + 0x18]
call fcn.10018bc0
mov eax, dword [0x100fedf0]
lea eax, [eax + ebx*4]
push eax
call fcn.1003d4d0
mov ecx, dword [eax + 0xc]
add eax, 8
mov dword [esp + 0x3c], 0
sub ecx, dword [eax]
sar ecx, 2
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x1003b544
mov edx, dword [0x100fede8]
nop dword [eax + eax]
mov eax, dword [0x100fedf0]
mov esi, edx
lea edi, [eax + ebx*4]
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1003b362
mov ecx, dword [edi]
cmp dword [eax + 0x10], ecx
jge 0x1003b34f
mov eax, dword [eax + 8]
jmp 0x1003b353
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1003b345
cmp esi, edx
je 0x1003b362
cmp ecx, dword [esi + 0x10]
jge 0x1003b386
push ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edi
push eax
push ecx
call fcn.100405a0
push eax
add eax, 0x10
push eax
push esi
lea eax, [esp + 0x1c]
push eax
call fcn.100405f0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esi + 0x1c]
mov ecx, dword [ecx + eax*4]
call fcn.1002e820
mov edx, dword [0x100fede8]
mov esi, edx
mov edi, dword [0x100fedf0]
mov eax, dword [esi + 4]
lea ebx, [edi + ebx*4]
cmp byte [eax + 0xd], 0
jne 0x1003b3cf
mov ecx, dword [ebx]
cmp dword [eax + 0x10], ecx
jge 0x1003b3bc
mov eax, dword [eax + 8]
jmp 0x1003b3c0
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1003b3b2
cmp esi, edx
je 0x1003b3cf
cmp ecx, dword [esi + 0x10]
jge 0x1003b3ff
push ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x44], ebx
push eax
push ecx
call fcn.100405a0
push eax
add eax, 0x10
push eax
push esi
lea eax, [esp + 0x20]
push eax
call fcn.100405f0
mov esi, dword [esp + 0x14]
mov edi, dword [0x100fedf0]
mov edx, dword [0x100fede8]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esi + 0x1c]
mov esi, edx
lea eax, [ecx*4]
add ebx, eax
mov eax, dword [esp + 0x44]
lea edi, [edi + eax*4]
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1003b440
mov ecx, dword [edi]
cmp dword [eax + 0x10], ecx
jge 0x1003b42d
mov eax, dword [eax + 8]
jmp 0x1003b431
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1003b423
cmp esi, edx
je 0x1003b440
cmp ecx, dword [esi + 0x10]
jge 0x1003b464
push ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edi
push eax
push ecx
call fcn.100405a0
push eax
add eax, 0x10
push eax
push esi
lea eax, [esp + 0x24]
push eax
call fcn.100405f0
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x1c]
lea ecx, [edx*4]
mov eax, dword [eax + ecx]
mov ecx, 0x100fee0c
add eax, 0xccc
push eax
call fcn.1003d6e0
mov ecx, dword [ebx]
mov dword [eax], ecx
mov eax, dword [0x100fedf0]
mov ecx, dword [esp + 0x44]
mov edx, dword [0x100fede8]
mov esi, edx
lea edi, [eax + ecx*4]
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1003b4c5
mov ecx, dword [edi]
cmp dword [eax + 0x10], ecx
jge 0x1003b4b2
mov eax, dword [eax + 8]
jmp 0x1003b4b6
mov esi, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1003b4a8
cmp esi, edx
je 0x1003b4c5
cmp ecx, dword [esi + 0x10]
jge 0x1003b4ef
push ecx
lea eax, [esp + 0x44]
mov dword [esp + 0x44], edi
push eax
push ecx
call fcn.100405a0
push eax
add eax, 0x10
push eax
push esi
lea eax, [esp + 0x28]
push eax
call fcn.100405f0
mov esi, dword [esp + 0x1c]
mov edx, dword [0x100fede8]
mov eax, dword [esi + 0x1c]
mov esi, dword [esp + 0x3c]
lea ebx, [esi*4]
mov eax, dword [eax + ebx]
cmp dword [eax + 0xcc4], 1
jne 0x1003b531
mov eax, dword [0x100fedf0]
mov ecx, dword [esp + 0x44]
lea eax, [eax + ecx*4]
push eax
call fcn.1003d4d0
mov ecx, dword [eax + 8]
add eax, 8
push 0
mov ecx, dword [ebx + ecx]
call fcn.1002f850
mov edx, dword [0x100fede8]
mov ebx, dword [esp + 0x44]
inc esi
mov dword [esp + 0x3c], esi
cmp esi, dword [esp + 0x20]
jb 0x1003b330
inc ebx
mov dword [esp + 0x44], ebx
cmp ebx, dword [esp + 0xc]
jb 0x1003b260
push ecx
push str.HUD_SIMPLE_TEXTURE
mov ecx, 0x100ebe30
call fcn.10018340
cmp byte [0x100ebe30], 0
je 0x1003b6d0
push ecx
xorps xmm2, xmm2
xorps xmm1, xmm1
mov ecx, 0x100ebe30
call fcn.100186a0
mov al, byte [0x100ebe30]
test al, al
je 0x1003b5d4
push ecx
mov ecx, dword [0x100ebe64]
mov dword [0x100ebe48], 0
mov dword [esp], 0
call dword [0x100f2730]
mov al, byte [0x100ebe30]
test al, al
je 0x1003b5d4
push ecx
mov ecx, dword [0x100ebe64]
mov dword [0x100ebe4c], 0
mov dword [esp], 0
call dword [0x100f272c]
mov al, byte [0x100ebe30]
mov dword [0x100ebe54], 2
test al, al
je 0x1003b6d0
mov eax, dword [0x100f2748]
xor edx, edx
mov ecx, dword [0x100ebe6c]
add eax, 0x60e090
push 0
push str.SideShopBackground.tga
call eax
cmp byte [0x100ebe30], 0
je 0x1003b6d0
mov eax, dword [0x100ebe6c]
mov byte [eax + 0x6c], 0xff
cmp dword [0x100ebe54], 9
jne 0x1003b645
mov eax, dword [0x100ebe6c]
xor edx, edx
push 0
mov dword [eax + 0xa0], 0
mov eax, dword [0x100f2748]
mov ecx, dword [0x100ebe6c]
add eax, 0x605cc0
call eax
cmp byte [0x100ebe30], 0
je 0x1003b6d0
mov eax, dword [0x100ebe64]
mov dword [eax + 0x84], 0
cmp byte [0x100ebe31], 0
je 0x1003b6d0
cmp byte [0x100ebe30], 0
je 0x1003b6d0
mov eax, dword [0x100ebe64]
xor edx, edx
mov byte [0x100ebe31], 0
mov dword [eax + 0x90], 0
mov eax, dword [0x100f2748]
mov ecx, dword [0x100ebe64]
add eax, 0x609ad0
call eax
cmp byte [0x100ebe30], 0
je 0x1003b6d0
mov eax, dword [0x100ebe64]
xor edx, edx
mov byte [0x100ebe31], 1
mov dword [eax + 0x90], 1
mov eax, dword [0x100f2748]
mov ecx, dword [0x100ebe64]
add eax, 0x609b50
call eax
call fcn.1001b370
mov dword [0x100f2298], eax
mov dword [eax + 0x4c], fcn.10037650
call fcn.10033270
mov eax, dword [0x100f2748]
mov ecx, 0x54583131
add eax, 0x32c8e0
call eax
test eax, eax
je 0x1003b71b
mov ecx, dword [eax + 0x134]
test ecx, ecx
je 0x1003b71b
cmp ecx, 0xbc
jb 0x1003b71b
mov eax, dword [eax + 0x138]
mov ecx, dword [eax + 0x2ec]
jmp 0x1003b720
mov ecx, 0x100d6824
mov edx, ecx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1003b725
sub edx, esi
push edx
push ecx
mov ecx, 0x100eba60
call fcn.1000ecc0
mov eax, dword [0x100f2748]
mov ecx, 0x54583131
add eax, 0x32c8e0
call eax
test eax, eax
je 0x1003b76f
mov ecx, dword [eax + 0x134]
test ecx, ecx
je 0x1003b76f
cmp ecx, 0xbd
jb 0x1003b76f
mov eax, dword [eax + 0x138]
mov edx, dword [eax + 0x2f0]
jmp 0x1003b774
mov edx, 0x100d6824
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003b780
sub ecx, esi
push ecx
push edx
mov ecx, 0x100eba78
call fcn.1000ecc0
sub esp, 8
call fcn.10030a30
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10097f9e
mov esp, ebp
pop ebp
ret 4
call fcn.1009d41c
int3