Function at 0x5ad630
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6eeaa0]
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 0x5ad68c
call fcn.005aa330
test eax, eax
jne 0x5ad66b
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x2e8
ret 4
mov ecx, dword [0x6eeaa0]
push ecx
call edi
mov esi, eax
cmp esi, ebx
jne 0x5ad68c
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x2e8
ret 4
cmp dword [esi + 0x1a0], ebx
je 0x5ad6c8
mov edx, dword [esp + 0x2fc]
mov eax, dword [edx + 0x28]
push eax
push 2
push 0x74
call fcn.005b1da0
add esp, 8
push eax
push 0x2d
call fcn.005aa420
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.005b0930
mov eax, dword [edi]
add esp, 4
sub eax, 0x64
mov ecx, 0x12c
je 0x5ad760
sub eax, 0xa
je 0x5ad754
sub eax, 0x20
mov dword [esi + 0x1a4], ecx
jmp 0x5ad76a
mov dword [esi + 0x1a4], 0xc8
jmp 0x5ad76a
mov dword [esi + 0x1a4], 0x64
lea edx, [esp + 0x28]
mov ebp, 0x8e
push edi
push edx
mov dword [esp + 0x30], ebp
call fcn.005ad2b0
add esp, 8
test eax, eax
je 0x5ad7a8
push edi
push 0x2f
call fcn.005b0660
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 0x5ad7bc
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x75
jmp 0x5ada1c
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 0x5ad814
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 0x5ad83c
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5ad82e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x5ad83c
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x71
jmp 0x5ada1c
cmp dword [esp + 0x44], ebx
je 0x5ad856
cmp dword [esp + 0x48], ebx
je 0x5ad856
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x76
jmp 0x5ada1c
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 0x5ad8a0
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x5ada13
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x41
jg 0x5ada13
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 0x5ad9f0
cmp dword [esp + 0xaa], ebx
je 0x5ad983
cmp dword [esp + 0xb2], ebx
jl 0x5ad983
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 0x5ad976
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x5ad976
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005b18f0
add esp, 4
test eax, eax
jne 0x5ad97c
cmp dword [esp + 0x3c], ebx
jl 0x5ad983
mov dword [esi + 0x3c], 1
cmp dword [esp + 0xae], ebx
jl 0x5ad9f0
cmp dword [esi + 0x3c], ebx
jne 0x5ad9f0
cmp dword [esp + 0xb2], ebx
jl 0x5ad9f0
cmp dword [esp + 0x2c], 0xb
jne 0x5ad9f0
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 0x5ad9e3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x5ad9e3
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005b18f0
add esp, 4
test eax, eax
jne 0x5ad9e9
cmp dword [esp + 0x3c], ebx
jl 0x5ad9f0
mov dword [esi + 0x3c], 1
mov eax, dword [esp + 0xa6]
cmp eax, ebx
je 0x5ada47
push 0x12c
lea edx, [esi + 0x70]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [esi + 0x19b], bl
jmp 0x5ada56
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x77
call fcn.005b1da0
add esp, 8
push eax
push 0x2f
call fcn.005aa420
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 0x699f70
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ebp, [esi + 0x520]
push ebp
mov dword [esp + 0xbc], ebp
call fcn.005ae730
mov eax, dword [esi + 0xc36]
add esp, 4
cmp eax, ebx
je 0x5adab1
mov eax, dword [esp + 0x2c]
cmp eax, 2
je 0x5ada84
cmp eax, 4
jne 0x5adab1
mov ecx, dword [esp + 0x30]
lea edi, [esi + 0x318]
push ecx
push edi
call fcn.005b19d0
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 0x5adb19
mov edx, dword [esp + 0x30]
lea edi, [esi + 0x318]
push edx
push edi
call fcn.005b19d0
add esp, 8
lea eax, [esi + 0x8cfc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.005aab40
test eax, eax
jne 0x5adb16
mov dword [esi + 0x1a0], ebx
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x67
call fcn.005b1da0
add esp, 8
push eax
push 9
call fcn.005aa420
push ebp
call fcn.005ae790
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.0x5adb29
jmp dword [eax*4 + 0x5ae6d8]
push esi
mov dword [esi + 0xc20], ebx
call fcn.005ab6e0
add esp, 4
test eax, eax
jne 0x5adb4a
mov edi, 5
jmp 0x5adb59
lea eax, [esp + 0x28]
push eax
call fcn.005aada0
add esp, 4
mov edi, eax
mov edx, dword [esp + 0x2fc]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.005ad2b0
mov eax, dword [esp + 0x304]
push eax
push edi
call fcn.005b0660
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ae790
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.005abb20
mov edi, eax
mov eax, dword [esp + 0x300]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.005ad2b0
mov ecx, dword [esp + 0x308]
push ecx
push edi
call fcn.005b0660
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ae790
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.005ab6e0
add esp, 4
test eax, eax
jne 0x5adbfb
mov edi, 5
jmp 0x5adc73
lea edx, [esp + 0x28]
push edx
call fcn.005aaf40
jmp 0x5adc6e
lea eax, [esp + 0x28]
push eax
call fcn.005abdb0
mov edx, dword [esp + 0x300]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov edi, eax
call fcn.005ad2b0
mov eax, dword [esp + 0x308]
push eax
jmp 0x5add18
cmp dword [esi + 0xc20], ebx
je 0x5adc64
cmp word [esi + 0xc24], cx
jne 0x5adc64
push esi
mov dword [esi + 0xc20], ebx
call fcn.005ab6e0
add esp, 4
test eax, eax
jne 0x5adc5d
mov edi, 5
jmp 0x5adc73
lea ecx, [esp + 0x28]
push ecx
jmp 0x5adc69
lea edx, [esp + 0x28]
push edx
call fcn.005ac680
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.005ad2b0
mov edx, dword [esp + 0x304]
push edx
jmp 0x5adb73
cmp dword [esi + 0xc20], ebx
je 0x5adcc4
cmp word [esi + 0xc24], cx
jne 0x5adcc4
push esi
mov dword [esi + 0xc20], ebx
call fcn.005ab6e0
add esp, 4
test eax, eax
jne 0x5adcbd
mov edi, 5
jmp 0x5adcd3
lea eax, [esp + 0x28]
push eax
jmp 0x5adcc9
lea ecx, [esp + 0x28]
push ecx
call fcn.005ac7a0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x2fc]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.005ad2b0
mov ecx, dword [esp + 0x304]
push ecx
jmp 0x5adb73
lea edx, [esp + 0x28]
push edx
call fcn.005aca10
mov ecx, dword [esp + 0x300]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.005ad2b0
mov edx, dword [esp + 0x308]
push edx
push edi
call fcn.005b0660
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ae790
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 0x5addd9
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x5add5c
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x78
jmp 0x5ae6a4
lea edi, [esi + 0x41c]
push eax
push edi
call fcn.005b19d0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jge 0x5add86
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x6e
jmp 0x5ae6a4
mov al, byte [esi + 0x41d]
cmp al, 0x3a
je 0x5addd9
cmp byte [edi], 0x5c
jne 0x5add99
cmp al, 0x5c
je 0x5addd9
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x6f
jmp 0x5ae6a4
cmp dword [esi + 0x3c], ebx
jne 0x5addd9
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x83
jmp 0x5ae6a4
cmp dword [esi + 0x3c], ebx
jne 0x5addac
mov eax, dword [esp + 0x96]
cmp eax, ebx
je 0x5addac
cmp dword [eax + 4], ebx
je 0x5addac
mov dword [esi + 0x44], 1
cmp dword [esp + 0x80], ebx
je 0x5addee
mov dword [esi + 0xaf2], 0x4000
jmp 0x5addf8
mov dword [esi + 0xaf2], 0x8000
cmp dword [esp + 0x54], ebx
jne 0x5ade32
cmp dword [esi + 0x3c], ebx
jne 0x5ade32
cmp dword [esi + 0x44], ebx
jne 0x5ade32
mov ecx, dword [esp + 0x40]
lea edi, [esi + 0xb1c]
push ecx
push edi
call fcn.005b19d0
push edi
call fcn.005bf6f0
add esp, 0xc
test eax, eax
jne 0x5ade32
push 0x6723a0
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 0x5ae1e0
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 0x5adf02
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.005d61c0
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 0x5ade90
cmp eax, 3
mov dword [esp + 0x14], edi
ja case.0x5adf0f.1
jmp dword [eax*4 + 0x5ae704]
mov dword [esp + 0x10], 2
jmp 0x5ae17b
mov dword [esp + 0x10], 0x30
jmp 0x5ae17b
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 0x5ae17b
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.005cec99
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x5ae17b
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 0x5ae024
cmp eax, 3
jne 0x5ae024
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.005d61c0
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 0x5adfaa
cmp eax, 3
mov dword [esp + 0x14], edi
ja case.0x5ae02d.1
jmp dword [eax*4 + 0x5ae714]
mov dword [esp + 0x10], 2
jmp 0x5ae16e
mov dword [esp + 0x10], 5
jmp 0x5ae17b
mov dword [esp + 0x10], 0x30
jmp 0x5ae16e
mov dword [esp + 0x10], 5
jmp 0x5ae16e
mov ebp, dword [esi + 0x4c]
mov ax, word [esi + 0xc42]
add ebp, edi
mov ecx, 0x7fffffff
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 0x5ae121
mov dword [esi + 0xc84], 1
push 0x6a1e40
call fcn.005af500
push 0x6a1e40
call fcn.005acf60
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x8ce2]
add esp, 8
cmp eax, ebx
je 0x5ae155
push eax
call fcn.005cebb0
add esp, 4
mov dword [esi + 0x8ce2], ebx
mov eax, dword [esi + 0x8f50]
cmp eax, ebx
je 0x5ae16e
push eax
call fcn.005cebb0
add esp, 4
mov dword [esi + 0x8f50], ebx
mov eax, dword [esp + 0x1c]
push eax
call fcn.005cebb0
add esp, 4
mov ebp, dword [esp + 0x2fc]
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.005ad2b0
mov edi, dword [esp + 0x18]
add esp, 8
cmp edi, ebx
je 0x5ae1b1
cmp edi, 0x2c
je 0x5ae1b1
mov edx, dword [ebp + 0x28]
push edx
push 0x6a1e40
push edi
call fcn.005aa420
add esp, 0xc
jmp 0x5ae1bb
push ebp
push edi
call fcn.005b0660
add esp, 8
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x1a0], ebx
push eax
call fcn.005ae790
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 0x5ae3a6
cmp dword [esp + 0x3c], ebx
jge 0x5ae1fe
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x7a
jmp 0x5ae6a4
lea edx, [esp + 0x28]
push edx
call fcn.005aada0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x5ae241
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.005ad2b0
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ae790
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 0x5ae29c
mov edi, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.005ad2b0
mov ecx, dword [edi + 0x28]
add esp, 8
push ecx
push 2
push 0x7b
call fcn.005b1da0
add esp, 8
push eax
push 0x19
call fcn.005aa420
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ae790
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 0x5ae2ff
cmp dword [esp + 0x54], ebx
jne 0x5ae2ff
cmp dword [esi + 0x3c], ebx
jne 0x5ae2ff
cmp dword [esi + 0x44], ebx
jne 0x5ae2ff
lea eax, [esi + 0x318]
lea edx, [esi + 0x41c]
push eax
push edx
call fcn.005b1bf0
add esp, 8
cmp eax, 1
jne 0x5ae2ff
push 0x6a1e40
push ebx
push ebx
push ebx
push 6
call fcn.005afc90
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ae790
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 0x5ae326
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], 1
mov eax, dword [esp + 0x94]
and eax, 8
push eax
call fcn.005b1730
add esp, 4
lea ecx, [esp + 0x28]
push ecx
call fcn.005ae810
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x28], ebx
je 0x5ae347
call fcn.005b1860
mov dword [esi + 0x2c], ebx
cmp edi, ebx
je 0x5ae370
cmp edi, 0x31
je 0x5ae370
cmp edi, 0x30
je 0x5ae370
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x7c
call fcn.005b1da0
add esp, 8
push eax
push edi
call fcn.005aa420
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.005ad2b0
push ebp
call fcn.005ae790
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.005aaf40
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x5ae3f9
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.005ad2b0
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ae790
mov edx, dword [esp + 0x5c]
push edx
push 0x6a1e40
push edi
call fcn.005aa420
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 0x5ae453
mov edi, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.005ad2b0
mov ecx, dword [edi + 0x28]
add esp, 8
push ecx
push 2
push 0x7d
call fcn.005b1da0
add esp, 8
push eax
push 0xb
call fcn.005aa420
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ae790
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 0x5ae48a
cmp dword [esp + 0x54], ebx
jne 0x5ae48a
cmp dword [esi + 0x3c], ebx
jne 0x5ae48a
cmp dword [esi + 0x44], ebx
jne 0x5ae48a
lea eax, [esi + 0x318]
lea edx, [esi + 0x41c]
push eax
push edx
call fcn.005b1bf0
add esp, 8
cmp eax, 1
je 0x5ae2cf
mov dword [esi + 0x19c], 1
mov al, byte [esp + 0x94]
test al, 4
je 0x5ae4bc
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], 1
mov eax, dword [esp + 0x94]
and eax, 8
push eax
call fcn.005b1730
add esp, 4
cmp dword [esp + 0x10], ebx
jle 0x5ae5f5
mov dword [esp + 0x1c], 1
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c0]
push edx
mov dword [esp + 0x38], ecx
call fcn.005abdb0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x5ae588
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.005b1da0
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.005afb00
add esp, 0x1c
cmp eax, 1
je 0x5ae581
lea edx, [esp + 0x28]
push edx
call fcn.005ae810
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x5ae56a
cmp edi, 0x31
je 0x5ae56a
cmp edi, 0x30
je 0x5ae561
cmp edi, 0x28
jne 0x5ae5da
cmp edi, 0x31
jne 0x5ae5f5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x1c], eax
dec eax
cmp eax, ecx
jge 0x5ae5f5
jmp 0x5ae4ce
mov edi, 0x30
jmp 0x5ae5f5
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x6b
call fcn.005b1da0
add esp, 8
push eax
push edi
call fcn.005aa420
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.005ad2b0
push ebp
call fcn.005ae790
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.005b1da0
add esp, 8
push eax
push edi
call fcn.005aa420
add esp, 0xc
mov eax, dword [esi + 0x24]
mov dword [esi + 0x28], ebx
cmp eax, ebx
mov dword [esi + 0x19c], ebx
je 0x5ae60d
call fcn.005b1860
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.005ad2b0
add esp, 8
cmp edi, ebx
je 0x5ae66c
cmp edi, 0x2c
je 0x5ae66c
mov eax, dword [esp + 0x2fc]
mov ecx, dword [eax + 0x28]
push ecx
push 0x6a1e40
push edi
call fcn.005aa420
add esp, 0xc
mov dword [esi + 0x1a0], ebx
push ebp
call fcn.005ae790
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.005b0660
add esp, 8
mov dword [esi + 0x1a0], ebx
push ebp
call fcn.005ae790
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.005b1da0
add esp, 8
push eax
push 0x2f
call fcn.005aa420
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ae790
add esp, 0x10
mov eax, 0x2f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4