Function at 0x5acd20
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x6edbc0]
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 0x5acd7c
call fcn.005a9a20
test eax, eax
jne 0x5acd5b
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x2e8
ret 4
mov ecx, dword [0x6edbc0]
push ecx
call edi
mov esi, eax
cmp esi, ebx
jne 0x5acd7c
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x2e8
ret 4
cmp dword [esi + 0x1a0], ebx
je 0x5acdb8
mov edx, dword [esp + 0x2fc]
mov eax, dword [edx + 0x28]
push eax
push 2
push 0x74
call fcn.005b13c0
add esp, 8
push eax
push 0x2d
call fcn.005a9b10
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.005b0020
mov eax, dword [edi]
add esp, 4
sub eax, 0x64
mov ecx, 0x12c
je 0x5ace50
sub eax, 0xa
je 0x5ace44
sub eax, 0x20
mov dword [esi + 0x1a4], ecx
jmp 0x5ace5a
mov dword [esi + 0x1a4], 0xc8
jmp 0x5ace5a
mov dword [esi + 0x1a4], 0x64
lea edx, [esp + 0x28]
mov ebp, 0x8e
push edi
push edx
mov dword [esp + 0x30], ebp
call fcn.005ac9a0
add esp, 8
test eax, eax
je 0x5ace98
push edi
push 0x2f
call fcn.005afd50
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 0x5aceac
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x75
jmp 0x5ad10c
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 0x5acf04
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 0x5acf2c
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x5acf1e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x5acf2c
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x71
jmp 0x5ad10c
cmp dword [esp + 0x44], ebx
je 0x5acf46
cmp dword [esp + 0x48], ebx
je 0x5acf46
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x76
jmp 0x5ad10c
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 0x5acf90
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x5ad103
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x41
jg 0x5ad103
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 0x5ad0e0
cmp dword [esp + 0xaa], ebx
je 0x5ad073
cmp dword [esp + 0xb2], ebx
jl 0x5ad073
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 0x5ad066
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x5ad066
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005b0fe0
add esp, 4
test eax, eax
jne 0x5ad06c
cmp dword [esp + 0x3c], ebx
jl 0x5ad073
mov dword [esi + 0x3c], 1
cmp dword [esp + 0xae], ebx
jl 0x5ad0e0
cmp dword [esi + 0x3c], ebx
jne 0x5ad0e0
cmp dword [esp + 0xb2], ebx
jl 0x5ad0e0
cmp dword [esp + 0x2c], 0xb
jne 0x5ad0e0
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 0x5ad0d3
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x5ad0d3
mov ecx, dword [esp + 0x38]
push ecx
call fcn.005b0fe0
add esp, 4
test eax, eax
jne 0x5ad0d9
cmp dword [esp + 0x3c], ebx
jl 0x5ad0e0
mov dword [esi + 0x3c], 1
mov eax, dword [esp + 0xa6]
cmp eax, ebx
je 0x5ad137
push 0x12c
lea edx, [esi + 0x70]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [esi + 0x19b], bl
jmp 0x5ad146
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x77
call fcn.005b13c0
add esp, 8
push eax
push 0x2f
call fcn.005a9b10
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 0x699090
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ebp, [esi + 0x520]
push ebp
mov dword [esp + 0xbc], ebp
call fcn.005ade20
mov eax, dword [esi + 0xc36]
add esp, 4
cmp eax, ebx
je 0x5ad1a1
mov eax, dword [esp + 0x2c]
cmp eax, 2
je 0x5ad174
cmp eax, 4
jne 0x5ad1a1
mov ecx, dword [esp + 0x30]
lea edi, [esi + 0x318]
push ecx
push edi
call fcn.005b10c0
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 0x5ad209
mov edx, dword [esp + 0x30]
lea edi, [esi + 0x318]
push edx
push edi
call fcn.005b10c0
add esp, 8
lea eax, [esi + 0x8cfc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.005aa230
test eax, eax
jne 0x5ad206
mov dword [esi + 0x1a0], ebx
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x67
call fcn.005b13c0
add esp, 8
push eax
push 9
call fcn.005a9b10
push ebp
call fcn.005ade80
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.0x5ad219
jmp dword [eax*4 + 0x5addc8]
push esi
mov dword [esi + 0xc20], ebx
call fcn.005aadd0
add esp, 4
test eax, eax
jne 0x5ad23a
mov edi, 5
jmp 0x5ad249
lea eax, [esp + 0x28]
push eax
call fcn.005aa490
add esp, 4
mov edi, eax
mov edx, dword [esp + 0x2fc]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.005ac9a0
mov eax, dword [esp + 0x304]
push eax
push edi
call fcn.005afd50
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ade80
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.005ab210
mov edi, eax
mov eax, dword [esp + 0x300]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.005ac9a0
mov ecx, dword [esp + 0x308]
push ecx
push edi
call fcn.005afd50
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ade80
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.005aadd0
add esp, 4
test eax, eax
jne 0x5ad2eb
mov edi, 5
jmp 0x5ad363
lea edx, [esp + 0x28]
push edx
call fcn.005aa630
jmp 0x5ad35e
lea eax, [esp + 0x28]
push eax
call fcn.005ab4a0
mov edx, dword [esp + 0x300]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov edi, eax
call fcn.005ac9a0
mov eax, dword [esp + 0x308]
push eax
jmp 0x5ad408
cmp dword [esi + 0xc20], ebx
je 0x5ad354
cmp word [esi + 0xc24], cx
jne 0x5ad354
push esi
mov dword [esi + 0xc20], ebx
call fcn.005aadd0
add esp, 4
test eax, eax
jne 0x5ad34d
mov edi, 5
jmp 0x5ad363
lea ecx, [esp + 0x28]
push ecx
jmp 0x5ad359
lea edx, [esp + 0x28]
push edx
call fcn.005abd70
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.005ac9a0
mov edx, dword [esp + 0x304]
push edx
jmp 0x5ad263
cmp dword [esi + 0xc20], ebx
je 0x5ad3b4
cmp word [esi + 0xc24], cx
jne 0x5ad3b4
push esi
mov dword [esi + 0xc20], ebx
call fcn.005aadd0
add esp, 4
test eax, eax
jne 0x5ad3ad
mov edi, 5
jmp 0x5ad3c3
lea eax, [esp + 0x28]
push eax
jmp 0x5ad3b9
lea ecx, [esp + 0x28]
push ecx
call fcn.005abe90
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x2fc]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.005ac9a0
mov ecx, dword [esp + 0x304]
push ecx
jmp 0x5ad263
lea edx, [esp + 0x28]
push edx
call fcn.005ac100
mov ecx, dword [esp + 0x300]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.005ac9a0
mov edx, dword [esp + 0x308]
push edx
push edi
call fcn.005afd50
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ade80
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 0x5ad4c9
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x5ad44c
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x78
jmp 0x5add94
lea edi, [esi + 0x41c]
push eax
push edi
call fcn.005b10c0
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jge 0x5ad476
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x6e
jmp 0x5add94
mov al, byte [esi + 0x41d]
cmp al, 0x3a
je 0x5ad4c9
cmp byte [edi], 0x5c
jne 0x5ad489
cmp al, 0x5c
je 0x5ad4c9
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x6f
jmp 0x5add94
cmp dword [esi + 0x3c], ebx
jne 0x5ad4c9
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x83
jmp 0x5add94
cmp dword [esi + 0x3c], ebx
jne 0x5ad49c
mov eax, dword [esp + 0x96]
cmp eax, ebx
je 0x5ad49c
cmp dword [eax + 4], ebx
je 0x5ad49c
mov dword [esi + 0x44], 1
cmp dword [esp + 0x80], ebx
je 0x5ad4de
mov dword [esi + 0xaf2], 0x4000
jmp 0x5ad4e8
mov dword [esi + 0xaf2], 0x8000
cmp dword [esp + 0x54], ebx
jne 0x5ad522
cmp dword [esi + 0x3c], ebx
jne 0x5ad522
cmp dword [esi + 0x44], ebx
jne 0x5ad522
mov ecx, dword [esp + 0x40]
lea edi, [esi + 0xb1c]
push ecx
push edi
call fcn.005b10c0
push edi
call fcn.005bead0
add esp, 0xc
test eax, eax
jne 0x5ad522
push 0x6713a0
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 0x5ad8d0
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 0x5ad5f2
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.005d58c0
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 0x5ad580
cmp eax, 3
mov dword [esp + 0x14], edi
ja case.0x5ad5ff.1
jmp dword [eax*4 + 0x5addf4]
mov dword [esp + 0x10], 2
jmp 0x5ad86b
mov dword [esp + 0x10], 0x30
jmp 0x5ad86b
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 0x5ad86b
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.005ce37a
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x5ad86b
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 0x5ad714
cmp eax, 3
jne 0x5ad714
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.005d58c0
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 0x5ad69a
cmp eax, 3
mov dword [esp + 0x14], edi
ja case.0x5ad71d.1
jmp dword [eax*4 + 0x5ade04]
mov dword [esp + 0x10], 2
jmp 0x5ad85e
mov dword [esp + 0x10], 5
jmp 0x5ad86b
mov dword [esp + 0x10], 0x30
jmp 0x5ad85e
mov dword [esp + 0x10], 5
jmp 0x5ad85e
mov ebp, dword [esi + 0x4c]
mov ax, word [esi + 0xc42]
add ebp, edi
mov ecx, closesocket
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 0x5ad811
mov dword [esi + 0xc84], 1
push 0x6a0f60
call fcn.005aebf0
push 0x6a0f60
call fcn.005ac650
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x8ce2]
add esp, 8
cmp eax, ebx
je 0x5ad845
push eax
call fcn.005ce291
add esp, 4
mov dword [esi + 0x8ce2], ebx
mov eax, dword [esi + 0x8f50]
cmp eax, ebx
je 0x5ad85e
push eax
call fcn.005ce291
add esp, 4
mov dword [esi + 0x8f50], ebx
mov eax, dword [esp + 0x1c]
push eax
call fcn.005ce291
add esp, 4
mov ebp, dword [esp + 0x2fc]
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.005ac9a0
mov edi, dword [esp + 0x18]
add esp, 8
cmp edi, ebx
je 0x5ad8a1
cmp edi, 0x2c
je 0x5ad8a1
mov edx, dword [ebp + 0x28]
push edx
push 0x6a0f60
push edi
call fcn.005a9b10
add esp, 0xc
jmp 0x5ad8ab
push ebp
push edi
call fcn.005afd50
add esp, 8
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x1a0], ebx
push eax
call fcn.005ade80
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 0x5ada96
cmp dword [esp + 0x3c], ebx
jge 0x5ad8ee
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x7a
jmp 0x5add94
lea edx, [esp + 0x28]
push edx
call fcn.005aa490
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x5ad931
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.005ac9a0
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ade80
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 0x5ad98c
mov edi, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.005ac9a0
mov ecx, dword [edi + 0x28]
add esp, 8
push ecx
push 2
push 0x7b
call fcn.005b13c0
add esp, 8
push eax
push 0x19
call fcn.005a9b10
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ade80
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 0x5ad9ef
cmp dword [esp + 0x54], ebx
jne 0x5ad9ef
cmp dword [esi + 0x3c], ebx
jne 0x5ad9ef
cmp dword [esi + 0x44], ebx
jne 0x5ad9ef
lea eax, [esi + 0x318]
lea edx, [esi + 0x41c]
push eax
push edx
call fcn.005b1210
add esp, 8
cmp eax, 1
jne 0x5ad9ef
push 0x6a0f60
push ebx
push ebx
push ebx
push 6
call fcn.005af380
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ade80
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 0x5ada16
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], 1
mov eax, dword [esp + 0x94]
and eax, 8
push eax
call fcn.005b0e20
add esp, 4
lea ecx, [esp + 0x28]
push ecx
call fcn.005adf00
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x28], ebx
je 0x5ada37
call fcn.005b0f50
mov dword [esi + 0x2c], ebx
cmp edi, ebx
je 0x5ada60
cmp edi, 0x31
je 0x5ada60
cmp edi, 0x30
je 0x5ada60
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x7c
call fcn.005b13c0
add esp, 8
push eax
push edi
call fcn.005a9b10
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.005ac9a0
push ebp
call fcn.005ade80
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.005aa630
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x5adae9
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.005ac9a0
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ade80
mov edx, dword [esp + 0x5c]
push edx
push 0x6a0f60
push edi
call fcn.005a9b10
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 0x5adb43
mov edi, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.005ac9a0
mov ecx, dword [edi + 0x28]
add esp, 8
push ecx
push 2
push 0x7d
call fcn.005b13c0
add esp, 8
push eax
push 0xb
call fcn.005a9b10
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ade80
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 0x5adb7a
cmp dword [esp + 0x54], ebx
jne 0x5adb7a
cmp dword [esi + 0x3c], ebx
jne 0x5adb7a
cmp dword [esi + 0x44], ebx
jne 0x5adb7a
lea eax, [esi + 0x318]
lea edx, [esi + 0x41c]
push eax
push edx
call fcn.005b1210
add esp, 8
cmp eax, 1
je 0x5ad9bf
mov dword [esi + 0x19c], 1
mov al, byte [esp + 0x94]
test al, 4
je 0x5adbac
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], 1
mov eax, dword [esp + 0x94]
and eax, 8
push eax
call fcn.005b0e20
add esp, 4
cmp dword [esp + 0x10], ebx
jle 0x5adce5
mov dword [esp + 0x1c], 1
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c0]
push edx
mov dword [esp + 0x38], ecx
call fcn.005ab4a0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x5adc78
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.005b13c0
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.005af1f0
add esp, 0x1c
cmp eax, 1
je 0x5adc71
lea edx, [esp + 0x28]
push edx
call fcn.005adf00
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x5adc5a
cmp edi, 0x31
je 0x5adc5a
cmp edi, 0x30
je 0x5adc51
cmp edi, 0x28
jne 0x5adcca
cmp edi, 0x31
jne 0x5adce5
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x1c], eax
dec eax
cmp eax, ecx
jge 0x5adce5
jmp 0x5adbbe
mov edi, 0x30
jmp 0x5adce5
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x6b
call fcn.005b13c0
add esp, 8
push eax
push edi
call fcn.005a9b10
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.005ac9a0
push ebp
call fcn.005ade80
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.005b13c0
add esp, 8
push eax
push edi
call fcn.005a9b10
add esp, 0xc
mov eax, dword [esi + 0x24]
mov dword [esi + 0x28], ebx
cmp eax, ebx
mov dword [esi + 0x19c], ebx
je 0x5adcfd
call fcn.005b0f50
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.005ac9a0
add esp, 8
cmp edi, ebx
je 0x5add5c
cmp edi, 0x2c
je 0x5add5c
mov eax, dword [esp + 0x2fc]
mov ecx, dword [eax + 0x28]
push ecx
push 0x6a0f60
push edi
call fcn.005a9b10
add esp, 0xc
mov dword [esi + 0x1a0], ebx
push ebp
call fcn.005ade80
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.005afd50
add esp, 8
mov dword [esi + 0x1a0], ebx
push ebp
call fcn.005ade80
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.005b13c0
add esp, 8
push eax
push 0x2f
call fcn.005a9b10
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.005ade80
add esp, 0x10
mov eax, 0x2f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4