Function at 0x55b760
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x684f20]
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 0x55b7bc
call fcn.00558460
test eax, eax
jne 0x55b79b
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x2e8
ret 4
mov ecx, dword [0x684f20]
push ecx
call edi
mov esi, eax
cmp esi, ebx
jne 0x55b7bc
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x2e8
ret 4
cmp dword [esi + 0x1a0], ebx
je 0x55b7f8
mov edx, dword [esp + 0x2fc]
mov eax, dword [edx + 0x28]
push eax
push 2
push 0x74
call fcn.0055fed0
add esp, 8
push eax
push 0x2d
call fcn.00558550
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.0055ea60
mov eax, dword [edi]
add esp, 4
sub eax, 0x64
mov ecx, 0x12c
je 0x55b890
sub eax, 0xa
je 0x55b884
sub eax, 0x20
mov dword [esi + 0x1a4], ecx
jmp 0x55b89a
mov dword [esi + 0x1a4], 0xc8
jmp 0x55b89a
mov dword [esi + 0x1a4], 0x64
lea edx, [esp + 0x28]
mov ebp, 0x8e
push edi
push edx
mov dword [esp + 0x30], ebp
call fcn.0055b3e0
add esp, 8
test eax, eax
je 0x55b8d8
push edi
push 0x2f
call fcn.0055e790
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 0x55b8ec
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x75
jmp 0x55bb4c
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 0x55b944
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 0x55b96c
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x55b95e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x55b96c
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x71
jmp 0x55bb4c
cmp dword [esp + 0x44], ebx
je 0x55b986
cmp dword [esp + 0x48], ebx
je 0x55b986
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x76
jmp 0x55bb4c
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 0x55b9d0
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x55bb43
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x41
jg 0x55bb43
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 0x55bb20
cmp dword [esp + 0xaa], ebx
je 0x55bab3
cmp dword [esp + 0xb2], ebx
jl 0x55bab3
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 0x55baa6
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x55baa6
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0055fa20
add esp, 4
test eax, eax
jne 0x55baac
cmp dword [esp + 0x3c], ebx
jl 0x55bab3
mov dword [esi + 0x3c], 1
cmp dword [esp + 0xae], ebx
jl 0x55bb20
cmp dword [esi + 0x3c], ebx
jne 0x55bb20
cmp dword [esp + 0xb2], ebx
jl 0x55bb20
cmp dword [esp + 0x2c], 0xb
jne 0x55bb20
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 0x55bb13
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x55bb13
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0055fa20
add esp, 4
test eax, eax
jne 0x55bb19
cmp dword [esp + 0x3c], ebx
jl 0x55bb20
mov dword [esi + 0x3c], 1
mov eax, dword [esp + 0xa6]
cmp eax, ebx
je 0x55bb77
push 0x12c
lea edx, [esi + 0x70]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov byte [esi + 0x19b], bl
jmp 0x55bb86
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x77
call fcn.0055fed0
add esp, 8
push eax
push 0x2f
call fcn.00558550
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 0x6307b0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ebp, [esi + 0x520]
push ebp
mov dword [esp + 0xbc], ebp
call fcn.0055c860
mov eax, dword [esi + 0xc36]
add esp, 4
cmp eax, ebx
je 0x55bbe1
mov eax, dword [esp + 0x2c]
cmp eax, 2
je 0x55bbb4
cmp eax, 4
jne 0x55bbe1
mov ecx, dword [esp + 0x30]
lea edi, [esi + 0x318]
push ecx
push edi
call fcn.0055fb00
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 0x55bc49
mov edx, dword [esp + 0x30]
lea edi, [esi + 0x318]
push edx
push edi
call fcn.0055fb00
add esp, 8
lea eax, [esi + 0x8cfc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
call fcn.00558c70
test eax, eax
jne 0x55bc46
mov dword [esi + 0x1a0], ebx
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x67
call fcn.0055fed0
add esp, 8
push eax
push 9
call fcn.00558550
push ebp
call fcn.0055c8c0
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.0x55bc59
jmp dword [eax*4 + 0x55c808]
push esi
mov dword [esi + 0xc20], ebx
call fcn.00559810
add esp, 4
test eax, eax
jne 0x55bc7a
mov edi, 5
jmp 0x55bc89
lea eax, [esp + 0x28]
push eax
call fcn.00558ed0
add esp, 4
mov edi, eax
mov edx, dword [esp + 0x2fc]
lea ecx, [esp + 0x28]
push ecx
push edx
call fcn.0055b3e0
mov eax, dword [esp + 0x304]
push eax
push edi
call fcn.0055e790
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0055c8c0
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.00559c50
mov edi, eax
mov eax, dword [esp + 0x300]
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.0055b3e0
mov ecx, dword [esp + 0x308]
push ecx
push edi
call fcn.0055e790
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0055c8c0
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.00559810
add esp, 4
test eax, eax
jne 0x55bd2b
mov edi, 5
jmp 0x55bda3
lea edx, [esp + 0x28]
push edx
call fcn.00559070
jmp 0x55bd9e
lea eax, [esp + 0x28]
push eax
call fcn.00559ee0
mov edx, dword [esp + 0x300]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov edi, eax
call fcn.0055b3e0
mov eax, dword [esp + 0x308]
push eax
jmp 0x55be48
cmp dword [esi + 0xc20], ebx
je 0x55bd94
cmp word [esi + 0xc24], cx
jne 0x55bd94
push esi
mov dword [esi + 0xc20], ebx
call fcn.00559810
add esp, 4
test eax, eax
jne 0x55bd8d
mov edi, 5
jmp 0x55bda3
lea ecx, [esp + 0x28]
push ecx
jmp 0x55bd99
lea edx, [esp + 0x28]
push edx
call fcn.0055a7b0
add esp, 4
mov edi, eax
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0055b3e0
mov edx, dword [esp + 0x304]
push edx
jmp 0x55bca3
cmp dword [esi + 0xc20], ebx
je 0x55bdf4
cmp word [esi + 0xc24], cx
jne 0x55bdf4
push esi
mov dword [esi + 0xc20], ebx
call fcn.00559810
add esp, 4
test eax, eax
jne 0x55bded
mov edi, 5
jmp 0x55be03
lea eax, [esp + 0x28]
push eax
jmp 0x55bdf9
lea ecx, [esp + 0x28]
push ecx
call fcn.0055a8d0
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x2fc]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.0055b3e0
mov ecx, dword [esp + 0x304]
push ecx
jmp 0x55bca3
lea edx, [esp + 0x28]
push edx
call fcn.0055ab40
mov ecx, dword [esp + 0x300]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.0055b3e0
mov edx, dword [esp + 0x308]
push edx
push edi
call fcn.0055e790
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0055c8c0
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 0x55bf09
mov eax, dword [esp + 0x40]
cmp eax, ebx
jne 0x55be8c
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x78
jmp 0x55c7d4
lea edi, [esi + 0x41c]
push eax
push edi
call fcn.0055fb00
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 2
jge 0x55beb6
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x6e
jmp 0x55c7d4
mov al, byte [esi + 0x41d]
cmp al, 0x3a
je 0x55bf09
cmp byte [edi], 0x5c
jne 0x55bec9
cmp al, 0x5c
je 0x55bf09
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x6f
jmp 0x55c7d4
cmp dword [esi + 0x3c], ebx
jne 0x55bf09
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x83
jmp 0x55c7d4
cmp dword [esi + 0x3c], ebx
jne 0x55bedc
mov eax, dword [esp + 0x96]
cmp eax, ebx
je 0x55bedc
cmp dword [eax + 4], ebx
je 0x55bedc
mov dword [esi + 0x44], 1
cmp dword [esp + 0x80], ebx
je 0x55bf1e
mov dword [esi + 0xaf2], 0x4000
jmp 0x55bf28
mov dword [esi + 0xaf2], 0x8000
cmp dword [esp + 0x54], ebx
jne 0x55bf62
cmp dword [esi + 0x3c], ebx
jne 0x55bf62
cmp dword [esi + 0x44], ebx
jne 0x55bf62
mov ecx, dword [esp + 0x40]
lea edi, [esi + 0xb1c]
push ecx
push edi
call fcn.0055fb00
push edi
call fcn.0056d620
add esp, 0xc
test eax, eax
jne 0x55bf62
push 0x60b360
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 0x55c310
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 0x55c032
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.00583b20
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 0x55bfc0
cmp eax, 3
mov dword [esp + 0x14], edi
ja case.0x55c03f.1
jmp dword [eax*4 + 0x55c834]
mov dword [esp + 0x10], 2
jmp 0x55c2ab
mov dword [esp + 0x10], 0x30
jmp 0x55c2ab
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 0x55c2ab
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.0057ca98
add esp, 4
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x55c2ab
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 0x55c154
cmp eax, 3
jne 0x55c154
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.00583b20
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 0x55c0da
cmp eax, 3
mov dword [esp + 0x14], edi
ja case.0x55c15d.1
jmp dword [eax*4 + 0x55c844]
mov dword [esp + 0x10], 2
jmp 0x55c29e
mov dword [esp + 0x10], 5
jmp 0x55c2ab
mov dword [esp + 0x10], 0x30
jmp 0x55c29e
mov dword [esp + 0x10], 5
jmp 0x55c29e
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 0x55c251
mov dword [esi + 0xc84], 1
push 0x638420
call fcn.0055d630
push 0x638420
call fcn.0055b090
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x8ce2]
add esp, 8
cmp eax, ebx
je 0x55c285
push eax
call fcn.0057c9af
add esp, 4
mov dword [esi + 0x8ce2], ebx
mov eax, dword [esi + 0x8f50]
cmp eax, ebx
je 0x55c29e
push eax
call fcn.0057c9af
add esp, 4
mov dword [esi + 0x8f50], ebx
mov eax, dword [esp + 0x1c]
push eax
call fcn.0057c9af
add esp, 4
mov ebp, dword [esp + 0x2fc]
lea ecx, [esp + 0x28]
push ecx
push ebp
call fcn.0055b3e0
mov edi, dword [esp + 0x18]
add esp, 8
cmp edi, ebx
je 0x55c2e1
cmp edi, 0x2c
je 0x55c2e1
mov edx, dword [ebp + 0x28]
push edx
push 0x638420
push edi
call fcn.00558550
add esp, 0xc
jmp 0x55c2eb
push ebp
push edi
call fcn.0055e790
add esp, 8
mov eax, dword [esp + 0xb8]
mov dword [esi + 0x1a0], ebx
push eax
call fcn.0055c8c0
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 0x55c4d6
cmp dword [esp + 0x3c], ebx
jge 0x55c32e
mov ecx, dword [esp + 0x50]
push ecx
push 2
push 0x7a
jmp 0x55c7d4
lea edx, [esp + 0x28]
push edx
call fcn.00558ed0
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x55c371
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0055b3e0
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0055c8c0
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 0x55c3cc
mov edi, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.0055b3e0
mov ecx, dword [edi + 0x28]
add esp, 8
push ecx
push 2
push 0x7b
call fcn.0055fed0
add esp, 8
push eax
push 0x19
call fcn.00558550
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0055c8c0
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 0x55c42f
cmp dword [esp + 0x54], ebx
jne 0x55c42f
cmp dword [esi + 0x3c], ebx
jne 0x55c42f
cmp dword [esi + 0x44], ebx
jne 0x55c42f
lea eax, [esi + 0x318]
lea edx, [esi + 0x41c]
push eax
push edx
call fcn.0055fd20
add esp, 8
cmp eax, 1
jne 0x55c42f
push 0x638420
push ebx
push ebx
push ebx
push 6
call fcn.0055ddc0
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0055c8c0
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 0x55c456
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], 1
mov eax, dword [esp + 0x94]
and eax, 8
push eax
call fcn.0055f860
add esp, 4
lea ecx, [esp + 0x28]
push ecx
call fcn.0055c940
mov edi, eax
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x28], ebx
je 0x55c477
call fcn.0055f990
mov dword [esi + 0x2c], ebx
cmp edi, ebx
je 0x55c4a0
cmp edi, 0x31
je 0x55c4a0
cmp edi, 0x30
je 0x55c4a0
mov edx, dword [esp + 0x50]
push edx
push 2
push 0x7c
call fcn.0055fed0
add esp, 8
push eax
push edi
call fcn.00558550
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.0055b3e0
push ebp
call fcn.0055c8c0
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.00559070
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x55c529
mov ecx, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.0055b3e0
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0055c8c0
mov edx, dword [esp + 0x5c]
push edx
push 0x638420
push edi
call fcn.00558550
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 0x55c583
mov edi, dword [esp + 0x2fc]
lea eax, [esp + 0x28]
push eax
push edi
call fcn.0055b3e0
mov ecx, dword [edi + 0x28]
add esp, 8
push ecx
push 2
push 0x7d
call fcn.0055fed0
add esp, 8
push eax
push 0xb
call fcn.00558550
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0055c8c0
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 0x55c5ba
cmp dword [esp + 0x54], ebx
jne 0x55c5ba
cmp dword [esi + 0x3c], ebx
jne 0x55c5ba
cmp dword [esi + 0x44], ebx
jne 0x55c5ba
lea eax, [esi + 0x318]
lea edx, [esi + 0x41c]
push eax
push edx
call fcn.0055fd20
add esp, 8
cmp eax, 1
je 0x55c3ff
mov dword [esi + 0x19c], 1
mov al, byte [esp + 0x94]
test al, 4
je 0x55c5ec
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], 1
mov eax, dword [esp + 0x94]
and eax, 8
push eax
call fcn.0055f860
add esp, 4
cmp dword [esp + 0x10], ebx
jle 0x55c725
mov dword [esp + 0x1c], 1
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c0]
push edx
mov dword [esp + 0x38], ecx
call fcn.00559ee0
mov edi, eax
add esp, 4
cmp edi, ebx
jne 0x55c6b8
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.0055fed0
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.0055dc30
add esp, 0x1c
cmp eax, 1
je 0x55c6b1
lea edx, [esp + 0x28]
push edx
call fcn.0055c940
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x55c69a
cmp edi, 0x31
je 0x55c69a
cmp edi, 0x30
je 0x55c691
cmp edi, 0x28
jne 0x55c70a
cmp edi, 0x31
jne 0x55c725
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x1c], eax
dec eax
cmp eax, ecx
jge 0x55c725
jmp 0x55c5fe
mov edi, 0x30
jmp 0x55c725
mov eax, dword [esp + 0x50]
push eax
push 2
push 0x6b
call fcn.0055fed0
add esp, 8
push eax
push edi
call fcn.00558550
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.0055b3e0
push ebp
call fcn.0055c8c0
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.0055fed0
add esp, 8
push eax
push edi
call fcn.00558550
add esp, 0xc
mov eax, dword [esi + 0x24]
mov dword [esi + 0x28], ebx
cmp eax, ebx
mov dword [esi + 0x19c], ebx
je 0x55c73d
call fcn.0055f990
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.0055b3e0
add esp, 8
cmp edi, ebx
je 0x55c79c
cmp edi, 0x2c
je 0x55c79c
mov eax, dword [esp + 0x2fc]
mov ecx, dword [eax + 0x28]
push ecx
push 0x638420
push edi
call fcn.00558550
add esp, 0xc
mov dword [esi + 0x1a0], ebx
push ebp
call fcn.0055c8c0
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.0055e790
add esp, 8
mov dword [esi + 0x1a0], ebx
push ebp
call fcn.0055c8c0
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.0055fed0
add esp, 8
push eax
push 0x2f
call fcn.00558550
push ebp
mov dword [esi + 0x1a0], ebx
call fcn.0055c8c0
add esp, 0x10
mov eax, 0x2f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2e8
ret 4