Function at 0x465840
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x1130
call fcn.004ad6f0
mov eax, dword [0x5296dc]
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x4658a0
call fcn.004612d0
test eax, eax
jne 0x46587f
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x1130
ret 4
mov ecx, dword [0x5296dc]
push ecx
call edi
mov esi, eax
cmp esi, ebx
jne 0x4658a0
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x1130
ret 4
cmp dword [esi + 0x1d8], ebx
je 0x4658dc
mov edx, dword [esp + 0x1144]
mov eax, dword [edx + 0x28]
push eax
push 2
push 0x74
call fcn.0046cff0
add esp, 8
push eax
push 0x2d
call fcn.00461490
add esp, 0xc
mov eax, 0x2d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
mov edi, dword [esp + 0x1144]
or eax, 0xffffffff
mov dword [esi + 0x70], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x1d8], 1
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x20], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0x3d10], eax
mov dword [esi + 0x4578], ebx
mov dword [esi + 0x457c], ebx
mov ecx, dword [edi + 0x54]
push edi
mov dword [esi + 0x4574], ecx
call fcn.0046a1d0
mov eax, dword [edi + 4]
add esp, 4
cmp eax, 9
jl 0x46599f
cmp eax, 0xb
jg 0x46599f
mov eax, 0x2000
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], eax
jmp 0x4659b3
mov dword [esi + 0xa0], 0x2800
mov dword [esi + 0xa4], 0xf000
mov eax, dword [edi]
add eax, 0xffffff9c
cmp eax, 0x46
ja case.0x4659c5.103
xor edx, edx
mov dl, byte [eax + 0x466b28]
jmp dword [edx*4 + 0x466b14]
mov dword [esi + 0x1dc], 0x64
jmp 0x4659fa
mov dword [esi + 0x1dc], 0xc8
jmp 0x4659fa
mov dword [esi + 0x1dc], 0x12c
jmp 0x4659fa
mov dword [esi + 0x1dc], 0x1f4
lea eax, [esp + 0x28]
mov ebp, 0xaa
push edi
push eax
mov dword [esp + 0x30], ebp
call fcn.004650b0
add esp, 8
test eax, eax
je 0x465a38
push edi
push 0x2f
call fcn.00469e60
add esp, 8
mov dword [esi + 0x1d8], ebx
mov eax, 0x2f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
cmp dword [esp + 0x28], ebp
je 0x465a4c
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x75
jmp 0x465ce4
mov edx, dword [esp + 0x8c]
mov dword [esi + 0x4578], edx
mov eax, dword [esp + 0x90]
mov dword [esi + 0x457c], eax
mov ecx, dword [esp + 0x9e]
mov dword [esi + 0x4568], ecx
mov edx, dword [esp + 0xc6]
mov dword [esi + 0x456c], edx
mov eax, dword [esp + 0xa2]
mov dword [esi + 0x4570], eax
mov eax, dword [esp + 0x96]
cmp eax, ebx
je 0x465ab1
mov ecx, dword [eax + 4]
mov dword [esi + 0x4580], ecx
mov edx, dword [esp + 0x96]
mov eax, dword [edx + 8]
mov dword [esi + 0x4584], eax
cmp dword [esp + 0x2c], 0xa
je 0x465ad9
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x465acb
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x465ad9
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x71
jmp 0x465ce4
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov eax, dword [esp + 0x48]
je 0x465af7
cmp eax, ebx
je 0x465aff
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x76
jmp 0x465ce4
cmp eax, ebx
je 0x465ba1
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x465b12
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x6d
jmp 0x465b55
lea edi, [esi + 0x1350]
push eax
push edi
call fcn.0046b610
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jge 0x465b39
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x6e
jmp 0x465b55
mov al, byte [esi + 0x1351]
cmp al, 0x3a
je 0x465b7a
cmp byte [edi], 0x5c
jne 0x465b4c
cmp al, 0x5c
je 0x465b7a
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x6f
call fcn.0046cff0
add esp, 8
push eax
push 0x2f
call fcn.00461490
add esp, 0xc
mov eax, 0x2f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
lea ebp, [esi + 0x4614]
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
call fcn.0046d230
add esp, 4
test eax, eax
jne 0x465ba1
push 0x51cdf4
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ebp, [esi + 0x4ef0]
mov ecx, 0x20
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
cmp dword [esp + 0x84], ebx
je 0x465be9
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x465d0f
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x7f
jg 0x465d0f
mov eax, dword [esp + 0x88]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x94]
xor eax, eax
and edx, 1
mov dword [esi + 4], edx
mov ebp, dword [esp + 0x4c]
cmp ebp, ebx
setne al
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x94]
shr ecx, 1
and ecx, 1
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x94]
shr edx, 4
and edx, 1
mov dword [esi + 0x44], edx
mov eax, dword [esp + 0x94]
shr eax, 5
and eax, 1
mov dword [esi + 0x48], eax
mov ecx, dword [esp + 0x94]
shr ecx, 7
and ecx, 1
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x94]
shr edx, 8
and edx, 1
mov dword [esi + 0x14], edx
mov eax, dword [esp + 0x94]
shr eax, 0xe
and eax, 1
mov dword [esi + 0x18], eax
mov ecx, dword [esp + 0x94]
shr ecx, 6
and ecx, 1
mov dword [esi + 0x3d34], ecx
mov edx, dword [esp + 0x94]
shr edx, 0xb
and edx, 1
mov dword [esi + 0x38], edx
mov eax, dword [esp + 0xba]
shr eax, 1
and eax, 1
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x94]
shr ecx, 0xd
and ecx, 1
mov dword [esi + 0x40], ecx
mov edx, dword [esp + 0x94]
shr edx, 0xc
and edx, 1
mov dword [esi + 0x58], edx
mov eax, dword [esp + 0x94]
shr eax, 9
and eax, 1
mov dword [esi + 0x1c], eax
mov eax, edx
cmp eax, ebx
je 0x465d1a
mov eax, dword [esp + 0x96]
cmp eax, ebx
je 0x465cdb
cmp dword [eax + 4], ebx
jne 0x465d1a
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x3e
call fcn.0046cff0
add esp, 8
push eax
push 0x2f
call fcn.00461490
add esp, 0xc
mov dword [esi + 0x1d8], ebx
mov eax, 0x2f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x77
jmp 0x465ce4
mov edx, dword [esp + 0xbe]
mov ecx, 0x20
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0x70]
mov edx, ebx
call fcn.004b4b40
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edx
mov eax, dword [esp + 0xae]
mov ecx, dword [esi + 0x70]
or ecx, eax
mov edx, ebx
mov dword [esi + 0x70], ecx
mov ebp, dword [esi + 0x74]
or ebp, ebx
mov dword [esi + 0x74], ebp
mov ecx, dword [esp + 0xc2]
mov dword [esi + 0x78], ecx
mov dword [esi + 0x7c], ebx
mov eax, dword [esi + 0x78]
mov ecx, 0x20
call fcn.004b4b40
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edx
mov edx, dword [esp + 0xb2]
mov edi, dword [esi + 0x78]
or edi, edx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x78], edi
mov edx, dword [esi + 0x7c]
or edx, ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x7c], edx
mov eax, dword [esp + 0xaa]
cmp eax, ebx
je 0x465de9
mov dword [esi + 0x80], eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x465dd7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x465dd7
mov eax, dword [esp + 0x38]
push eax
call fcn.0046b530
add esp, 4
test eax, eax
je 0x465dd7
mov edi, 1
mov dword [esi + 0x4c], edi
jmp 0x465dee
mov eax, dword [esp + 0x3c]
mov edi, 1
cmp eax, ebx
jl 0x465dee
mov dword [esi + 0x4c], edi
jmp 0x465dee
mov edi, 1
cmp dword [esi + 0x4c], ebx
jne 0x465e30
cmp dword [esp + 0x2c], 0xb
jne 0x465e30
mov dword [esi + 0x50], edi
mov dword [esi + 0x80], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x465e27
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x465e27
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0046b530
add esp, 4
test eax, eax
jne 0x465e2d
cmp dword [esp + 0x3c], ebx
jl 0x465e30
mov dword [esi + 0x4c], edi
mov eax, dword [esp + 0xa6]
cmp eax, ebx
je 0x465e56
push 0x12c
lea edx, [esi + 0xa8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [esi + 0x1d3], bl
jmp 0x465e68
lea eax, [esi + 0xa8]
push 0x51db64
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ebp, [esi + 0x1b50]
push ebp
mov dword [esp + 0xd8], ebp
call fcn.00466bc0
mov ecx, dword [esp + 0x34]
lea edi, [esi + 0x350]
push ecx
push edi
call fcn.0046b610
add esp, 0xc
lea eax, [esi + 0x14fac]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esi + 0xb50]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
cmp dword [esi + 0x4e7c], ebx
je 0x465ecc
mov eax, dword [esp + 0x2c]
cmp eax, 2
je 0x465ec1
cmp eax, 4
jne 0x465ecc
or ecx, 0xffffffff
mov dword [esi + 0x3d10], ecx
jmp 0x465f12
call fcn.004621e0
test eax, eax
jne 0x465f0f
mov dword [esi + 0x1d8], ebx
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x67
call fcn.0046cff0
add esp, 8
push eax
push 9
call fcn.00461490
push ebp
call fcn.00466c30
add esp, 0x10
mov eax, 9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
or ecx, 0xffffffff
mov edx, dword [esp + 0x2c]
lea eax, [edx - 1]
cmp eax, 0xa
ja case.default.0x465f22
jmp dword [eax*4 + 0x466b70]
push esi
mov dword [esi + 0x4e14], ebx
call fcn.00462fd0
add esp, 4
test eax, eax
jne 0x465f43
mov edi, 5
jmp 0x465f52
lea eax, [esp + 0x28]
push eax
call fcn.004625d0
add esp, 4
mov edi, eax
mov edx, dword [esp + 0x1144]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.004650b0
mov eax, dword [esp + 0x114c]
push eax
push edi
call fcn.00469e60
push ebp
mov dword [esi + 0x1d8], ebx
call fcn.00466c30
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
lea ecx, [esp + 0x28]
push ecx
call fcn.00463440
mov edi, eax
mov eax, dword [esp + 0x1148]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.004650b0
mov ecx, dword [esp + 0x1150]
push ecx
push edi
call fcn.00469e60
push ebp
mov dword [esi + 0x1d8], ebx
call fcn.00466c30
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
push esi
mov dword [esi + 0x4e14], ebx
call fcn.00462fd0
add esp, 4
test eax, eax
jne 0x465ff4
mov edi, 5
jmp 0x46606b
lea edx, [esp + 0x28]
push edx
call fcn.00462760
jmp 0x466066
lea eax, [esp + 0x28]
push eax
call fcn.00463910
mov edx, dword [esp + 0x1148]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov edi, eax
call fcn.004650b0
mov eax, dword [esp + 0x1150]
push eax
jmp 0x46610f
cmp dword [esi + 0x4e14], ebx
je 0x46605c
cmp dword [esi + 0x4e3a], ecx
jne 0x46605c
push esi
mov dword [esi + 0x4e14], ebx
call fcn.00462fd0
add esp, 4
test eax, eax
jne 0x466055
mov edi, 5
jmp 0x46606b
lea ecx, [esp + 0x28]
push ecx
jmp 0x466061
lea edx, [esp + 0x28]
push edx
call fcn.00464280
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x1144]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.004650b0
mov edx, dword [esp + 0x114c]
push edx
jmp 0x465f6c
cmp dword [esi + 0x4e14], ebx
je 0x4660bb
cmp dword [esi + 0x4e3a], ecx
jne 0x4660bb
push esi
mov dword [esi + 0x4e14], ebx
call fcn.00462fd0
add esp, 4
test eax, eax
jne 0x4660b4
mov edi, 5
jmp 0x4660ca
lea eax, [esp + 0x28]
push eax
jmp 0x4660c0
lea ecx, [esp + 0x28]
push ecx
call fcn.004643a0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x1144]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.004650b0
mov ecx, dword [esp + 0x114c]
push ecx
jmp 0x465f6c
lea edx, [esp + 0x28]
push edx
call fcn.00464630
mov ecx, dword [esp + 0x1148]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.004650b0
mov edx, dword [esp + 0x1150]
push edx
push edi
call fcn.00469e60
push ebp
mov dword [esi + 0x1d8], ebx
call fcn.00466c30
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
cmp dword [esp + 0x54], ebx
jne 0x4661d0
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x466153
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x78
jmp 0x466ae0
lea edi, [esi + 0x1350]
push eax
push edi
call fcn.0046b610
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jge 0x46617d
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x6e
jmp 0x466ae0
mov al, byte [esi + 0x1351]
cmp al, 0x3a
je 0x4661d0
cmp byte [edi], 0x5c
jne 0x466190
cmp al, 0x5c
je 0x4661d0
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x6f
jmp 0x466ae0
cmp dword [esi + 0x4c], ebx
jne 0x4661d0
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x83
jmp 0x466ae0
cmp dword [esi + 0x4c], ebx
jne 0x4661a3
mov eax, dword [esp + 0x96]
cmp eax, ebx
je 0x4661a3
cmp dword [eax + 4], ebx
je 0x4661a3
mov dword [esi + 0x54], 1
cmp dword [esp + 0x80], ebx
je 0x4661e5
mov dword [esi + 0x45c8], 0x4000
jmp 0x4661ef
mov dword [esi + 0x45c8], 0x8000
cmp dword [esp + 0x54], ebx
jne 0x466229
cmp dword [esi + 0x4c], ebx
jne 0x466229
cmp dword [esi + 0x54], ebx
jne 0x466229
mov ecx, dword [esp + 0x40]
lea edi, [esi + 0x4614]
push ecx
push edi
call fcn.0046b610
push edi
call fcn.0046d230
add esp, 0xc
test eax, eax
jne 0x466229
push 0x51cdf4
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x4560], edx
mov eax, dword [esp + 0x70]
mov dword [esi + 0x4564], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esi + 0x54]
mov dword [esi + 0x460c], ecx
mov edx, dword [esp + 0x68]
cmp eax, ebx
mov dword [esi + 0x4610], edx
je 0x4665e5
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov eax, 3
lea ecx, [esi + 0x4e80]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x6c], ebx
mov dword [esp + 0x18], eax
mov ebp, dword [esi + 0x64]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x60]
xor edi, edi
mov dword [esp + 0x20], ecx
cmp eax, 3
jne 0x4662f9
mov edx, 0x2e
lea eax, [esp + 0x18]
sub edx, edi
push eax
mov dword [esp + 0x18], edx
mov ecx, dword [esi + 0x4584]
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x6c]
push ecx
mov ecx, 0x20
call fcn.004b56a0
mov edx, dword [esi + 0x68]
mov ecx, dword [esp + 0x28]
push eax
mov eax, ebp
push edx
push ebp
sar eax, 0x1f
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push edx
push eax
push ebx
call dword [esi + 0x4580]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
add edi, eax
add ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
adc ebp, ebx
add ecx, eax
mov eax, dword [esp + 0x18]
cmp edi, 0x2e
mov dword [esp + 0x10], ecx
jb 0x466287
cmp eax, 3
mov dword [esp + 0x14], edi
ja case.0x466306.1
jmp dword [eax*4 + 0x466b9c]
mov dword [esp + 0x10], 2
mov byte [esi + 0x14fa4], 1
jmp 0x466580
mov dword [esp + 0x10], 0x30
jmp 0x466580
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x4e80]
add edx, edi
mov dword [esp + 0x10], ebx
mov dword [esi + 0x60], edx
mov ecx, dword [esi + 0x64]
adc ecx, ebx
cmp eax, 0x2014b50
mov dword [esi + 0x64], ecx
jne 0x466580
xor ebp, ebp
xor ecx, ecx
mov bp, word [esi + 0x4ea0]
mov cx, word [esi + 0x4e9c]
xor edx, edx
add ebp, ecx
mov dx, word [esi + 0x4e9e]
add ebp, edx
push ebp
call fcn.004adbfa
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x466580
mov dword [esp + 0x10], eax
mov eax, 3
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
xor edi, edi
cmp ebp, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jbe 0x466422
cmp eax, 3
jne 0x466422
mov eax, ebp
lea ecx, [esp + 0x18]
sub eax, edi
push ecx
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x4584]
mov eax, dword [esi + 0x68]
push edx
mov edx, dword [esi + 0x6c]
mov ecx, 0x20
call fcn.004b56a0
push eax
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
mov ecx, eax
push eax
sar ecx, 0x1f
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push edx
push eax
push ecx
push ebx
call dword [esi + 0x4580]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add edi, eax
add ecx, eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
adc edx, ebx
add ecx, eax
mov eax, dword [esp + 0x18]
cmp edi, ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], ecx
jb 0x4663a8
cmp eax, 3
mov dword [esp + 0x14], edi
ja case.0x46642b.1
jmp dword [eax*4 + 0x466bac]
mov dword [esp + 0x10], 2
mov byte [esi + 0x14fa4], 1
jmp 0x466573
mov dword [esp + 0x10], 5
jmp 0x466580
mov dword [esp + 0x10], 0x30
jmp 0x466573
mov dword [esp + 0x10], 5
jmp 0x466573
mov ebp, dword [esi + 0x60]
mov ax, word [esi + 0x4e88]
add ebp, edi
mov ecx, SysReAllocString
mov dword [esi + 0x60], ebp
mov edx, dword [esi + 0x64]
adc edx, ebx
mov dword [esi + 0x4e94], ecx
mov dword [esi + 0x64], edx
mov dx, word [esi + 0x4e8a]
mov word [esi + 0x45d4], dx
mov edx, dword [esi + 0x4e90]
mov dword [esi + 0x45da], edx
mov dx, word [esi + 0x4e8e]
mov word [esi + 0x45d8], dx
mov dx, word [esi + 0x4e8c]
mov word [esi + 0x45d6], dx
mov dx, word [esi + 0x4e9c]
mov dword [esi + 0x4e98], ecx
mov dword [esi + 0x45de], ecx
mov word [esi + 0x45e6], dx
mov dx, word [esi + 0x4e9e]
mov dword [esi + 0x45e2], ecx
mov cx, word [esi + 0x4e86]
test al, 1
mov word [esi + 0x45d2], ax
mov dword [esi + 0x45cc], 0x4034b50
mov word [esi + 0x45d0], cx
mov word [esi + 0x45e8], dx
mov dword [esi + 0x4eec], ebx
je 0x466526
mov dword [esi + 0x4eec], 1
push 0x526974
call fcn.00468880
push 0x526974
call fcn.00464d60
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x14f90]
add esp, 8
cmp eax, ebx
je 0x46655a
push eax
call fcn.004ad74d
add esp, 4
mov dword [esi + 0x14f90], ebx
mov eax, dword [esi + 0x15ff4]
cmp eax, ebx
je 0x466573
push eax
call fcn.004ad74d
add esp, 4
mov dword [esi + 0x15ff4], ebx
mov eax, dword [esp + 0x1c]
push eax
call fcn.004ad74d
add esp, 4
mov ebp, dword [esp + 0x1144]
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.004650b0
mov edi, dword [esp + 0x18]
add esp, 8
cmp edi, ebx
je 0x4665b6
cmp edi, 0x2c
je 0x4665b6
mov edx, dword [ebp + 0x28]
push edx
push 0x526974
push edi
call fcn.00461490
add esp, 0xc
jmp 0x4665c0
push ebp
push edi
call fcn.00469e60
add esp, 8
mov eax, dword [esp + 0xd4]
mov dword [esi + 0x1d8], ebx
push eax
call fcn.00466c30
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
cmp dword [esp + 0x38], ebx
jne 0x4667bc
cmp dword [esp + 0x3c], ebx
jge 0x466603
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x7a
jmp 0x466ae0
lea edx, [esp + 0x28]
push edx
call fcn.004625d0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x466646
mov ecx, dword [esp + 0x1144]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.004650b0
push ebp
mov dword [esi + 0x1d8], ebx
call fcn.00466c30
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
dec edx
cmp eax, edx
jle 0x4666a1
mov edi, dword [esp + 0x1144]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.004650b0
mov ecx, dword [edi + 0x28]
add esp, 8
push ecx
push 2
push 0x7b
call fcn.0046cff0
add esp, 8
push eax
push 0x19
call fcn.00461490
push ebp
mov dword [esi + 0x1d8], ebx
call fcn.00466c30
add esp, 0x10
mov eax, 0x19
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
cmp dword [esi + 0x4ee4], ebx
je 0x466709
cmp dword [esp + 0x54], ebx
jne 0x466709
cmp dword [esi + 0x4c], ebx
jne 0x466709
cmp dword [esi + 0x54], ebx
jne 0x466709
cmp dword [esi + 0x40], ebx
jne 0x466709
lea eax, [esi + 0x350]
lea edx, [esi + 0x1350]
push eax
push edx
call fcn.0046b830
add esp, 8
cmp eax, 1
jne 0x466709
push 0x526974
push ebx
push ebx
push ebx
push 6
call fcn.00469480
push ebp
mov dword [esi + 0x1d8], ebx
call fcn.00466c30
add esp, 0x18
mov eax, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
test byte [esp + 0x94], 4
je 0x466730
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], 1
mov eax, dword [esp + 0x94]
and eax, 8
push eax
call fcn.0046b230
add esp, 4
lea ecx, [esp + 0x28]
push 1
push ecx
call fcn.00467650
mov edi, eax
mov eax, dword [esi + 0x28]
add esp, 8
cmp eax, ebx
mov dword [esi + 0x2c], ebx
je 0x466753
call fcn.0046b360
mov dword [esi + 0x30], ebx
cmp edi, ebx
je 0x466786
cmp edi, 0x31
je 0x466786
cmp edi, 0x30
je 0x466786
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x7c
call fcn.0046cff0
add esp, 8
push eax
push edi
call fcn.00461490
add esp, 0xc
mov dword [esi + 0x4ee8], 0xffffffff
mov ecx, dword [esp + 0x1144]
lea eax, [esp + 0x28]
push eax
push ecx
mov byte [esi + 0x14fac], bl
mov dword [esi + 0x1d8], ebx
call fcn.004650b0
push ebp
call fcn.00466c30
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
lea edx, [esp + 0x28]
push edx
call fcn.00462760
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x46680f
mov ecx, dword [esp + 0x1144]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.004650b0
push ebp
mov dword [esi + 0x1d8], ebx
call fcn.00466c30
mov edx, dword [esp + 0x5c]
push edx
push 0x526974
push edi
call fcn.00461490
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
mov eax, dword [esp + 0x74]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x466869
mov edi, dword [esp + 0x1144]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.004650b0
mov ecx, dword [edi + 0x28]
add esp, 8
push ecx
push 2
push 0x7d
call fcn.0046cff0
add esp, 8
push eax
push 0xb
call fcn.00461490
push ebp
mov dword [esi + 0x1d8], ebx
call fcn.00466c30
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
cmp dword [esi + 0x4ee4], ebx
je 0x4668a5
cmp dword [esp + 0x54], ebx
jne 0x4668a5
cmp dword [esi + 0x4c], ebx
jne 0x4668a5
cmp dword [esi + 0x54], ebx
jne 0x4668a5
cmp dword [esi + 0x40], ebx
jne 0x4668a5
lea eax, [esi + 0x350]
lea edx, [esi + 0x1350]
push eax
push edx
call fcn.0046b830
add esp, 8
cmp eax, 1
je 0x4666d9
mov dword [esi + 0x1d4], 1
mov al, byte [esp + 0x94]
test al, 4
je 0x4668d7
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], 1
mov eax, dword [esp + 0x94]
and eax, 8
push eax
call fcn.0046b230
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
cmp eax, ebx
jle 0x466a2a
mov dword [esp + 0x1c], 1
lea edx, [esp + 0x28]
lea ecx, [esp + 0x8d8]
push edx
mov dword [esp + 0xba], ecx
call fcn.00463910
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x4669b0
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x8dc]
push ecx
push edi
push ebx
push 0x47
mov dword [esp + 0x4c], eax
call fcn.0046cff0
add esp, 8
lea edx, [esp + 0xe0]
push eax
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x20]
push edi
lea ecx, [esp + 0xec]
push eax
push ecx
call fcn.004692d0
add esp, 0x1c
cmp eax, 1
je 0x4669a9
lea edx, [esp + 0x28]
push ebx
push edx
call fcn.00467650
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x46698e
cmp edi, 0x31
je 0x46698e
cmp edi, 0x30
je 0x466985
cmp edi, 0x28
jne 0x466a05
cmp edi, 0x31
jne 0x466a20
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x1c], eax
dec eax
cmp eax, ecx
jge 0x466a2a
jmp 0x4668ef
mov edi, 0x30
jmp 0x466a20
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x6b
call fcn.0046cff0
add esp, 8
push eax
push edi
call fcn.00461490
mov edx, dword [esp + 0x1150]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0xc6], ebx
push edx
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], ebx
call fcn.004650b0
push ebp
call fcn.00466c30
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x7c
call fcn.0046cff0
add esp, 8
push eax
push edi
call fcn.00461490
add esp, 0xc
mov dword [esi + 0x4ee8], 0xffffffff
mov eax, dword [esi + 0x28]
mov dword [esi + 0x2c], ebx
cmp eax, ebx
mov dword [esi + 0x1d4], ebx
je 0x466a42
call fcn.0046b360
mov dword [esi + 0x30], ebx
mov edx, dword [esp + 0x1144]
lea ecx, [esp + 0x28]
push ecx
mov byte [esi + 0x14fac], bl
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xbe], ebx
call fcn.004650b0
add esp, 8
cmp edi, ebx
je 0x466aa8
cmp edi, 0x2c
je 0x466aa8
mov eax, dword [esp + 0x1144]
mov ecx, dword [eax + 0x28]
push ecx
push 0x526974
push edi
call fcn.00461490
add esp, 0xc
mov dword [esi + 0x1d8], ebx
push ebp
call fcn.00466c30
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
mov edx, dword [esp + 0x1144]
push edx
push edi
call fcn.00469e60
add esp, 8
mov dword [esi + 0x1d8], ebx
push ebp
call fcn.00466c30
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x79
call fcn.0046cff0
add esp, 8
push eax
push 0x2f
call fcn.00461490
push ebp
mov dword [esi + 0x1d8], ebx
call fcn.00466c30
add esp, 0x10
mov eax, 0x2f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1130
ret 4