Function at 0x8329f5
Capabilities:
Create thread
Get geographical location

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
push ebx
push esi
mov esi, dword [0x83b408]
push edi
xor ebx, ebx
push 9
xor eax, eax
pop ecx
lea edi, [esp + 0x38]
mov dword [esp + 0x34], ebx
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], ebx
lea edi, [esp + 0x28]
stosd dword es:[edi], eax
lea esi, [esi + 0x83b408]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
stosd dword es:[edi], eax
cmp esi, ebx
je 0x832f9e
push dword [0x83b40c]
mov ecx, esi
xor eax, eax
call fcn.008385d9
pop ecx
cmp eax, dword [0x83b430]
jne 0x832f9e
push 0x83b410
mov eax, esi
call fcn.008362a6
pop ecx
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [0x83b440], eax
cmp ecx, ebx
je 0x832f9e
push ebx
push 0x31
call fcn.00836347
pop ecx
mov esi, eax
pop ecx
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.008394fe
test byte [esi], 1
pop ecx
je 0x832ad4
push 0x20
lea eax, [esp + 0x64]
push eax
push 0x58
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x832aca
mov eax, dword [esp + 0x60]
shr eax, 9
and eax, 1
jmp 0x832acc
xor eax, eax
cmp eax, ebx
jne 0x832ef0
lea esi, [esp + 0x34]
call fcn.00832876
push ebx
push 0x43
call fcn.00836347
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x832b01
mov eax, esi
push eax
push edi
call fcn.0083271b
pop ecx
pop ecx
test eax, eax
jne 0x832b01
call fcn.00832876
push edi
call fcn.008339da
pop ecx
call fcn.00833e39
mov dword [esp + 0x5c], eax
cmp eax, ebx
mov eax, dword [esp + 0x4c]
jne 0x832b1d
mov eax, dword [esp + 0x48]
push dword [esp + 0x38]
push eax
call fcn.00833772
mov esi, eax
pop ecx
pop ecx
mov dword [esp + 0xc], esi
cmp esi, ebx
je 0x832ef0
push esi
call fcn.008328ca
pop ecx
call fcn.00835930
mov dword [esp + 0x28], eax
cmp eax, ebx
je 0x832f01
call fcn.00835930
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x832ef0
mov dword [esp + 0x24], esi
lea esi, [esp + 0x1c]
cmp dword [esp + 0x5c], ebx
je 0x832be6
push 1
call fcn.00834ea5
pop ecx
test eax, eax
je 0x832ef0
push ebx
call fcn.00834f7a
pop ecx
test eax, eax
je 0x832ba3
cmp dword [esp + 0x34], ebx
jne 0x832ba3
call fcn.008349d3
test eax, eax
je 0x832ba3
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [esp + 0x18]
test byte [esi], 8
je 0x832bc0
cmp dword [esp + 0x34], ebx
je 0x832bb8
cmp dword [esp + 0x40], ebx
je 0x832bc0
push 0x2a
call fcn.00834dbe
pop ecx
test byte [esi], 0x10
je 0x832c88
cmp dword [esp + 0x34], ebx
je 0x832bd9
cmp dword [esp + 0x44], ebx
je 0x832c88
push 0x2b
call fcn.00834dbe
pop ecx
jmp 0x832c88
push ebx
call fcn.00834ea5
pop ecx
test eax, eax
jne 0x832c62
push 1
call fcn.00834f7a
pop ecx
test eax, eax
je 0x832ef0
mov esi, dword [esp + 0x18]
test byte [esi], 4
je 0x832c1d
cmp dword [esp + 0x34], ebx
jne 0x832c1d
call fcn.0083242f
test eax, eax
jne 0x832ef0
test byte [esi], 2
je 0x832ef0
cmp dword [esp + 0x34], ebx
jne 0x832ef0
push 0x32
pop esi
call fcn.00834944
test eax, eax
je 0x832ef0
push 1
dec esi
call fcn.00834f7a
pop ecx
test eax, eax
je 0x832ef0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp esi, ebx
jne 0x832c40
jmp 0x832ef0
cmp dword [esp + 0x34], ebx
jne 0x832c98
push 1
call fcn.00834f7a
pop ecx
test eax, eax
je 0x832c88
call fcn.0083489e
test eax, eax
je 0x832c88
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esp + 0x34], ebx
jne 0x832c98
call fcn.00832946
call fcn.00831236
push 0x2c
call fcn.00834dbe
pop ecx
cmp dword [esp + 0x34], ebx
je 0x832ccc
cmp dword [esp + 0x58], ebx
je 0x832ccc
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax]
call fcn.00833c7a
push eax
push 1
call fcn.00831894
mov edi, eax
mov dword [esp + 0x40], edi
jmp 0x832d04
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
push dword [esi]
call fcn.00833c7a
push eax
push ebx
call fcn.00831894
mov edi, eax
add esp, 0x10
lea eax, [esp + 0x34]
push eax
push dword [esi]
mov dword [esp + 0x38], edi
call fcn.00833c7a
push eax
push 1
call fcn.00831894
mov dword [esp + 0x20], eax
add esp, 0x10
cmp edi, ebx
je 0x832ef0
push dword [esp + 0x28]
push dword [esp + 0x10]
push ebx
push ebx
push ebx
push 0x8322ee
call fcn.008324c2
add esp, 0x18
mov dword [esp + 0x80], eax
cmp eax, ebx
je 0x832d3b
xor esi, esi
inc esi
mov dword [esp + 0x14], esi
jmp 0x832d3d
mov esi, ebx
cmp dword [esp + 0x34], ebx
jne 0x832e17
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
push 0x83239a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esp + esi*4 + 0x80], eax
cmp eax, ebx
je 0x832eec
inc esi
mov dword [esp + 0x14], esi
cmp dword [esp + 0x50], ebx
je 0x832da3
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x58]
push dword [esp + 0x1c]
push edi
push 0x831bbf
call fcn.008324c2
add esp, 0x18
mov dword [esp + esi*4 + 0x80], eax
cmp eax, ebx
je 0x832da3
inc esi
mov dword [esp + 0x14], esi
push dword [esp + 0x2c]
push dword [esp + 0x10]
push ebx
push dword [esp + 0x1c]
push edi
push 0x832161
call fcn.008324c2
add esp, 0x18
mov dword [esp + esi*4 + 0x80], eax
cmp eax, ebx
je 0x832dce
inc esi
mov dword [esp + 0x14], esi
push dword [esp + 0x28]
push dword [esp + 0x10]
push ebx
push dword [esp + 0x1c]
push edi
push 0x831a76
call fcn.008324c2
push dword [esp + 0x40]
mov dword [esp + 0x3c], eax
push dword [esp + 0x28]
push ebx
push dword [esp + 0x34]
push edi
push 0x831cc5
call fcn.008324c2
add esp, 0x30
mov dword [esp + esi*4 + 0x80], eax
cmp eax, ebx
je 0x832e39
inc esi
mov dword [esp + 0x14], esi
jmp 0x832e39
push dword [esp + 0x28]
push dword [esp + 0x10]
push dword [esp + 0x58]
push dword [esp + 0x1c]
push edi
push 0x831bbf
call fcn.008324c2
add esp, 0x18
mov dword [esp + 0x20], eax
cmp dword [esp + 0x20], ebx
je 0x832e4b
push 0xffffffffffffffff
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x28]
call fcn.00835962
test eax, eax
jne 0x832e97
cmp dword [esp + 0x34], ebx
je 0x832e64
cmp dword [esp + 0x3c], ebx
je 0x832e69
call section..text
cmp dword [esp + 0x34], ebx
jne 0x832e74
call fcn.00832946
mov eax, dword [esp + 0x18]
test byte [eax], 8
je 0x832e97
cmp dword [esp + 0x34], ebx
je 0x832e89
cmp dword [esp + 0x40], ebx
je 0x832e97
cmp dword [esp + 0x5c], ebx
je 0x832e97
push 0x2a
call fcn.00834dbe
pop ecx
cmp dword [esp + 0x34], ebx
je 0x832ebe
mov eax, dword [esp + 0x28]
lea esi, [eax + 4]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [edi], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x832ed5
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x88]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [esp + 0x20], ebx
je 0x832eec
push dword [esp + 0x20]
jmp 0x832ee6
push dword [esp + esi*4 + 0x7c]
dec esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
jne 0x832ee1
mov edi, dword [esp + 0x28]
cmp edi, ebx
je 0x832efd
call fcn.0083597e
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x2c]
cmp edi, ebx
je 0x832f0e
call fcn.0083597e
cmp esi, ebx
je 0x832f45
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x1c]
cmp eax, 0xffffffff
je 0x832f28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x18]
cmp eax, 0xffffffff
je 0x832f37
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push esi
call fcn.008390a1
pop ecx
lea esi, [esp + 0x34]
call fcn.00832876
push 4
push dword [esp + 0x1c]
call fcn.008339b7
pop ecx
pop ecx
cmp dword [esp + 0x30], ebx
je 0x832f6a
mov edi, dword [esp + 0x30]
call fcn.00831870
cmp dword [esp + 0x10], ebx
je 0x832f79
mov edi, dword [esp + 0x10]
call fcn.00831870
cmp dword [esp + 0x1c], ebx
je 0x832f93
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [0x83b440]
call fcn.00836274
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret