Function at 0x40b320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4578b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], esp
call fcn.0044e911
mov edi, dword [ebp + 8]
mov esi, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x40], esi
cmp edi, ebx
je 0x40be53
cmp esi, ebx
je 0x40be53
lea eax, [ebp - 0x34]
push str._otherset
push eax
mov ecx, edi
call fcn.00406010
push 0xa
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], ebx
call fcn.00437422
mov ecx, dword [ebp - 0x34]
push ebx
lea edx, [ebp - 0x11c]
push ecx
push edx
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004116d0
push 0x470224
lea eax, [ebp - 0x11c]
push str.WT_DownloadUrl
lea ecx, [ebp - 0x20]
push eax
push ecx
mov ecx, esi
call fcn.00411880
push 0x470224
lea edx, [ebp - 0x11c]
push str.WT_RunCmdLine
lea eax, [ebp - 0x3c]
push edx
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00411880
push 0x470224
lea ecx, [ebp - 0x11c]
push str.WT_ExeFileName
lea edx, [ebp - 0x30]
push ecx
push edx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00411880
push fcn.0043b9af
push 0x40be70
push 7
lea eax, [ebp - 0x5c]
push 4
push eax
mov byte [ebp - 4], 4
call fcn.00422b8a
lea ecx, [ebp + 8]
push str._xdtype
push ecx
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00406010
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.0043bae8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0043b9af
lea edx, [ebp + 8]
push str._qsname
push edx
mov ecx, edi
call fcn.00406010
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.0043bae8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0043b9af
lea eax, [ebp + 8]
push str._yybname
push eax
mov ecx, edi
call fcn.00406010
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.0043bae8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0043b9af
lea ecx, [ebp + 8]
push str._wtid
push ecx
mov ecx, edi
call fcn.00406010
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 9
call fcn.0043bae8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.0043b9af
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x4c]
push edx
call fcn.0043bae8
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x48]
push eax
call fcn.0043bae8
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x44]
call fcn.0043bae8
lea ecx, [ebp - 0x5c]
call fcn.0043527d
lea ecx, [ebp - 0x5c]
call fcn.004351ee
mov edx, dword [ebp - 0x5c]
cmp dword [edx - 8], ebx
jne 0x40b506
push 0xf00a
lea ecx, [ebp - 0x5c]
call fcn.0043bf60
mov eax, dword [0x475730]
mov dword [ebp - 0x2c], eax
push 0xf00a
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0043bf60
lea ecx, [ebp - 0x20]
call fcn.0043527d
lea ecx, [ebp - 0x20]
call fcn.004351ee
mov ecx, dword [ebp - 0x20]
cmp dword [ecx - 8], ebx
jne 0x40bc09
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x5c]
push edx
push eax
call fcn.004226e3
add esp, 8
test eax, eax
jne 0x40bc09
mov ecx, dword [0x475730]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x5c]
push edx
push eax
push ecx
lea edx, [ebp - 0x24]
push str.__xiadan.ini:__s___s___s_r_n
push edx
mov byte [ebp - 4], 0x10
call fcn.00435199
mov eax, dword [ebp - 0x24]
add esp, 0x14
mov ecx, esi
push str.error.log
push eax
call fcn.00411950
mov ecx, esi
mov dword [ebp - 0x38], ebx
call fcn.0040df90
mov eax, dword [0x475730]
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], ebx
lea ecx, [ebp - 0x14]
push 0x4709d4
push ecx
mov ecx, edi
mov byte [ebp - 4], 0x12
call fcn.00406010
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x13
call fcn.0043bae8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.0043b9af
lea edx, [ebp - 0x14]
push str._yybname
push edx
mov ecx, edi
call fcn.00406010
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x14
call fcn.0043bae8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.0043b9af
lea eax, [ebp - 0x14]
push str._accounttype
push eax
mov ecx, edi
call fcn.00406010
push eax
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x15
call fcn.0043bae8
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x14]
call fcn.0043b9af
lea ecx, [ebp - 0x14]
push str._otherset
push ecx
mov ecx, edi
call fcn.00406010
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x16
call fcn.0043bae8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.0043b9af
lea edx, [ebp + 8]
push str._wtid
push edx
mov ecx, edi
call fcn.00406010
mov eax, dword [0x475730]
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0xe0], ebx
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], 1
mov dword [ebp - 0xb8], ebx
push 0x470a94
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.0040ed50
mov dword [ebp - 0x28], eax
xor ebx, ebx
cmp ebx, dword [ebp - 0x28]
jge 0x40b7e0
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0xe8]
push ebx
push ecx
mov eax, dword [eax + 0x40]
mov ecx, esi
push eax
call fcn.0040ede0
test eax, eax
jl 0x40b993
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xe8]
push 0x4707d8
push ecx
mov eax, dword [edx + 0x40]
lea edx, [ebp - 0x14]
push eax
push edx
mov ecx, esi
call fcn.0040ff40
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov byte [ebp - 4], 0x19
call fcn.004226e3
add esp, 8
test eax, eax
jne 0x40b987
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xe8]
push 0
push ecx
mov eax, dword [edx + 0x40]
mov ecx, esi
push eax
call fcn.00410000
mov edx, dword [ebp - 0x1c]
push ebx
push 0
mov ecx, esi
mov eax, dword [edx + 0x40]
push eax
call fcn.0040f4f0
mov eax, dword [ebp - 0x1c]
push ebx
push 0
mov ecx, esi
mov eax, dword [eax + 0x40]
push eax
call fcn.0040f850
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40b7d4
mov dword [eax], 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x18
call fcn.0043b9af
push 0x470a94
mov ecx, esi
call fcn.0040ed50
lea ecx, [ebp + 8]
lea edx, [ebp + 0xc]
push ecx
mov ebx, eax
push str.wtid
push edx
mov dword [ebp - 0xa4], ebx
call fcn.0043bcb8
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1a
call fcn.0043bae8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x18
call fcn.0043b9af
lea ecx, [ebp + 8]
call fcn.0043527d
lea ecx, [ebp + 8]
call fcn.004351ee
lea eax, [ebp + 8]
push 0x470734
lea ecx, [ebp + 0xc]
push eax
push ecx
call fcn.0043bc44
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1b
call fcn.0043bdc7
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x18
call fcn.0043b9af
lea edx, [ebp - 0x18]
push str._yybid
push edx
mov ecx, edi
call fcn.00406010
mov eax, dword [ebp - 0x18]
push str.NULL
push eax
mov byte [ebp - 4], 0x1c
call fcn.004226e3
add esp, 8
test eax, eax
je 0x40b88f
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x80]
call fcn.0043bae8
lea edx, [ebp + 0xc]
push str._portlist
push edx
mov ecx, edi
call fcn.00406010
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x1d
call fcn.0043bae8
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x1c
call fcn.0043b9af
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40ba37
mov ecx, dword [0x475730]
mov ebx, 1
mov dword [ebp + 0xc], ecx
push str.d__A_Za_z_____0_9__
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x1e
call fcn.00402e60
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x100]
push edx
mov byte [ebp - 4], 0x1f
call fcn.00403140
test eax, eax
je 0x40ba16
lea eax, [ebp - 0x28]
push 1
push eax
lea ecx, [ebp - 0x100]
call fcn.00403240
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x20
call fcn.0043bae8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1f
call fcn.0043b9af
lea ecx, [ebp - 0x14]
push 2
push ecx
lea ecx, [ebp - 0x100]
call fcn.00403240
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 0x21
call fcn.004195f0
add esp, 8
lea ecx, [ebp - 0x14]
mov edi, eax
mov byte [ebp - 4], 0x1f
call fcn.0043b9af
mov edx, dword [ebp + 0xc]
push str.HEXIN
push edx
call fcn.004221ed
add esp, 8
test eax, eax
jne 0x40b999
push str.HEXIN
lea ecx, [ebp + 0xc]
call fcn.0043bb38
mov dword [ebp - 0x94], edi
jmp 0x40b9eb
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x18
call fcn.0043b9af
inc ebx
jmp 0x40b72d
mov eax, dword [ebp + 0xc]
push str.CERT
push eax
call fcn.004221ed
add esp, 8
test eax, eax
jne 0x40b9c3
push str.CERT
lea ecx, [ebp + 0xc]
call fcn.0043bb38
mov dword [ebp - 0x8c], edi
jmp 0x40b9eb
mov ecx, dword [ebp + 0xc]
push 0x470974
push ecx
call fcn.004221ed
add esp, 8
test eax, eax
jne 0x40b9eb
push 0x470974
lea ecx, [ebp + 0xc]
call fcn.0043bb38
mov dword [ebp - 0x90], edi
test ebx, ebx
je 0x40ba06
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x88]
push edx
mov dword [ebp - 0x98], edi
call fcn.0043bae8
xor ebx, ebx
lea ecx, [ebp - 0x100]
call fcn.004031a0
jmp 0x40b8fb
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x1e
call fcn.00403100
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x1c
call fcn.0043b9af
mov ebx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0xa0]
push ebx
push ecx
mov eax, dword [edi + 0x40]
mov ecx, esi
push eax
mov dword [ebp - 0x74], 1
call fcn.0040f850
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [edi + 0x40]
push edx
push ecx
push eax
mov ecx, esi
call fcn.00410000
mov eax, dword [edi + 0x40]
lea edx, [ebx + 1]
push edx
push eax
mov ecx, esi
call fcn.0040f2d0
mov edi, dword [edi + 0x40]
push ebx
push edi
mov ecx, esi
call fcn.0040f7d0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x38], ebx
mov byte [ebp - 4], 0x18
call fcn.0043b9af
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0x2a
call fcn.0043b9af
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0x29
call fcn.0043b9af
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0x28
call fcn.0043b9af
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0x27
call fcn.0043b9af
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0x26
call fcn.0043b9af
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x25
call fcn.0043b9af
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0x24
call fcn.0043b9af
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x23
call fcn.0043b9af
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0x22
call fcn.0043b9af
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x17
call fcn.0043b9af
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x12
call fcn.0043b9af
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x33
call fcn.0043b9af
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x32
call fcn.0043b9af
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x31
call fcn.0043b9af
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x30
call fcn.0043b9af
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x2f
call fcn.0043b9af
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x2e
call fcn.0043b9af
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x2d
call fcn.0043b9af
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x2c
call fcn.0043b9af
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x2b
call fcn.0043b9af
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0x11
call fcn.0043b9af
jmp 0x40bbd7
mov ecx, esi
mov dword [ebp - 4], 0x10
call fcn.0040df80
mov ecx, dword [ebp - 0x38]
mov eax, dword [esi]
push ecx
push str.dept_cur_xd
push str.dept_section
mov ecx, esi
call dword [eax + 0xa8]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x24]
jmp 0x40bdea
mov edx, dword [0x475730]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x5c]
push eax
push ecx
push edx
lea eax, [ebp - 0x1c]
push str.__weituo.ini:__s___s___s_r_n
push eax
mov byte [ebp - 4], 0xb
call fcn.00435199
mov ecx, dword [ebp - 0x1c]
add esp, 0x14
push str.error.log
push ecx
mov ecx, esi
call fcn.00411950
mov ecx, esi
call fcn.0040df80
mov edx, dword [0x475730]
mov dword [ebp - 0x18], edx
mov eax, dword [esi]
push 0
push str.dept_num
push str.dept_section
mov ecx, esi
mov byte [ebp - 4], 0xc
call dword [eax + 0xa4]
xor ebx, ebx
mov dword [ebp + 8], eax
test eax, eax
jle 0x40bd43
mov edi, 0x470a70
mov ecx, dword [edi]
push ebx
push ecx
lea edx, [ebp - 0x18]
push str._s__d
push edx
call fcn.00435199
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi]
add esp, 0x10
lea edx, [ebp - 0x14]
push 0
push ecx
push str.dept_section
push edx
mov ecx, esi
call dword [eax + 0x9c]
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xd
call fcn.0043ba1d
mov ecx, dword [ebp - 0x24]
push str.dept_wtid
push ecx
call fcn.004226e3
add esp, 8
test eax, eax
jne 0x40bce5
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
push edx
push eax
call fcn.004226e3
add esp, 8
test eax, eax
je 0x40bd19
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.0043b9af
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0043b9af
add edi, 4
cmp edi, 0x470a8c
jl 0x40bc7f
mov eax, dword [ebp + 8]
inc ebx
cmp ebx, eax
jge 0x40bd43
jmp 0x40bc7a
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40bd26
mov dword [eax], 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xd
call fcn.0043b9af
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0043b9af
mov dword [ebp + 8], ebx
jmp 0x40bd5c
mov eax, dword [ebp + 8]
mov edx, dword [esi]
inc eax
mov ecx, esi
push eax
push str.dept_num
push str.dept_section
call dword [edx + 0xa8]
xor edi, edi
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x470a70]
push ecx
push edx
lea eax, [ebp - 0x18]
push str._s__d
push eax
call fcn.00435199
add esp, 0x10
lea ebx, [ebp + edi - 0x5c]
lea ecx, [ebp + 0xc]
push ebx
call fcn.0043b724
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 0xf
mov eax, dword [ecx - 8]
test eax, eax
je 0x40bdab
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov edx, dword [esi]
push ebx
push eax
push str.dept_section
mov ecx, esi
call dword [edx + 0xa0]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call fcn.0043b9af
add edi, 4
cmp edi, 0x1c
jl 0x40bd5e
mov eax, dword [ebp + 8]
mov edx, dword [esi]
push eax
push str.dept_cur
push str.dept_section
mov ecx, esi
call dword [edx + 0xa8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.0043b9af
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1c]
call fcn.0043b9af
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.0043b9af
push fcn.0043b9af
push 7
lea ecx, [ebp - 0x5c]
push 4
push ecx
mov byte [ebp - 4], 4
call fcn.00422a96
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0043b9af
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.0043b9af
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0043b9af
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], 0
call fcn.00437504
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.0043b9af
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8