Function at 0x6322b6e0
Capabilities:
Check http status code
Check if file exists
Create directory
Get file attributes
Get thread local storage value
Read file on windows
Set file attributes

Disassembly:
mov eax, 0x52dc
call fcn.63212950
mov al, byte [0x6325cca8]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x3284], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x3285]
rep stosd dword es:[edi], eax
mov ecx, dword [0x6325fbe0]
stosw word es:[edi], ax
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x6322b732
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x52dc
ret
cmp dword [esi + 0x3c], edi
je 0x6322b742
mov dword [esp + 0x22c], 0x1018
mov ebp, dword [esp + 0x52f0]
mov dword [esi + 0x3cf8], edi
mov dword [esi + 0x3cfc], edi
cmp dword [ebp + 0x2c], edi
jne 0x6322b79c
cmp dword [esi + 0x4c], edi
jne 0x6322b79c
cmp dword [esi + 0x54], edi
jne 0x6322b79c
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x3284]
push edx
push eax
call fcn.6322f560
lea ecx, [esp + 0x328c]
push ecx
call fcn.632310e0
add esp, 0xc
test eax, eax
jne 0x6322b79c
lea edx, [esp + 0x3284]
push 0x63257ee0
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esi + 0x1d4]
mov ebx, 0x2f
cmp eax, edi
jne 0x6322b7dd
lea eax, [esp + 0x4a84]
mov dword [ebp + 0xc], edi
mov dword [ebp + 0x8e], eax
mov eax, dword [esi + 0x1d4]
cmp eax, edi
jne 0x6322b7dd
push ebp
call fcn.63229060
add esp, 4
test eax, eax
jne 0x6322c8ba
mov ebp, dword [esp + 0x52f0]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [esp + 0x3284]
lea eax, [esi + 0x2cf0]
push 0x800
push ecx
push eax
call edi
mov byte [esi + 0x34ef], 0
mov eax, dword [ebp + 0x8e]
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
add eax, 0x46
mov cl, byte [eax]
test cl, cl
je 0x6322b826
cmp cl, 0x2f
jne 0x6322b81d
mov byte [eax], 0x5c
push eax
call ebx
mov cl, byte [eax]
test cl, cl
jne 0x6322b815
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6322b864
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x6322b851
add eax, 0x26
push 0x800
push eax
lea edx, [esp + 0xa44]
push edx
call edi
mov byte [esp + 0x123b], 0
jmp 0x6322b89d
add eax, 0x26
push 0x104
push eax
lea eax, [esp + 0x130]
push eax
jmp 0x6322b893
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x6322b87c
mov ecx, dword [ebp + 0x8e]
push 0x800
add ecx, 0x46
push ecx
jmp 0x6322b83d
mov eax, dword [ebp + 0x8e]
push 0x104
add eax, 0x46
lea ecx, [esp + 0x12c]
push eax
push ecx
call edi
mov byte [esp + 0x22b], 0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6322b8fc
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x6322b8df
add eax, 0x26
lea edx, [esp + 0x3a84]
push eax
push edx
call fcn.63227390
mov ecx, dword [ebp + 0xc]
add esp, 8
lea eax, [esp + 0x3a84]
add ecx, 0x26
push 0x80
push eax
push ecx
call edi
mov edx, dword [ebp + 0xc]
mov byte [edx + 0xa5], 0
lea ebx, [esi + 0x2cf0]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp + 0xc]
mov ecx, 0x800
sub ecx, eax
add edx, 0x26
push ecx
jmp 0x6322b961
mov eax, dword [ebp + 0x30]
test eax, eax
je 0x6322b943
mov ecx, dword [ebp + 0x8e]
lea edx, [esp + 0x3a84]
add ecx, 0x46
push ecx
push edx
call fcn.63227390
mov ecx, dword [ebp + 0x8e]
add esp, 8
lea eax, [esp + 0x3a84]
add ecx, 0x46
push 0x800
push eax
push ecx
call edi
mov edx, dword [ebp + 0x8e]
mov byte [edx + 0x845], 0
lea ebx, [esi + 0x2cf0]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edx, dword [ebp + 0x8e]
mov ecx, 0x800
sub ecx, eax
add edx, 0x46
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax + esi + 0x2cf0]
push eax
call edi
mov byte [esi + 0x34ef], 0
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x6322ba0e
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cx, word [esi + 0x4e8e]
xor edx, edx
mov dword [esp + 0xa30], ecx
mov dx, word [esi + 0x4e8c]
test eax, eax
mov dword [esp + 0xa34], edx
je 0x6322b9d0
mov ecx, dword [eax + 0x12a]
mov dword [esp + 0xa38], ecx
mov edx, dword [eax + 2]
mov dword [esp + 0x123c], edx
mov dword [esp + 0x1240], 0
jmp 0x6322b9f4
mov eax, dword [ebp + 0x8e]
mov ecx, dword [eax + 0x18]
mov dword [esp + 0xa38], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x123c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1240], eax
push 0x800
lea ecx, [esp + 0x234]
push ebx
push ecx
call edi
mov byte [esp + 0xa2f], 0
jmp 0x6322ba69
xor edx, edx
xor eax, eax
mov dx, word [esi + 0x4e8e]
mov dword [esp + 0x11c], edx
mov ax, word [esi + 0x4e8c]
mov dword [esp + 0x120], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x6322ba44
mov ecx, dword [eax + 0x12a]
mov dword [esp + 0x124], ecx
jmp 0x6322ba54
mov edx, dword [ebp + 0x8e]
mov eax, dword [edx + 0x18]
mov dword [esp + 0x124], eax
push 0x104
lea ecx, [esp + 0x1c]
push ebx
push ecx
call edi
mov byte [esp + 0x11b], 0
mov eax, dword [ebp + 0x2c]
test eax, eax
jne 0x6322c03b
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x6322c03b
mov eax, dword [esi + 0x54]
test eax, eax
jne 0x6322c03b
mov eax, dword [esi + 0x4568]
test eax, eax
jne 0x6322baa2
mov ecx, dword [esi + 0x456c]
test ecx, ecx
je 0x6322bb68
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x6322bac0
mov edx, dword [esi + 0x4570]
lea eax, [esp + 0x22c]
push edx
push eax
call dword [esi + 0x456c]
jmp 0x6322bace
mov ecx, dword [esi + 0x4570]
lea edx, [esp + 0x18]
push ecx
push edx
call eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x6322bb21
lea eax, [esp + 0x230]
push 0x800
push eax
lea eax, [esi + 0x2cf0]
push eax
call edi
mov ecx, dword [esp + 0x52f0]
mov byte [esi + 0x34ef], 0
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x6322bb0f
mov ecx, dword [esp + 0xa38]
mov dword [eax + 0x12a], ecx
jmp 0x6322bb68
mov edx, dword [ecx + 0x8e]
mov eax, dword [esp + 0xa38]
mov dword [edx + 0x18], eax
jmp 0x6322bb68
lea ecx, [esp + 0x18]
push 0x104
lea eax, [esi + 0x2cf0]
push ecx
push eax
call edi
mov ecx, dword [esp + 0x52f0]
mov byte [esi + 0x2df3], 0
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x6322bb58
mov edx, dword [esp + 0x124]
mov dword [eax + 0x12a], edx
jmp 0x6322bb68
mov eax, dword [ecx + 0x8e]
mov ecx, dword [esp + 0x124]
mov dword [eax + 0x18], ecx
push 0
lea edx, [esp + 0x1248]
push 0
lea eax, [esp + 0x428c]
push edx
push eax
lea eax, [esi + 0x2cf0]
push eax
call fcn.63231120
push 0
lea ecx, [esp + 0x125c]
push 0
lea edx, [esp + 0x42a0]
push ecx
lea eax, [esp + 0x1a64]
push edx
push eax
call fcn.632312d0
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x28
lea ecx, [esp + 0x1a44]
lea edx, [esp + 0x1244]
push ecx
push edx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea eax, [esp + 0x1a44]
push 0x5c
push eax
call fcn.632310a0
test eax, eax
je 0x6322bc01
lea ecx, [esp + 0x1a44]
mov byte [eax], 0
push ecx
call edi
cmp eax, 0xffffffff
je 0x6322bbca
lea edx, [esp + 0x1a44]
lea eax, [esp + 0x2244]
push edx
push eax
jmp 0x6322bc11
lea ecx, [esp + 0x1a44]
lea edx, [esp + 0x2244]
push ecx
push edx
call ebp
lea eax, [esp + 0x2244]
push 0x63257ee0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x1244]
lea edx, [esp + 0x1a44]
push ecx
push edx
call ebp
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [esp + 0x2244]
push eax
call ebx
lea ecx, [esp + 0x1a44]
mov edi, eax
push ecx
call ebx
cmp edi, eax
jge 0x6322bd34
lea edx, [esp + 0x2244]
push edx
call ebx
lea ebp, [esp + eax + 0x2244]
lea eax, [esp + 0x2244]
push eax
call ebx
lea edi, [esp + eax + 0x1a44]
mov al, byte [esp + eax + 0x1a44]
test al, al
je 0x6322bcb4
cmp al, 0x5c
je 0x6322bcb4
mov byte [ebp], al
mov cl, byte [edi]
push ecx
inc ebp
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x6322bca5
mov dl, byte [edi + 1]
mov byte [ebp], dl
inc ebp
push edi
call dword [sym.imp.USER32.dll_CharNextA]
mov edi, eax
mov al, byte [edi]
test al, al
jne 0x6322bc89
lea eax, [esp + 0x2244]
push 0
push eax
mov byte [ebp], 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x6322bd0c
lea ecx, [esp + 0x2244]
push 0x63257ee0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x2244]
push edx
call ebx
mov edi, eax
lea eax, [esp + 0x1a44]
push eax
call ebx
cmp edi, eax
jl 0x6322bc5c
mov ebx, dword [esp + 0x52f0]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x6322bd3b
mov eax, dword [esp + 0x52f0]
pop edi
pop esi
pop ebp
mov dword [eax + 0xc], 0
mov dword [eax + 0x8e], 0
mov eax, 0x1c
pop ebx
add esp, 0x52dc
ret
mov ebx, dword [esp + 0x52f0]
lea edi, [esi + 0x2cf0]
lea ecx, [esi + 0x350]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x6322bd89
mov edx, dword [ebx + 0x28]
push edx
push 2
push 0x7e
call fcn.63230f10
add esp, 8
push eax
push 0x31
call fcn.63225f60
add esp, 0xc
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x8e], eax
pop edi
pop esi
pop ebp
mov eax, 0x31
pop ebx
add esp, 0x52dc
ret
lea eax, [esi + 0x34f0]
push edi
push eax
call ebp
push 0
push 0x80000080
push 3
push 0
push 3
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x6322c03b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 8]
test eax, eax
jne 0x6322c03b
mov eax, dword [esp + 0x52f0]
xor ecx, ecx
cmp dword [eax + 0x28], ecx
jne 0x6322bfaa
push 0x7f00
push ecx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
lea ebp, [esi + 0x2cf0]
mov dword [esp + 0x10], eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x6322bf65
test bl, 0x10
jne 0x6322bf65
mov eax, dword [esi + 0x3c]
test bl, 1
je 0x6322bed9
test eax, eax
push ebp
je 0x6322be39
lea eax, [esp + 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x230]
jmp 0x6322be48
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x80
call fcn.63230f10
add esp, 8
lea edx, [esp + 0x1248]
push eax
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x1244]
xor ecx, ecx
push eax
mov eax, dword [esi + 0x1dc]
cmp eax, 0xc8
push 0
setle cl
dec ecx
push 1
and ecx, 0xc
add ecx, 3
push ecx
push 8
call fcn.6322d510
mov edi, eax
add esp, 0x14
cmp edi, 0x64
je 0x6322bea4
cmp edi, 5
jne 0x6322bec0
and ebx, 0xfffffffe
mov dword [esi + 8], 1
push ebx
push ebp
mov edi, 6
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x6322bf6a
cmp edi, 6
jne 0x6322bf6a
and ebx, 0xfffffffe
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
jmp 0x6322bf6a
test eax, eax
push ebp
je 0x6322bef5
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x230]
jmp 0x6322bf04
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x18]
push eax
push 0
push 0x44
call fcn.63230f10
add esp, 8
lea ecx, [esp + 0x1248]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [esi + 0x1dc]
add esp, 0xc
xor eax, eax
cmp edi, 0xc8
setle al
dec eax
lea edx, [esp + 0x1244]
and eax, 0xc
push edx
push 0
add eax, 3
push 0
push eax
push 8
call fcn.6322d510
mov edi, eax
add esp, 0x14
cmp edi, 0x64
je 0x6322bf5e
cmp edi, 5
jne 0x6322bf6a
mov dword [esi + 8], 1
mov edi, 6
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetCursor]
cmp edi, 2
jne 0x6322bf9c
mov eax, dword [esp + 0x52f0]
xor ecx, ecx
pop edi
pop esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x8e], ecx
pop ebp
mov eax, 0x30
pop ebx
add esp, 0x52dc
ret
cmp edi, 7
jne 0x6322bfc3
mov eax, dword [esp + 0x52f0]
xor ecx, ecx
pop edi
pop esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x8e], ecx
pop ebp
mov eax, 0x31
pop ebx
add esp, 0x52dc
ret
cmp edi, 0x65
jne 0x6322c03b
mov eax, dword [esi + 0x3c]
push ebp
test eax, eax
je 0x6322c006
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x234]
push edx
call edi
push 0
push 0x8e
call fcn.63230f10
push eax
lea eax, [esp + 0x23c]
push eax
call fcn.6322f070
add esp, 0x10
lea ecx, [esp + 0x230]
jmp 0x6322c031
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x1c]
push edx
call edi
push 0
push 0x8e
call fcn.63230f10
push eax
lea eax, [esp + 0x24]
push eax
call fcn.6322f070
add esp, 0x10
lea ecx, [esp + 0x18]
lea eax, [esi + 0x34f0]
push ecx
push eax
call edi
lea eax, [esi + 0x350]
push eax
call fcn.6322c910
xor edi, edi
add esp, 4
cmp eax, edi
je 0x6322c06b
mov ecx, dword [esp + 0x52f0]
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x8e], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x52dc
ret
mov ebp, dword [esp + 0x52f0]
xor ebx, ebx
mov edx, dword [ebp + 0x2c]
mov dword [esi + 0x3d30], edx
call fcn.63226cb0
test eax, eax
jne 0x6322c096
pop edi
pop esi
pop ebp
mov eax, 0x1d
pop ebx
add esp, 0x52dc
ret
cmp dword [esi + 0x1d4], edi
jne 0x6322c11a
push edi
call fcn.6322cac0
add esp, 4
cmp eax, edi
mov dword [esi + 0x3d1c], eax
je 0x6322c0b3
mov ebx, eax
mov eax, dword [esi + 0x4e4a]
mov ecx, dword [ebp + 0x14]
dec eax
cmp ecx, eax
jle 0x6322c0c8
mov ebx, 0x19
jmp 0x6322c10e
cmp ebx, edi
jne 0x6322c10e
cmp dword [esi + 0x4e7c], edi
jne 0x6322c0eb
mov dword [esi + 0x3d08], edi
mov dword [esi + 0x3d0c], edi
call fcn.63227710
mov dword [esi + 0x3d1c], eax
cmp dword [esi + 0x3d1c], edi
jne 0x6322c10e
mov eax, dword [ebp + 0x14]
cdq
mov dword [esi + 0x3d08], eax
mov dword [esi + 0x3d0c], edx
call fcn.63227710
mov dword [esi + 0x3d1c], eax
mov eax, dword [esi + 0x3d1c]
cmp eax, ebx
jle 0x6322c11a
mov ebx, eax
mov al, byte [esi + 0x4e88]
mov dword [esi + 0x4eec], edi
test al, 1
je 0x6322c134
mov dword [esi + 0x4eec], 1
cmp word [esi + 0x4e8a], 0x13
jbe 0x6322c148
mov ebx, 0x2a
jmp 0x6322c8ba
cmp ebx, edi
jne 0x6322c8ba
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [esp + 0x10], 1
cmp dword [esi + 0x4ee4], edi
je 0x6322c32d
mov eax, dword [esi + 0x4ee8]
xor ecx, ecx
mov cx, word [esi + 0x4ea2]
cmp ecx, eax
je 0x6322c32d
call fcn.63226c70
mov eax, dword [esi + 0x4e3a]
cmp eax, 0xffffffff
jne 0x6322c1c3
cmp dword [esi + 0x40], edi
je 0x6322c1ad
xor edx, edx
push esi
mov dx, word [esi + 0x4ea2]
push edi
inc edx
push edx
call fcn.6322f930
add esp, 0xc
jmp 0x6322c1fe
xor eax, eax
push 0x6325cca8
mov ax, word [esi + 0x4ea2]
push edi
inc eax
push eax
push 1
push edi
jmp 0x6322c1f6
cmp dword [esi + 0x40], edi
je 0x6322c1e0
xor ecx, ecx
inc eax
mov cx, word [esi + 0x4ea2]
push esi
inc ecx
push eax
push ecx
call fcn.6322f930
add esp, 0xc
jmp 0x6322c1fe
xor edx, edx
inc eax
mov dx, word [esi + 0x4ea2]
push 0x6325cca8
inc edx
push eax
push edx
push 1
push 1
call fcn.6322d510
add esp, 0x14
cmp eax, 1
jne 0x6322c2f3
cmp dword [esi + 0x40], edi
je 0x6322c210
mov dword [esp + 0x10], edi
call fcn.63226d20
test eax, eax
jne 0x6322c2db
call fcn.63226cb0
test eax, eax
je 0x6322c2db
push 0
push esi
call fcn.6322fb40
add esp, 4
push edx
push eax
mov eax, dword [esi + 0x3d10]
push eax
call fcn.63232590
mov edx, dword [esi + 0x3d10]
add esp, 0x10
lea ecx, [esp + 0x14]
lea edi, [esi + 0x45cc]
push 0
push ecx
push 0x1e
push edi
push edx
call ebp
cmp eax, 1
jne 0x6322c2db
cmp dword [esp + 0x14], 0x1e
jne 0x6322c2db
cmp dword [edi], 0x4034b50
jne 0x6322c2db
mov eax, dword [esp + 0x52f0]
mov edx, dword [esi + 0x4ed0]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x4ed8]
push ecx
push edx
push eax
call fcn.63226dd0
add esp, 0xc
test eax, eax
je 0x6322c2d4
lea edi, [esi + 0x16000]
lea ecx, [esp + 0x1244]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor edx, edx
mov dx, word [esi + 0x45e6]
push edx
call fcn.63226ad0
add esp, 4
lea eax, [esp + 0x1244]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x6322c2fd
jmp 0x6322c2e0
mov ebx, 3
jmp 0x6322c2e0
mov ebx, 0x1d
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6322c3a7
xor edi, edi
jmp 0x6322c15e
mov ebx, 0x30
jmp 0x6322c3a7
xor edx, edx
xor ecx, ecx
mov dx, word [esi + 0x45e8]
mov cx, word [esi + 0x4ea2]
push edx
push esi
mov dword [esi + 0x4ee8], ecx
call fcn.63226b70
mov ebx, eax
add esp, 8
neg ebx
sbb ebx, ebx
and ebx, 0xfffffffd
add ebx, 3
jmp 0x6322c3a7
push esi
call fcn.6322fb40
push 0
push edx
push eax
mov eax, dword [esi + 0x3d10]
push eax
call fcn.63232590
mov edx, dword [esi + 0x3d10]
add esp, 0x14
lea ecx, [esp + 0x14]
lea edi, [esi + 0x45cc]
push 0
push ecx
push 0x1e
push edi
push edx
call ebp
test eax, eax
je 0x6322c36b
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x6322c370
mov ebx, 3
cmp dword [edi], 0x4034b50
jne 0x6322c3a2
test ebx, ebx
jne 0x6322c3a7
xor eax, eax
mov ax, word [esi + 0x45e6]
push eax
call fcn.63226ad0
xor ecx, ecx
mov cx, word [esi + 0x45e8]
push ecx
push esi
call fcn.63226b70
add esp, 0xc
test eax, eax
jne 0x6322c3a7
mov ebx, 3
call fcn.63226c70
xor edi, edi
cmp ebx, edi
jne 0x6322c8ba
lea eax, [esi + 0x350]
push eax
call fcn.63229a30
add esp, 4
cmp eax, edi
mov dword [esi + 0x3d1c], eax
je 0x6322c422
mov eax, dword [esp + 0x52f0]
mov dword [eax + 0xc], edi
mov dword [eax + 0x8e], edi
mov eax, dword [esi + 0x14f90]
cmp eax, edi
je 0x6322c3f8
push eax
call fcn.63210443
add esp, 4
mov dword [esi + 0x14f90], edi
mov eax, dword [esi + 0x15ff4]
cmp eax, edi
je 0x6322c411
push eax
call fcn.63210443
add esp, 4
mov dword [esi + 0x15ff4], edi
mov eax, dword [esi + 0x3d1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x52dc
ret
cmp dword [esi + 0x3d30], edi
jne 0x6322c572
cmp dword [esi + 0x4c], edi
je 0x6322c469
lea edi, [esi + 0x2cf0]
push edi
push 0
push 0x84
call fcn.63230f10
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [esi + 0x3d4c]
push eax
push edx
call ebp
add esp, 0xc
push edi
push 2
push 0x93
jmp 0x6322c4f1
cmp dword [esi + 0x54], edi
je 0x6322c49f
push 0
push 0x95
call fcn.63230f10
add esp, 8
lea ecx, [esp + 0x2a44]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x2a44]
push eax
jmp 0x6322c630
mov eax, dword [esi + 0x3c]
cmp eax, edi
lea eax, [esi + 0x2cf0]
push eax
je 0x6322c514
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [esp + 0x230]
push eax
push 0
push 0x48
call fcn.63230f10
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea ecx, [esi + 0x3d4c]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x230]
push edx
push 2
push 0x91
call fcn.63230f10
add esp, 8
push eax
lea eax, [esp + 0x2a4c]
push eax
call ebp
add esp, 0xc
lea eax, [esp + 0x2a44]
push eax
jmp 0x6322c630
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x18]
push edx
push 0
push 0x48
call fcn.63230f10
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push eax
lea eax, [esi + 0x3d4c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 2
push 0x91
call fcn.63230f10
add esp, 8
lea edx, [esp + 0x2a48]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x2a44]
push eax
jmp 0x6322c630
mov eax, dword [esi + 0x3c]
cmp eax, edi
lea eax, [esi + 0x2cf0]
push eax
je 0x6322c5d7
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x230]
push edx
push 0
push 0x49
call fcn.63230f10
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push eax
lea eax, [esi + 0x3d4c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x230]
push ecx
push 2
push 0x92
call fcn.63230f10
add esp, 8
lea edx, [esp + 0x2a48]
push eax
push edx
jmp 0x6322c623
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0x49
call fcn.63230f10
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [esi + 0x3d4c]
push eax
push edx
call ebp
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 2
push 0x92
call fcn.63230f10
add esp, 8
lea ecx, [esp + 0x2a48]
push eax
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x2a44]
push edx
call fcn.6322ecf0
mov ecx, dword [esp + 0x52f4]
add esp, 4
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x6322c657
mov eax, dword [eax + 0x12a]
and eax, 0x27
mov dword [esi + 0x3cf0], eax
jmp 0x6322c669
mov ecx, dword [ecx + 0x8e]
mov edx, dword [ecx + 0x18]
and edx, 0x27
mov dword [esi + 0x3cf0], edx
mov eax, dword [esi + 0x4568]
test eax, eax
jne 0x6322c67d
mov eax, dword [esi + 0x456c]
test eax, eax
je 0x6322c6c2
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x6322c6a4
mov ax, word [esp + 0xa30]
mov word [esi + 0x45d8], ax
mov cx, word [esp + 0xa34]
mov word [esi + 0x45d6], cx
jmp 0x6322c6c2
mov dx, word [esp + 0x11c]
mov word [esi + 0x45d8], dx
mov ax, word [esp + 0x120]
mov word [esi + 0x45d6], ax
lea edi, [esi + 0x2cf0]
push edi
call fcn.632310e0
add esp, 4
test eax, eax
jne 0x6322c88d
mov eax, dword [esp + 0x52f4]
mov ebx, dword [esp + 0x52f0]
test eax, eax
je 0x6322c775
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x6322c6fd
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x6322c775
push 0
push 0x80
push 3
push 0
lea edi, [esi + 0x34f0]
push 3
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x6322c74a
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x6322c775
mov eax, dword [esp + 0x52f0]
xor ecx, ecx
mov ebx, 0xb
mov dword [eax + 0xc], ecx
mov dword [eax + 0x8e], ecx
mov dword [esi + 0x3d1c], ebx
jmp 0x6322c8ba
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.6322dbc0
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 0x45d8]
mov dx, word [esi + 0x45d6]
shl ecx, 0x10
or ecx, edx
add esp, 4
cmp eax, ecx
jae 0x6322c728
lea eax, [esi + 0x34f0]
push eax
call fcn.63229790
add esp, 4
mov dword [esi + 0x3d1c], eax
test eax, eax
je 0x6322c873
mov ecx, dword [esi + 0x4eec]
test ecx, ecx
je 0x6322c86f
cmp eax, 0x2c
jne 0x6322c86f
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x6322c856
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ebx, eax
mov eax, dword [esi + 0x3c]
test eax, eax
lea eax, [esi + 0x2cf0]
push eax
je 0x6322c7ef
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x230]
jmp 0x6322c7fe
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x18]
push edx
push 0
push 0x46
call fcn.63230f10
add esp, 8
push eax
lea eax, [esp + 0x124c]
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x1244]
xor ebp, ebp
push ecx
push ebp
push ebp
push 1
push 9
call fcn.6322d510
add esp, 0x14
mov edi, eax
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [esp + 0x52f0]
cmp edi, 2
mov dword [eax + 0xc], ebp
mov dword [eax + 0x8e], ebp
jne 0x6322c868
mov ebx, 0x2c
jmp 0x6322c8ba
mov eax, dword [esp + 0x52f0]
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x8e], ecx
mov ebx, 0x31
jmp 0x6322c8ba
mov ebx, eax
jmp 0x6322c8ba
mov eax, dword [esp + 0x52f0]
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x8e], ecx
mov ebx, dword [esi + 0x3d1c]
jmp 0x6322c8ba
mov ebp, dword [esi + 0x3cf0]
push edi
or ebp, 0x10
mov dword [esi + 0x3cf0], ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
call ebp
cmp eax, 1
jle 0x6322c8ba
push edi
call ebp
mov byte [eax + esi + 0x2cef], 0
call fcn.632323e0
call fcn.63229aa0
mov eax, dword [esp + 0x52f0]
xor edi, edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x8e], edi
mov eax, dword [esi + 0x14f90]
cmp eax, edi
je 0x6322c8ea
push eax
call fcn.63210443
add esp, 4
mov dword [esi + 0x14f90], edi
mov eax, dword [esi + 0x15ff4]
cmp eax, edi
je 0x6322c903
push eax
call fcn.63210443
add esp, 4
mov dword [esi + 0x15ff4], edi
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x52dc
ret