Function at 0x10003a50
Capabilities:
Get common file path
Get program files directory
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x1002f171
mov eax, dword fs:[0]
push eax
sub esp, 0x55c
mov eax, dword [0x1003a1c0]
xor eax, esp
mov dword [esp + 0x558], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1003a1c0]
xor eax, esp
push eax
lea eax, [esp + 0x570]
mov dword fs:[0], eax
lea eax, [esp + 0x198]
mov edi, ecx
push eax
mov dword [esp + 0x28], edi
mov esi, edx
call fcn.100174d0
xor ebx, ebx
mov dword [esp + 0x578], ebx
mov eax, esi
mov dword [esp + 0x15c], 0xf
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10003ac7
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x14c]
call fcn.10007110
mov byte [esp + 0x578], 1
mov eax, dword [esp + 0x148]
mov ebp, 0x10
cmp dword [esp + 0x15c], ebp
jae 0x10003b04
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x19c]
push ecx
call fcn.10017bc0
test al, al
jne 0x10003b66
cmp dword [esp + 0x15c], ebp
jb 0x10003b2f
mov edx, dword [esp + 0x148]
push edx
call fcn.1001dad4
add esp, 4
mov dword [esp + 0x15c], 0xf
lea ecx, [esp + 0x198]
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
mov dword [esp + 0x578], 0xffffffff
call fcn.10017690
xor al, al
jmp 0x10005535
mov eax, esi
lea edx, [eax + 1]
jmp 0x10003b70
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10003b70
sub eax, edx
push eax
push esi
lea ecx, [edi + 0x214]
call fcn.10007110
cmp dword [0x1003b4e0], ebx
mov esi, 0xf
jne 0x10003c61
push 8
push str.username
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.10007110
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x19c]
mov byte [esp + 0x57c], 2
call fcn.10016930
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x1003b4cc
mov byte [esp + 0x584], 3
call fcn.10006680
cmp dword [esp + 0xb4], ebp
jb 0x10003c04
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 1
cmp dword [esp + 0x40], ebp
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
jb 0x10003c34
mov edx, dword [esp + 0x2c]
push edx
call fcn.1001dad4
add esp, 4
cmp dword [0x1003b4e0], ebx
jne 0x10003c61
cmp dword [esp + 0x15c], ebp
jb 0x10003c55
mov eax, dword [esp + 0x148]
push eax
call fcn.1001dad4
add esp, 4
mov dword [esp + 0x15c], esi
jmp 0x10003b3a
push 3
push 0x10032ddc
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.10007110
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x19c]
mov byte [esp + 0x57c], 4
call fcn.10016930
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0xe0]
mov byte [esp + 0x584], 5
call fcn.10006680
cmp dword [esp + 0xb4], ebp
jb 0x10003ccd
mov edx, dword [esp + 0xa0]
push edx
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 1
cmp dword [esp + 0x40], ebp
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
jb 0x10003cfd
mov eax, dword [esp + 0x2c]
push eax
call fcn.1001dad4
add esp, 4
push 6
push str.server
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.10007110
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x19c]
mov byte [esp + 0x57c], 6
call fcn.10016930
push 0xffffffffffffffff
push ebx
lea esi, [edi + 0x54]
push eax
mov ecx, esi
mov byte [esp + 0x584], 7
call fcn.10006680
cmp dword [esp + 0xb4], ebp
jb 0x10003d6c
mov edx, dword [esp + 0xa0]
push edx
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 1
cmp dword [esp + 0x40], ebp
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
jb 0x10003da0
mov eax, dword [esp + 0x2c]
push eax
call fcn.1001dad4
add esp, 4
cmp dword [edi + 0x68], ebx
je 0x10003dd2
push 0xffffffffffffffff
push ebx
lea ecx, [edi + 0x1c]
push esi
mov dword [esp + 0x2c], ecx
call fcn.10006680
push 0xffffffffffffffff
push ebx
add edi, 0x38
push edi
mov ecx, esi
call fcn.10006680
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
push ecx
mov ecx, edi
call fcn.10006680
mov eax, 0xf
mov dword [esp + 0xec], eax
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
mov dword [esp + 0x108], eax
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
mov dword [esp + 0x124], eax
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
mov dword [esp + 0x140], eax
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
mov dword [esp + 0x194], eax
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], bl
mov dword [esp + 0x178], eax
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
lea edx, [esp + 0x2d4]
push edx
push 0x202
mov byte [esp + 0x580], 0xd
call sub.WS2_32.dll_WSAStartup
lea edi, [esp + 0x17c]
lea esi, [esp + 0x160]
call fcn.100103b0
push 0x103
lea eax, [esp + 0x469]
push ebx
push eax
mov byte [esp + 0x470], bl
call fcn.10020580
add esp, 0xc
lea ecx, [esp + 0x64]
push ecx
push 0xf01ff
mov dword [esp + 0x80], 0x104
mov dword [esp + 0x6c], ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov ecx, dword [esp + 0x64]
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x468]
push eax
push ecx
call dword [sym.imp.USERENV.dll_GetUserProfileDirectoryA]
lea eax, [esp + 0x464]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10003ee7
sub eax, edx
push eax
lea edx, [esp + 0x468]
push edx
lea ecx, [esp + 0x114]
call fcn.10007110
lea eax, [esp + 0x464]
push eax
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea eax, [esp + 0x464]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10003f24
sub eax, edx
push eax
lea ecx, [esp + 0x468]
push ecx
lea ecx, [esp + 0x130]
call fcn.10007110
push 0x104
lea edx, [esp + 0x468]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
lea eax, [esp + 0x464]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10003f61
sub eax, edx
push eax
lea eax, [esp + 0x468]
push eax
lea ecx, [esp + 0xf8]
call fcn.10007110
lea ecx, [esp + 0x9c]
call fcn.10013180
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x584], 0xe
call fcn.10006680
mov byte [esp + 0x578], 0xd
cmp dword [esp + 0xb4], ebp
jb 0x10003fc6
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
mov eax, dword [esp + 0xe8]
cmp eax, ebx
jbe 0x10004057
lea esi, [eax - 1]
cmp esi, eax
jbe 0x10003fe8
call fcn.1001dd60
mov eax, dword [esp + 0xe8]
cmp dword [esp + 0xec], ebp
mov ecx, dword [esp + 0xd8]
jae 0x10003fff
lea ecx, [esp + 0xd8]
cmp byte [esi + ecx], 0x5c
jne 0x10004057
add eax, 0xffffffff
push eax
xor ecx, ecx
lea esi, [esp + 0xa0]
lea edx, [esp + 0xd8]
call fcn.100062d0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x584], 0xf
call fcn.10006680
mov byte [esp + 0x578], 0xd
cmp dword [esp + 0xb4], ebp
jb 0x10004057
mov edx, dword [esp + 0xa0]
push edx
call fcn.1001dad4
add esp, 4
push str._config_wildstr
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x1a0]
call fcn.100016b0
mov eax, dword [eax]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x54], vtable.CXmlNode.0
mov dword [esp + 0x58], edi
je 0x10004092
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov edi, eax
push eax
mov dword [esp + 0x5c], edi
call edx
mov byte [esp + 0x578], 0x10
mov eax, dword [esp + 0x7c]
cmp eax, ebx
je 0x100040aa
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
je 0x10004329
lea eax, [esp + 0x20]
lea ecx, [esp + 0x54]
call fcn.10001680
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x44], vtable.CXmlNodeList.0
mov dword [esp + 0x48], ebx
je 0x100040dd
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [esp + 0x4c], eax
call edx
mov byte [esp + 0x578], 0x11
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x100040f5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x44]
call fcn.100183b0
cmp eax, ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x1c], ebx
jle 0x1000430d
mov edi, 0xf
mov eax, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x54]
lea ecx, [esp + 0x48]
call fcn.10018400
mov eax, dword [eax]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x14], vtable.CXmlNode.0
mov dword [esp + 0x18], esi
je 0x10004147
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov esi, eax
push eax
mov dword [esp + 0x1c], esi
call edx
mov byte [esp + 0x578], 0x12
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x1000415f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jne 0x10004178
mov byte [esp + 0x578], 0x11
mov dword [esp + 0x14], vtable.CXmlNode.0
jmp 0x100042f8
push 4
push 0x10032df8
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
call fcn.10007110
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x84]
lea edx, [esp + 0x18]
mov byte [esp + 0x57c], 0x13
call fcn.10016930
mov byte [esp + 0x578], 0x15
cmp dword [esp + 0x98], ebp
jb 0x100041e1
mov ecx, dword [esp + 0x84]
push ecx
call fcn.1001dad4
add esp, 4
push 5
push str.value
lea ecx, [esp + 0x30]
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.10007110
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x18]
mov byte [esp + 0x57c], 0x16
call fcn.10016930
mov byte [esp + 0x578], 0x18
cmp dword [esp + 0x40], ebp
jb 0x1000424a
mov eax, dword [esp + 0x2c]
push eax
call fcn.1001dad4
add esp, 4
lea ecx, [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x28]
add ecx, 0x10
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.100064a0
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xc0]
push edx
mov ecx, eax
call fcn.10006680
cmp dword [esp + 0xd0], ebp
jb 0x10004295
mov eax, dword [esp + 0xbc]
push eax
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x100042c3
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 0x11
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0x14], vtable.CXmlNode.0
je 0x100042f8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
jl 0x10004113
mov byte [esp + 0x578], 0x10
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x10004325
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x58]
push str._config_files
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1a0]
call fcn.100016b0
mov eax, dword [eax]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x5c], vtable.CXmlNode.0
mov dword [esp + 0x60], esi
je 0x10004361
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov esi, eax
push eax
mov dword [esp + 0x64], esi
call edx
mov byte [esp + 0x578], 0x19
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x10004379
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
je 0x100053a2
lea eax, [esp + 0x50]
lea ecx, [esp + 0x5c]
call fcn.10001680
mov eax, dword [eax]
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x68], vtable.CXmlNodeList.0
mov dword [esp + 0x6c], esi
je 0x100043b0
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov esi, eax
push eax
mov dword [esp + 0x70], esi
call edx
mov byte [esp + 0x578], 0x1a
mov eax, dword [esp + 0x50]
cmp eax, ebx
je 0x100043c8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jne 0x100043d6
push 0x80004003
call fcn.1001d630
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push esi
mov dword [esp + 0x24], ebx
call edx
cmp eax, ebx
jge 0x100043f7
push 0x100355e0
push esi
push eax
call fcn.1001d640
xor eax, eax
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jle 0x1000538a
push eax
lea eax, [esp + 0x48]
lea ecx, [esp + 0x6c]
mov esi, 0xf
call fcn.10018400
mov eax, dword [eax]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x14], vtable.CXmlNode.0
mov dword [esp + 0x18], edi
je 0x1000443c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov edi, eax
push eax
mov dword [esp + 0x1c], edi
call edx
mov byte [esp + 0x578], 0x1b
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x10004454
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
jne 0x1000446d
mov byte [esp + 0x578], 0x1a
mov dword [esp + 0x14], vtable.CXmlNode.0
jmp 0x10005368
lea eax, [esp + 0x1c4]
call fcn.10001930
mov byte [esp + 0x578], 0x1c
push 3
push 0x10032e18
lea ecx, [esp + 0xa4]
mov dword [esp + 0x2bc], ebx
mov dword [esp + 0x2c4], ebx
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x2d0], ebx
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
push 0xffffffffffffffff
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x584], 0x1d
call fcn.10016d70
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0x2cc], eax
jb 0x10004509
mov edx, dword [esp + 0xa0]
push edx
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0x2cc], 0xffffffff
jne 0x1000451e
mov dword [esp + 0x2cc], 2
push 0xa
push str.thirdcount
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
push ebx
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x584], 0x1e
call fcn.10016d70
test eax, eax
setne dl
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov byte [esp + 0x2d0], dl
jb 0x1000458e
mov eax, dword [esp + 0xa0]
push eax
call fcn.1001dad4
add esp, 4
push 4
push 0x10032df8
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x18]
mov byte [esp + 0x57c], 0x1f
call fcn.10016930
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x584], 0x20
call fcn.10006680
cmp dword [esp + 0xd0], ebp
jb 0x10004607
mov edx, dword [esp + 0xbc]
push edx
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x1000463d
mov eax, dword [esp + 0xa0]
push eax
call fcn.1001dad4
add esp, 4
push 7
push str.oriname
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x18]
mov byte [esp + 0x57c], 0x21
call fcn.10016930
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x584], 0x22
call fcn.10006680
cmp dword [esp + 0xd0], ebp
jb 0x100046b6
mov edx, dword [esp + 0xbc]
push edx
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x100046ec
mov eax, dword [esp + 0xa0]
push eax
call fcn.1001dad4
add esp, 4
push 6
push str.action
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
push ebx
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x584], 0x23
call fcn.10016d70
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0x250], eax
jb 0x10004757
mov eax, dword [esp + 0xa0]
push eax
call fcn.1001dad4
add esp, 4
push 5
push str.param
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x18]
mov byte [esp + 0x57c], 0x24
call fcn.10016930
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x260]
mov byte [esp + 0x584], 0x25
call fcn.10006680
cmp dword [esp + 0xd0], ebp
jb 0x100047d0
mov edx, dword [esp + 0xbc]
push edx
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x10004806
mov eax, dword [esp + 0xa0]
push eax
call fcn.1001dad4
add esp, 4
push 2
push 0x10032e40
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
push ebx
lea ecx, [esp + 0xa0]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x584], 0x26
call fcn.10016d70
test eax, eax
setne al
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov byte [esp + 0x270], al
jb 0x10004876
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
push 3
push 0x10032ddc
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x18]
mov byte [esp + 0x57c], 0x27
call fcn.10016930
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x224]
mov byte [esp + 0x584], 0x28
call fcn.10006680
cmp dword [esp + 0xd0], ebp
jb 0x100048ef
mov eax, dword [esp + 0xbc]
push eax
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x10004925
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
push 3
push 0x10032e44
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x18]
mov byte [esp + 0x57c], 0x29
call fcn.10016930
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x208]
mov byte [esp + 0x584], 0x2a
call fcn.10006680
cmp dword [esp + 0xd0], ebp
jb 0x1000499e
mov eax, dword [esp + 0xbc]
push eax
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x100049d4
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
push 6
push str.update
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x18]
mov byte [esp + 0x57c], 0x2b
call fcn.10016930
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x240]
mov byte [esp + 0x584], 0x2c
call fcn.10006680
cmp dword [esp + 0xd0], ebp
jb 0x10004a4d
mov eax, dword [esp + 0xbc]
push eax
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x10004a83
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
push 2
push 0x10032e50
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
push ebx
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x584], 0x2d
call fcn.10016d70
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0x274], eax
jb 0x10004aee
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
push 6
push str.optype
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
push ebx
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x584], 0x2e
call fcn.10016d70
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0x278], eax
jb 0x10004b59
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
push 5
push str.opcmd
lea ecx, [esp + 0xa4]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.10007110
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x18]
mov byte [esp + 0x57c], 0x2f
call fcn.10016930
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x288]
mov byte [esp + 0x584], 0x30
call fcn.10006680
cmp dword [esp + 0xd0], ebp
jb 0x10004bd2
mov eax, dword [esp + 0xbc]
push eax
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
jb 0x10004c08
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
push str.opparam
lea ecx, [esp + 0xbc]
call fcn.10006120
lea edx, [esp + 0x9c]
push edx
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x18]
mov byte [esp + 0x57c], 0x31
call fcn.10016930
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x2a4]
mov byte [esp + 0x584], 0x32
call fcn.10006680
cmp dword [esp + 0xb4], ebp
jb 0x10004c6a
mov eax, dword [esp + 0xa0]
push eax
call fcn.1001dad4
add esp, 4
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xd0], ebp
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
jb 0x10004ca0
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.1001dad4
add esp, 4
push str.type
lea ecx, [esp + 0xa0]
call fcn.10006120
push ebx
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x584], 0x33
call fcn.10016d70
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0x2c0], eax
jb 0x10004cf4
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
push str.delay
lea ecx, [esp + 0xa0]
call fcn.10006120
push ebx
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x584], 0x34
call fcn.10016d70
mov byte [esp + 0x578], 0x1c
cmp dword [esp + 0xb4], ebp
mov dword [esp + 0x2c4], eax
jb 0x10004d48
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0xec], ebp
mov eax, dword [esp + 0xd8]
jae 0x10004d5f
lea eax, [esp + 0xd8]
push eax
lea edx, [esp + 0x258]
push str.__appdir_
push edx
call fcn.10012e30
mov eax, dword [esp + 0x100]
add esp, 0xc
cmp dword [esp + 0x108], ebp
jae 0x10004d8c
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x258]
push str.__sysdir_
push eax
call fcn.10012e30
mov eax, dword [esp + 0x11c]
add esp, 0xc
cmp dword [esp + 0x124], ebp
jae 0x10004db9
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x258]
push str.__userdir_
push ecx
call fcn.10012e30
mov eax, dword [esp + 0x138]
add esp, 0xc
cmp dword [esp + 0x140], ebp
jae 0x10004de6
lea eax, [esp + 0x12c]
push eax
lea edx, [esp + 0x258]
push str.__prgdir_
push edx
call fcn.10012e30
mov eax, dword [0x1003b4d0]
add esp, 0xc
cmp dword [0x1003b4e4], ebp
jae 0x10004e0e
mov eax, 0x1003b4d0
push eax
lea eax, [esp + 0x258]
push str.__username_
push eax
call fcn.10012e30
mov eax, dword [esp + 0xe4]
add esp, 0xc
cmp dword [esp + 0xec], ebp
jae 0x10004e3b
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x280]
push str.__appdir_
push ecx
call fcn.10012e30
mov eax, dword [esp + 0x100]
add esp, 0xc
cmp dword [esp + 0x108], ebp
jae 0x10004e68
lea eax, [esp + 0xf4]
push eax
lea edx, [esp + 0x280]
push str.__sysdir_
push edx
call fcn.10012e30
mov eax, dword [esp + 0x11c]
add esp, 0xc
cmp dword [esp + 0x124], ebp
jae 0x10004e95
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x280]
push str.__userdir_
push eax
call fcn.10012e30
mov eax, dword [esp + 0x138]
add esp, 0xc
cmp dword [esp + 0x140], ebp
jae 0x10004ec2
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x280]
push str.__prgdir_
push ecx
call fcn.10012e30
mov eax, dword [0x1003b4d0]
add esp, 0xc
cmp dword [0x1003b4e4], ebp
jae 0x10004eea
mov eax, 0x1003b4d0
push eax
lea edx, [esp + 0x280]
push str.__username_
push edx
call fcn.10012e30
mov eax, dword [esp + 0xe4]
add esp, 0xc
cmp dword [esp + 0xec], ebp
jae 0x10004f17
lea eax, [esp + 0xd8]
push eax
lea eax, [esp + 0x29c]
push str.__appdir_
push eax
call fcn.10012e30
mov eax, dword [esp + 0x100]
add esp, 0xc
cmp dword [esp + 0x108], ebp
jae 0x10004f44
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x29c]
push str.__sysdir_
push ecx
call fcn.10012e30
mov eax, dword [esp + 0x11c]
add esp, 0xc
cmp dword [esp + 0x124], ebp
jae 0x10004f71
lea eax, [esp + 0x110]
push eax
lea edx, [esp + 0x29c]
push str.__userdir_
push edx
call fcn.10012e30
mov eax, dword [esp + 0x138]
add esp, 0xc
cmp dword [esp + 0x140], ebp
jae 0x10004f9e
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x29c]
push str.__prgdir_
push eax
call fcn.10012e30
mov eax, dword [0x1003b4d0]
add esp, 0xc
cmp dword [0x1003b4e4], ebp
jae 0x10004fc6
mov eax, 0x1003b4d0
push eax
lea ecx, [esp + 0x29c]
push str.__username_
push ecx
call fcn.10012e30
mov eax, dword [esp + 0xe4]
add esp, 0xc
cmp dword [esp + 0xec], ebp
jae 0x10004ff3
lea eax, [esp + 0xd8]
push eax
lea edx, [esp + 0x1c8]
push str.__appdir_
push edx
call fcn.10012e30
mov eax, dword [esp + 0x100]
add esp, 0xc
cmp dword [esp + 0x108], ebp
jae 0x10005020
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x1c8]
push str.__sysdir_
push eax
call fcn.10012e30
mov eax, dword [esp + 0x11c]
add esp, 0xc
cmp dword [esp + 0x124], ebp
jae 0x1000504d
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x1c8]
push str.__userdir_
push ecx
call fcn.10012e30
mov eax, dword [esp + 0x138]
add esp, 0xc
cmp dword [esp + 0x140], ebp
jae 0x1000507a
lea eax, [esp + 0x12c]
push eax
lea edx, [esp + 0x1c8]
push str.__prgdir_
push edx
call fcn.10012e30
mov eax, dword [0x1003b4d0]
add esp, 0xc
cmp dword [0x1003b4e4], ebp
jae 0x100050a2
mov eax, 0x1003b4d0
push eax
lea eax, [esp + 0x1c8]
push str.__username_
push eax
call fcn.10012e30
mov eax, dword [esp + 0xe4]
add esp, 0xc
cmp dword [esp + 0xec], ebp
jae 0x100050cf
lea eax, [esp + 0xd8]
push eax
lea ecx, [esp + 0x1e4]
push str.__appdir_
push ecx
call fcn.10012e30
mov eax, dword [esp + 0x100]
add esp, 0xc
cmp dword [esp + 0x108], ebp
jae 0x100050fc
lea eax, [esp + 0xf4]
push eax
lea edx, [esp + 0x1e4]
push str.__sysdir_
push edx
call fcn.10012e30
mov eax, dword [esp + 0x11c]
add esp, 0xc
cmp dword [esp + 0x124], ebp
jae 0x10005129
lea eax, [esp + 0x110]
push eax
lea eax, [esp + 0x1e4]
push str.__userdir_
push eax
call fcn.10012e30
mov eax, dword [esp + 0x138]
add esp, 0xc
cmp dword [esp + 0x140], ebp
jae 0x10005156
lea eax, [esp + 0x12c]
push eax
lea ecx, [esp + 0x1e4]
push str.__prgdir_
push ecx
call fcn.10012e30
mov eax, dword [0x1003b4d0]
add esp, 0xc
cmp dword [0x1003b4e4], ebp
jae 0x1000517e
mov eax, 0x1003b4d0
push eax
lea edx, [esp + 0x1e4]
push str.__username_
push edx
call fcn.10012e30
add esp, 0xc
cmp dword [esp + 0x1f4], ebx
jne 0x100051b4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x1ec]
call fcn.10006680
mov edi, dword [esp + 0x24]
mov eax, dword [edi + 0x14]
mov esi, dword [eax]
add edi, 0x10
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edi
jmp 0x100051d0
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 0x14]
add eax, 0x10
cmp edi, ebx
je 0x100051e2
cmp edi, eax
je 0x100051e7
call fcn.1001dd60
cmp esi, ebp
je 0x10005249
cmp edi, ebx
jne 0x100051f4
call fcn.1001dd60
cmp esi, dword [edi + 4]
jne 0x100051fe
call fcn.1001dd60
cmp dword [esi + 0x40], 0x10
jb 0x10005209
mov ebp, dword [esi + 0x2c]
jmp 0x1000520c
lea ebp, [esi + 0x2c]
cmp esi, dword [edi + 4]
jne 0x10005216
call fcn.1001dd60
cmp dword [esi + 0x24], 0x10
jb 0x10005221
mov esi, dword [esi + 0x10]
jmp 0x10005224
add esi, 0x10
push ebp
lea ecx, [esp + 0x238]
push esi
push ecx
call fcn.10012e30
add esp, 0xc
lea esi, [esp + 0x70]
call fcn.10008a30
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
jmp 0x100051d0
cmp dword [esp + 0xec], 0x10
mov eax, dword [esp + 0xd8]
jae 0x10005261
lea eax, [esp + 0xd8]
push eax
lea edx, [esp + 0x238]
push str.__appdir_
push edx
call fcn.10012e30
mov eax, dword [esp + 0x100]
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x108], esi
jae 0x10005293
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x238]
push str.__sysdir_
push eax
call fcn.10012e30
mov eax, dword [esp + 0x11c]
add esp, 0xc
cmp dword [esp + 0x124], esi
jae 0x100052c0
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x238]
push str.__userdir_
push ecx
call fcn.10012e30
mov eax, dword [esp + 0x138]
add esp, 0xc
cmp dword [esp + 0x140], esi
jae 0x100052ed
lea eax, [esp + 0x12c]
push eax
lea edx, [esp + 0x238]
push str.__prgdir_
push edx
call fcn.10012e30
mov eax, dword [0x1003b4d0]
add esp, 0xc
cmp dword [0x1003b4e4], esi
jae 0x10005315
mov eax, 0x1003b4d0
push eax
lea eax, [esp + 0x238]
push str.__username_
push eax
call fcn.10012e30
mov esi, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x1c4]
push ecx
call fcn.100063f0
lea esi, [esp + 0x1c4]
call fcn.100019b0
mov byte [esp + 0x578], 0x1a
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], vtable.CXmlNode.0
je 0x10005368
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x20]
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov ebp, 0x10
jl 0x10004407
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x58]
cmp esi, ebx
mov byte [esp + 0x578], 0x19
je 0x1000539e
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
mov esi, dword [esp + 0x60]
cmp esi, ebx
mov eax, dword [esp + 0x24]
mov byte [eax + 0xfc], 1
mov byte [esp + 0x578], 0x10
je 0x100053c1
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
cmp edi, ebx
mov byte [esp + 0x578], 0xd
je 0x100053d5
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp dword [esp + 0x178], ebp
jb 0x100053ee
mov edx, dword [esp + 0x164]
push edx
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0x194], ebp
mov esi, 0xf
mov dword [esp + 0x178], esi
mov dword [esp + 0x174], ebx
mov byte [esp + 0x164], bl
jb 0x10005421
mov eax, dword [esp + 0x180]
push eax
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0x140], ebp
mov dword [esp + 0x194], esi
mov dword [esp + 0x190], ebx
mov byte [esp + 0x180], bl
jb 0x1000544f
mov ecx, dword [esp + 0x12c]
push ecx
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0x124], ebp
mov dword [esp + 0x140], esi
mov dword [esp + 0x13c], ebx
mov byte [esp + 0x12c], bl
jb 0x1000547d
mov edx, dword [esp + 0x110]
push edx
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0x108], ebp
mov dword [esp + 0x124], esi
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
jb 0x100054ab
mov eax, dword [esp + 0xf4]
push eax
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0xec], ebp
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], ebx
mov byte [esp + 0xf4], bl
jb 0x100054d9
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0x15c], ebp
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
jb 0x10005507
mov edx, dword [esp + 0x148]
push edx
call fcn.1001dad4
add esp, 4
lea ecx, [esp + 0x198]
mov dword [esp + 0x15c], esi
mov dword [esp + 0x158], ebx
mov byte [esp + 0x148], bl
mov dword [esp + 0x578], 0xffffffff
call fcn.10017690
mov al, 1
mov ecx, dword [esp + 0x570]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x558]
xor ecx, esp
call fcn.1001e327
add esp, 0x568
ret