Function at 0x10001f40
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 0x10001fb7
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 0x10001ff4
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0x19c]
push ecx
call fcn.10017bc0
test al, al
jne 0x10002056
cmp dword [esp + 0x15c], ebp
jb 0x1000201f
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 0x10003a25
mov eax, esi
lea edx, [eax + 1]
jmp 0x10002060
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x10002060
sub eax, edx
push eax
push esi
lea ecx, [edi + 0x214]
call fcn.10007110
cmp dword [0x1003b4e0], ebx
mov esi, 0xf
jne 0x10002151
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 0x100020f4
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 0x10002124
mov edx, dword [esp + 0x2c]
push edx
call fcn.1001dad4
add esp, 4
cmp dword [0x1003b4e0], ebx
jne 0x10002151
cmp dword [esp + 0x15c], ebp
jb 0x10002145
mov eax, dword [esp + 0x148]
push eax
call fcn.1001dad4
add esp, 4
mov dword [esp + 0x15c], esi
jmp 0x1000202a
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 0x100021bd
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 0x100021ed
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 0x1000225c
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 0x10002290
mov eax, dword [esp + 0x2c]
push eax
call fcn.1001dad4
add esp, 4
cmp dword [edi + 0x68], ebx
je 0x100022c2
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 0x100023d7
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 0x10002414
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 0x10002451
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 0x100024b6
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
mov eax, dword [esp + 0xe8]
cmp eax, ebx
jbe 0x10002547
lea esi, [eax - 1]
cmp esi, eax
jbe 0x100024d8
call fcn.1001dd60
mov eax, dword [esp + 0xe8]
cmp dword [esp + 0xec], ebp
mov ecx, dword [esp + 0xd8]
jae 0x100024ef
lea ecx, [esp + 0xd8]
cmp byte [ecx + esi], 0x5c
jne 0x10002547
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 0x10002547
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 0x10002582
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 0x1000259a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
je 0x10002819
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 0x100025cd
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 0x100025e5
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 0x100027fd
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 0x10002637
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 0x1000264f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jne 0x10002668
mov byte [esp + 0x578], 0x11
mov dword [esp + 0x14], vtable.CXmlNode.0
jmp 0x100027e8
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 0x100026d1
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 0x1000273a
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 0x10002785
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 0x100027b3
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 0x100027e8
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 0x10002603
mov byte [esp + 0x578], 0x10
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x10002815
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 0x10002851
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 0x10002869
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
je 0x10003892
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 0x100028a0
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 0x100028b8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jne 0x100028c6
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 0x100028e7
push 0x100355e0
push esi
push eax
call fcn.1001d640
xor eax, eax
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
jle 0x1000387a
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 0x1000292c
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 0x10002944
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp edi, ebx
jne 0x1000295d
mov byte [esp + 0x578], 0x1a
mov dword [esp + 0x14], vtable.CXmlNode.0
jmp 0x10003858
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 0x100029f9
mov edx, dword [esp + 0xa0]
push edx
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0x2cc], 0xffffffff
jne 0x10002a0e
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 0x10002a7e
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 0x10002af7
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 0x10002b2d
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 0x10002ba6
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 0x10002bdc
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 0x10002c47
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 0x10002cc0
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 0x10002cf6
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 0x10002d66
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 0x10002ddf
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 0x10002e15
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 0x10002e8e
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 0x10002ec4
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 0x10002f3d
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 0x10002f73
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 0x10002fde
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 0x10003049
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 0x100030c2
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 0x100030f8
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 0x1000315a
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 0x10003190
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 0x100031e4
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 0x10003238
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.1001dad4
add esp, 4
cmp dword [esp + 0xec], ebp
mov eax, dword [esp + 0xd8]
jae 0x1000324f
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 0x1000327c
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 0x100032a9
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 0x100032d6
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 0x100032fe
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 0x1000332b
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 0x10003358
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 0x10003385
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 0x100033b2
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 0x100033da
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 0x10003407
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 0x10003434
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 0x10003461
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 0x1000348e
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 0x100034b6
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 0x100034e3
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 0x10003510
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 0x1000353d
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 0x1000356a
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 0x10003592
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 0x100035bf
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 0x100035ec
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 0x10003619
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 0x10003646
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 0x1000366e
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 0x100036a4
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 0x100036c0
mov eax, dword [esp + 0x24]
mov ebp, dword [eax + 0x14]
add eax, 0x10
cmp edi, ebx
je 0x100036d2
cmp edi, eax
je 0x100036d7
call fcn.1001dd60
cmp esi, ebp
je 0x10003739
cmp edi, ebx
jne 0x100036e4
call fcn.1001dd60
cmp esi, dword [edi + 4]
jne 0x100036ee
call fcn.1001dd60
cmp dword [esi + 0x40], 0x10
jb 0x100036f9
mov ebp, dword [esi + 0x2c]
jmp 0x100036fc
lea ebp, [esi + 0x2c]
cmp esi, dword [edi + 4]
jne 0x10003706
call fcn.1001dd60
cmp dword [esi + 0x24], 0x10
jb 0x10003711
mov esi, dword [esi + 0x10]
jmp 0x10003714
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 0x100036c0
cmp dword [esp + 0xec], 0x10
mov eax, dword [esp + 0xd8]
jae 0x10003751
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 0x10003783
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 0x100037b0
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 0x100037dd
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 0x10003805
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 0x10003858
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 0x100028f7
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x58]
cmp esi, ebx
mov byte [esp + 0x578], 0x19
je 0x1000388e
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 0x100038b1
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
cmp edi, ebx
mov byte [esp + 0x578], 0xd
je 0x100038c5
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp dword [esp + 0x178], ebp
jb 0x100038de
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 0x10003911
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 0x1000393f
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 0x1000396d
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 0x1000399b
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 0x100039c9
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 0x100039f7
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