Function at 0x49ee60
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x527af4]
sub esp, 0x2e8
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 0x49eebc
call fcn.0049bbe0
test eax, eax
jne 0x49ee9b
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x2e8
ret 4
mov ecx, dword [0x527af4]
push ecx
call edi
mov esi, eax
cmp esi, ebx
jne 0x49eebc
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x2e8
ret 4
cmp dword [esi + 0x1a0], ebx
je 0x49eef8
mov edx, dword [esp + 0x2fc]
mov eax, dword [edx + 0x28]
push eax
push 2
push 0x74
call fcn.004a35d0
add esp, 8
push eax
push 0x2d
call fcn.0049bc40
add esp, 0xc
mov eax, 0x2d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
mov edi, dword [esp + 0x2fc]
or eax, 0xffffffff
mov dword [esi + 0x1a0], 1
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x97e], eax
mov dword [esi + 0xace], ebx
mov dword [esi + 0xad2], ebx
mov ecx, dword [edi + 0x54]
push edi
mov dword [esi + 0xaca], ecx
call fcn.004a2160
mov eax, dword [edi]
add esp, 4
sub eax, 0x64
mov ecx, 0x12c
je 0x49ef90
sub eax, 0xa
je 0x49ef84
sub eax, 0x20
mov dword [esi + 0x1a4], ecx
jmp 0x49ef9a
mov dword [esi + 0x1a4], 0xc8
jmp 0x49ef9a
mov dword [esi + 0x1a4], 0x64
lea edx, [esp + 0x28]
mov ebp, 0x8e
push edi
push edx
mov dword [esp + 0x30], ebp
call fcn.0049eae0
add esp, 8
test eax, eax
je 0x49efd8
push edi
push 0x2f
call fcn.004a1e90
add esp, 8
mov dword [esi + 0x1a0], ebx
mov eax, 0x2f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
cmp dword [esp + 0x28], ebp
je 0x49efec
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x75
jmp 0x49f24c
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0xace], ecx
mov edx, dword [esp + 0x90]
mov dword [esi + 0xad2], edx
mov eax, dword [esp + 0x9e]
mov dword [esi + 0xac2], eax
mov ecx, dword [esp + 0xa2]
mov dword [esi + 0xac6], ecx
mov eax, dword [esp + 0x96]
cmp eax, ebx
je 0x49f044
mov edx, dword [eax + 4]
mov dword [esi + 0xad6], edx
mov eax, dword [esp + 0x96]
mov ecx, dword [eax + 8]
mov dword [esi + 0xada], ecx
cmp dword [esp + 0x2c], 0xa
je 0x49f06c
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x49f05e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x49f06c
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x71
jmp 0x49f24c
cmp dword [esp + 0x44], ebx
je 0x49f086
cmp dword [esp + 0x48], ebx
je 0x49f086
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x76
jmp 0x49f24c
lea ebp, [esi + 0xc88]
mov ecx, 0x10
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp dword [esp + 0x84], ebx
je 0x49f0d0
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x49f243
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x41
jg 0x49f243
mov ecx, dword [esp + 0x88]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x94]
xor ecx, ecx
and eax, 1
mov dword [esi + 4], eax
mov edx, dword [esp + 0x4c]
cmp edx, ebx
setne cl
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x94]
shr edx, 1
and edx, 1
mov dword [esi + 0xc], edx
mov eax, dword [esp + 0x94]
shr eax, 4
and eax, 1
mov dword [esi + 0x34], eax
mov ecx, dword [esp + 0x94]
shr ecx, 5
and ecx, 1
mov dword [esi + 0x38], ecx
mov edx, dword [esp + 0x94]
shr edx, 7
and edx, 1
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0x94]
shr eax, 8
and eax, 1
mov dword [esi + 0x14], eax
mov ecx, dword [esp + 0x94]
shr ecx, 0xe
and ecx, 1
mov dword [esi + 0x18], ecx
mov eax, dword [esp + 0xae]
cmp eax, ebx
jl 0x49f220
cmp dword [esp + 0xaa], ebx
je 0x49f1b3
cmp dword [esp + 0xb2], ebx
jl 0x49f1b3
mov dword [esi + 0x5c], eax
mov edx, dword [esp + 0xb2]
mov dword [esi + 0x60], edx
mov eax, dword [esp + 0xaa]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x49f1a6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x49f1a6
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004a3120
add esp, 4
test eax, eax
jne 0x49f1ac
cmp dword [esp + 0x3c], ebx
jl 0x49f1b3
mov dword [esi + 0x3c], 1
cmp dword [esp + 0xae], ebx
jl 0x49f220
cmp dword [esi + 0x3c], ebx
jne 0x49f220
cmp dword [esp + 0xb2], ebx
jl 0x49f220
cmp dword [esp + 0x2c], 0xb
jne 0x49f220
mov dword [esi + 0x40], 1
mov edx, dword [esp + 0xae]
mov dword [esi + 0x5c], edx
mov eax, dword [esp + 0xb2]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ebx
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x49f213
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x49f213
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004a3120
add esp, 4
test eax, eax
jne 0x49f219
cmp dword [esp + 0x3c], ebx
jl 0x49f220
mov dword [esi + 0x3c], 1
mov eax, dword [esp + 0xa6]
cmp eax, ebx
je 0x49f277
push 0x12c
lea edx, [esi + 0x70]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [esi + 0x19b], bl
jmp 0x49f286
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x77
call fcn.004a35d0
add esp, 8
push eax
push 0x2f
call fcn.0049bc40
add esp, 0xc
mov dword [esi + 0x1a0], ebx
mov eax, 0x2f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
lea eax, [esi + 0x70]
push 0x51ebf0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ebp, [esi + 0x520]
push ebp
mov dword [esp + 0xbc], ebp
call fcn.0049ff60
mov eax, dword [esi + 0xc36]
add esp, 4
cmp eax, ebx
je 0x49f2e1
mov eax, dword [esp + 0x2c]
cmp eax, 2
je 0x49f2b4
cmp eax, 4
jne 0x49f2e1
mov ecx, dword [esp + 0x30]
lea edi, [esi + 0x318]
push ecx
push edi
call fcn.004a3200
add esp, 8
lea eax, [esi + 0x8cfc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
or ecx, 0xffffffff
mov dword [esi + 0x97e], ecx
jmp 0x49f349
mov edx, dword [esp + 0x30]
lea edi, [esi + 0x318]
push edx
push edi
call fcn.004a3200
add esp, 8
lea eax, [esi + 0x8cfc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.0049c370
test eax, eax
jne 0x49f346
mov dword [esi + 0x1a0], ebx
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x67
call fcn.004a35d0
add esp, 8
push eax
push 9
call fcn.0049bc40
push ebp
call fcn.0049ffc0
add esp, 0x10
mov eax, 9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
or ecx, 0xffffffff
mov edx, dword [esp + 0x2c]
lea eax, [edx - 1]
cmp eax, 0xa
ja case.default.0x49f359
jmp dword [eax*4 + 0x49ff08]
push esi
mov dword [esi + 0xc20], ebx
call fcn.0049cf10
add esp, 4
test eax, eax
jne 0x49f37a
mov edi, 5
jmp 0x49f389
lea eax, [esp + 0x28]
push eax
call fcn.0049c5d0
add esp, 4
mov edi, eax
mov edx, dword [esp + 0x2fc]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.0049eae0
mov eax, dword [esp + 0x304]
push eax
push edi
call fcn.004a1e90
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0049ffc0
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
lea ecx, [esp + 0x28]
push ecx
call fcn.0049d350
mov edi, eax
mov eax, dword [esp + 0x300]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0049eae0
mov ecx, dword [esp + 0x308]
push ecx
push edi
call fcn.004a1e90
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0049ffc0
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
push esi
mov dword [esi + 0xc20], ebx
call fcn.0049cf10
add esp, 4
test eax, eax
jne 0x49f42b
mov edi, 5
jmp 0x49f4a3
lea edx, [esp + 0x28]
push edx
call fcn.0049c770
jmp 0x49f49e
lea eax, [esp + 0x28]
push eax
call fcn.0049d5e0
mov edx, dword [esp + 0x300]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov edi, eax
call fcn.0049eae0
mov eax, dword [esp + 0x308]
push eax
jmp 0x49f548
cmp dword [esi + 0xc20], ebx
je 0x49f494
cmp word [esi + 0xc24], cx
jne 0x49f494
push esi
mov dword [esi + 0xc20], ebx
call fcn.0049cf10
add esp, 4
test eax, eax
jne 0x49f48d
mov edi, 5
jmp 0x49f4a3
lea ecx, [esp + 0x28]
push ecx
jmp 0x49f499
lea edx, [esp + 0x28]
push edx
call fcn.0049deb0
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0049eae0
mov edx, dword [esp + 0x304]
push edx
jmp 0x49f3a3
cmp dword [esi + 0xc20], ebx
je 0x49f4f4
cmp word [esi + 0xc24], cx
jne 0x49f4f4
push esi
mov dword [esi + 0xc20], ebx
call fcn.0049cf10
add esp, 4
test eax, eax
jne 0x49f4ed
mov edi, 5
jmp 0x49f503
lea eax, [esp + 0x28]
push eax
jmp 0x49f4f9
lea ecx, [esp + 0x28]
push ecx
call fcn.0049dfd0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x2fc]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.0049eae0
mov ecx, dword [esp + 0x304]
push ecx
jmp 0x49f3a3
lea edx, [esp + 0x28]
push edx
call fcn.0049e240
mov ecx, dword [esp + 0x300]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.0049eae0
mov edx, dword [esp + 0x308]
push edx
push edi
call fcn.004a1e90
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0049ffc0
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
cmp dword [esp + 0x54], ebx
jne 0x49f609
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x49f58c
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x78
jmp 0x49fed4
lea edi, [esi + 0x41c]
push eax
push edi
call fcn.004a3200
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jge 0x49f5b6
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x6e
jmp 0x49fed4
mov al, byte [esi + 0x41d]
cmp al, 0x3a
je 0x49f609
cmp byte [edi], 0x5c
jne 0x49f5c9
cmp al, 0x5c
je 0x49f609
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x6f
jmp 0x49fed4
cmp dword [esi + 0x3c], ebx
jne 0x49f609
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x83
jmp 0x49fed4
cmp dword [esi + 0x3c], ebx
jne 0x49f5dc
mov eax, dword [esp + 0x96]
cmp eax, ebx
je 0x49f5dc
cmp dword [eax + 4], ebx
je 0x49f5dc
mov dword [esi + 0x44], 1
cmp dword [esp + 0x80], ebx
je 0x49f61e
mov dword [esi + 0xaf2], 0x4000
jmp 0x49f628
mov dword [esi + 0xaf2], 0x8000
cmp dword [esp + 0x54], ebx
jne 0x49f662
cmp dword [esi + 0x3c], ebx
jne 0x49f662
cmp dword [esi + 0x44], ebx
jne 0x49f662
mov ecx, dword [esp + 0x40]
lea edi, [esi + 0xb1c]
push ecx
push edi
call fcn.004a3200
push edi
call fcn.004a37d0
add esp, 0xc
test eax, eax
jne 0x49f662
push 0x511870
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [esp + 0x6c]
mov dword [esi + 0xaba], edx
mov eax, dword [esp + 0x70]
mov dword [esi + 0xabe], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esi + 0x44]
mov dword [esi + 0xb14], ecx
mov edx, dword [esp + 0x68]
cmp eax, ebx
mov dword [esi + 0xb18], edx
je 0x49fa10
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov eax, 3
lea ecx, [esi + 0xc3a]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esp + 0x18], eax
mov ebp, dword [esi + 0x50]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x4c]
xor edi, edi
mov dword [esp + 0x20], ecx
cmp eax, 3
jne 0x49f732
mov edx, 0x2e
lea eax, [esp + 0x18]
sub edx, edi
push eax
mov dword [esp + 0x18], edx
mov ecx, dword [esi + 0xada]
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x58]
push ecx
mov ecx, 0x20
call fcn.004b6650
mov edx, dword [esi + 0x54]
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 + 0xad6]
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 0x49f6c0
cmp eax, 3
mov dword [esp + 0x14], edi
ja case.0x49f73f.1
jmp dword [eax*4 + 0x49ff34]
mov dword [esp + 0x10], 2
jmp 0x49f9ab
mov dword [esp + 0x10], 0x30
jmp 0x49f9ab
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0xc3a]
add edx, edi
mov dword [esp + 0x10], ebx
mov dword [esi + 0x4c], edx
mov ecx, dword [esi + 0x50]
adc ecx, ebx
cmp eax, 0x2014b50
mov dword [esi + 0x50], ecx
jne 0x49f9ab
xor ebp, ebp
xor ecx, ecx
mov bp, word [esi + 0xc5a]
mov cx, word [esi + 0xc56]
xor edx, edx
add ebp, ecx
mov dx, word [esi + 0xc58]
add ebp, edx
push ebp
call fcn.004b0861
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x49f9ab
mov dword [esp + 0x10], eax
mov eax, 3
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x50]
xor edi, edi
cmp ebp, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jbe 0x49f854
cmp eax, 3
jne 0x49f854
mov eax, ebp
lea ecx, [esp + 0x18]
sub eax, edi
push ecx
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0xada]
mov eax, dword [esi + 0x54]
push edx
mov edx, dword [esi + 0x58]
mov ecx, 0x20
call fcn.004b6650
push eax
mov eax, dword [esi + 0x54]
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 + 0xad6]
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 0x49f7da
cmp eax, 3
mov dword [esp + 0x14], edi
ja case.0x49f85d.1
jmp dword [eax*4 + 0x49ff44]
mov dword [esp + 0x10], 2
jmp 0x49f99e
mov dword [esp + 0x10], 5
jmp 0x49f9ab
mov dword [esp + 0x10], 0x30
jmp 0x49f99e
mov dword [esp + 0x10], 5
jmp 0x49f99e
mov ebp, dword [esi + 0x4c]
mov ax, word [esi + 0xc42]
add ebp, edi
mov ecx, SysReAllocString
mov dword [esi + 0x4c], ebp
mov edx, dword [esi + 0x50]
adc edx, ebx
mov dword [esi + 0xc4e], ecx
mov dword [esi + 0x50], edx
mov dx, word [esi + 0xc44]
mov word [esi + 0xafe], dx
mov edx, dword [esi + 0xc4a]
mov dword [esi + 0xb04], edx
mov dx, word [esi + 0xc48]
mov word [esi + 0xb02], dx
mov dx, word [esi + 0xc46]
mov word [esi + 0xb00], dx
mov dx, word [esi + 0xc56]
mov dword [esi + 0xc52], ecx
mov dword [esi + 0xb08], ecx
mov word [esi + 0xb10], dx
mov dx, word [esi + 0xc58]
mov dword [esi + 0xb0c], ecx
mov cx, word [esi + 0xc40]
test al, 1
mov word [esi + 0xafc], ax
mov dword [esi + 0xaf6], 0x4034b50
mov word [esi + 0xafa], cx
mov word [esi + 0xb12], dx
mov dword [esi + 0xc84], ebx
je 0x49f951
mov dword [esi + 0xc84], 1
push 0x524a50
call fcn.004a0d30
push 0x524a50
call fcn.0049e790
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x8ce2]
add esp, 8
cmp eax, ebx
je 0x49f985
push eax
call fcn.004b0778
add esp, 4
mov dword [esi + 0x8ce2], ebx
mov eax, dword [esi + 0x8f50]
cmp eax, ebx
je 0x49f99e
push eax
call fcn.004b0778
add esp, 4
mov dword [esi + 0x8f50], ebx
mov eax, dword [esp + 0x1c]
push eax
call fcn.004b0778
add esp, 4
mov ebp, dword [esp + 0x2fc]
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.0049eae0
mov edi, dword [esp + 0x18]
add esp, 8
cmp edi, ebx
je 0x49f9e1
cmp edi, 0x2c
je 0x49f9e1
mov edx, dword [ebp + 0x28]
push edx
push 0x524a50
push edi
call fcn.0049bc40
add esp, 0xc
jmp 0x49f9eb
push ebp
push edi
call fcn.004a1e90
add esp, 8
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x1a0], ebx
push eax
call fcn.0049ffc0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
cmp dword [esp + 0x38], ebx
jne 0x49fbd6
cmp dword [esp + 0x3c], ebx
jge 0x49fa2e
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x7a
jmp 0x49fed4
lea edx, [esp + 0x28]
push edx
call fcn.0049c5d0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x49fa71
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0049eae0
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0049ffc0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
dec edx
cmp eax, edx
jle 0x49facc
mov edi, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.0049eae0
mov ecx, dword [edi + 0x28]
add esp, 8
push ecx
push 2
push 0x7b
call fcn.004a35d0
add esp, 8
push eax
push 0x19
call fcn.0049bc40
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0049ffc0
add esp, 0x10
mov eax, 0x19
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
cmp dword [esi + 0xc7c], ebx
je 0x49fb2f
cmp dword [esp + 0x54], ebx
jne 0x49fb2f
cmp dword [esi + 0x3c], ebx
jne 0x49fb2f
cmp dword [esi + 0x44], ebx
jne 0x49fb2f
lea eax, [esi + 0x318]
lea edx, [esi + 0x41c]
push eax
push edx
call fcn.004a3420
add esp, 8
cmp eax, 1
jne 0x49fb2f
push 0x524a50
push ebx
push ebx
push ebx
push 6
call fcn.004a14c0
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0049ffc0
add esp, 0x18
mov eax, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
test byte [esp + 0x94], 4
je 0x49fb56
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], 1
mov eax, dword [esp + 0x94]
and eax, 8
push eax
call fcn.004a2f60
add esp, 4
lea ecx, [esp + 0x28]
push ecx
call fcn.004a0040
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x28], ebx
je 0x49fb77
call fcn.004a3090
mov dword [esi + 0x2c], ebx
cmp edi, ebx
je 0x49fba0
cmp edi, 0x31
je 0x49fba0
cmp edi, 0x30
je 0x49fba0
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x7c
call fcn.004a35d0
add esp, 8
push eax
push edi
call fcn.0049bc40
add esp, 0xc
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
mov byte [esi + 0x8cfc], bl
mov dword [esi + 0x1a0], ebx
call fcn.0049eae0
push ebp
call fcn.0049ffc0
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
lea edx, [esp + 0x28]
push edx
call fcn.0049c770
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x49fc29
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0049eae0
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0049ffc0
mov edx, dword [esp + 0x5c]
push edx
push 0x524a50
push edi
call fcn.0049bc40
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
mov eax, dword [esp + 0x74]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x49fc83
mov edi, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.0049eae0
mov ecx, dword [edi + 0x28]
add esp, 8
push ecx
push 2
push 0x7d
call fcn.004a35d0
add esp, 8
push eax
push 0xb
call fcn.0049bc40
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0049ffc0
add esp, 0x10
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
cmp dword [esi + 0xc7c], ebx
je 0x49fcba
cmp dword [esp + 0x54], ebx
jne 0x49fcba
cmp dword [esi + 0x3c], ebx
jne 0x49fcba
cmp dword [esi + 0x44], ebx
jne 0x49fcba
lea eax, [esi + 0x318]
lea edx, [esi + 0x41c]
push eax
push edx
call fcn.004a3420
add esp, 8
cmp eax, 1
je 0x49faff
mov dword [esi + 0x19c], 1
mov al, byte [esp + 0x94]
test al, 4
je 0x49fcec
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], 1
mov eax, dword [esp + 0x94]
and eax, 8
push eax
call fcn.004a2f60
add esp, 4
cmp dword [esp + 0x10], ebx
jle 0x49fe25
mov dword [esp + 0x1c], 1
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c0]
push edx
mov dword [esp + 0x38], ecx
call fcn.0049d5e0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x49fdb8
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c0]
push ecx
push edi
and eax, 0xffff
push ebx
push 0x47
mov dword [esp + 0x4c], eax
call fcn.004a35d0
add esp, 8
lea edx, [esp + 0xc4]
push eax
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x20]
push edi
lea ecx, [esp + 0xd0]
push eax
push ecx
call fcn.004a1330
add esp, 0x1c
cmp eax, 1
je 0x49fdb1
lea edx, [esp + 0x28]
push edx
call fcn.004a0040
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x49fd9a
cmp edi, 0x31
je 0x49fd9a
cmp edi, 0x30
je 0x49fd91
cmp edi, 0x28
jne 0x49fe0a
cmp edi, 0x31
jne 0x49fe25
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x1c], eax
dec eax
cmp eax, ecx
jge 0x49fe25
jmp 0x49fcfe
mov edi, 0x30
jmp 0x49fe25
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x6b
call fcn.004a35d0
add esp, 8
push eax
push edi
call fcn.0049bc40
mov edx, dword [esp + 0x308]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x44], ebx
push edx
mov dword [esi + 0x19c], ebx
mov dword [esi + 0x1a0], ebx
call fcn.0049eae0
push ebp
call fcn.0049ffc0
add esp, 0x18
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x7c
call fcn.004a35d0
add esp, 8
push eax
push edi
call fcn.0049bc40
add esp, 0xc
mov eax, dword [esi + 0x24]
mov dword [esi + 0x28], ebx
cmp eax, ebx
mov dword [esi + 0x19c], ebx
je 0x49fe3d
call fcn.004a3090
mov dword [esi + 0x2c], ebx
mov edx, dword [esp + 0x2fc]
lea ecx, [esp + 0x28]
push ecx
mov byte [esi + 0x8cfc], bl
push edx
mov dword [esp + 0x3c], ebx
call fcn.0049eae0
add esp, 8
cmp edi, ebx
je 0x49fe9c
cmp edi, 0x2c
je 0x49fe9c
mov eax, dword [esp + 0x2fc]
mov ecx, dword [eax + 0x28]
push ecx
push 0x524a50
push edi
call fcn.0049bc40
add esp, 0xc
mov dword [esi + 0x1a0], ebx
push ebp
call fcn.0049ffc0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
mov edx, dword [esp + 0x2fc]
push edx
push edi
call fcn.004a1e90
add esp, 8
mov dword [esi + 0x1a0], ebx
push ebp
call fcn.0049ffc0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x79
call fcn.004a35d0
add esp, 8
push eax
push 0x2f
call fcn.0049bc40
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0049ffc0
add esp, 0x10
mov eax, 0x2f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4