Function at 0x40b3a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x492205
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4d01d4]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x4d01d4]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
lea eax, [esp + 0x5c]
push eax
call fcn.0040aed0
xor ebx, ebx
mov dword [esp + 0xe0], ebx
lea ecx, [esp + 0x38]
push str.Lanlan.xml
push ecx
call fcn.0048a530
add esp, 8
mov byte [esp + 0xe0], 1
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x40b41c
mov eax, dword [eax + 4]
jmp 0x40b41f
add eax, 4
lea edx, [esp + 0xb4]
push edx
push eax
lea edx, [esp + 0x80]
lea ecx, [esp + 0x64]
call fcn.0040c6a0
add esp, 8
test al, al
jne 0x40b445
mov byte [esp + 0x17], bl
jmp 0x40b453
lea eax, [esp + 0x5c]
push eax
call fcn.0040d6f0
mov byte [esp + 0x17], al
mov byte [esp + 0xe0], bl
cmp dword [esp + 0x50], esi
jb 0x40b46d
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00471099
add esp, 4
xor edx, edx
mov edi, 7
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
cmp byte [esp + 0x17], bl
je 0x40b7f3
push ecx
mov eax, esp
lea esi, [esp + 0x60]
mov dword [esp + 0x1c], esp
mov dword [eax], str.Language
call fcn.0040c9e0
cmp al, bl
je 0x40b890
mov ecx, dword [esp + 0x98]
cmp ecx, ebx
je 0x40b4f6
cmp dword [esp + 0xa8], 1
jne 0x40b4f6
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x94], ecx
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xa8], ecx
push 1
lea esi, [esp + 0x60]
call fcn.0040d0c0
test eax, eax
je 0x40b7e5
mov ecx, dword [esp + 0x98]
cmp ecx, ebx
je 0x40b556
cmp dword [esp + 0xa8], 1
jne 0x40b556
mov eax, dword [esp + 0x9c]
xor edx, edx
cmp eax, ebx
setne dl
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xa8], edx
push 0x38
call fcn.004710bf
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0xe0], 2
cmp eax, ebx
je 0x40b57a
push eax
call fcn.0040b8d0
mov esi, eax
jmp 0x40b57c
xor esi, esi
mov byte [esp + 0xe0], bl
mov dword [esp + 0x18], esi
cmp dword [esp + 0xc0], ebx
je 0x40b71c
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
push str.Text
lea eax, [esp + 0x60]
push eax
call fcn.0040e290
cmp eax, ebx
je 0x40b651
mov edi, dword [esp + 0xbc]
mov ecx, eax
sar ecx, 0x10
mov ecx, dword [edi + ecx*4]
mov edx, eax
and edx, 0xffff
shl edx, 5
mov ecx, dword [ecx + edx + 0x10]
lea edx, [esp + 0x38]
mov dword [esp + 0x94], ecx
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xac], 1
call fcn.0040b030
mov byte [esp + 0xe0], 3
push eax
mov ecx, esi
call fcn.0048d250
mov byte [esp + 0xe0], bl
cmp dword [esp + 0x50], 8
jb 0x40b63e
mov eax, dword [esp + 0x3c]
push eax
call fcn.00471099
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
cmp dword [esp + 0xc0], ebx
je 0x40b71c
mov ecx, dword [esp + 0x98]
push str.File
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x9c]
call fcn.0040e290
cmp eax, ebx
je 0x40b71c
mov edi, dword [esp + 0xbc]
mov ecx, eax
sar ecx, 0x10
mov ecx, dword [edi + ecx*4]
mov edx, eax
and edx, 0xffff
shl edx, 5
mov ecx, dword [ecx + edx + 0x10]
lea edx, [esp + 0x1c]
mov dword [esp + 0x94], ecx
push edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xac], 1
call fcn.0040b030
mov byte [esp + 0xe0], 4
push eax
lea ecx, [esi + 0x1c]
call fcn.0048d250
mov byte [esp + 0xe0], bl
cmp dword [esp + 0x34], 8
jb 0x40b709
mov eax, dword [esp + 0x20]
push eax
call fcn.00471099
add esp, 4
xor ecx, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], cx
mov edx, dword [0x4e568c]
cmp edx, ebx
jne 0x40b72a
xor ecx, ecx
jmp 0x40b735
mov ecx, dword [0x4e5694]
sub ecx, edx
sar ecx, 2
mov eax, dword [0x4e5690]
mov edi, eax
sub edi, edx
sar edi, 2
cmp edi, ecx
jae 0x40b751
mov dword [eax], esi
add eax, 4
mov dword [0x4e5690], eax
jmp 0x40b772
mov esi, eax
cmp edx, eax
jbe 0x40b75c
call fcn.0047198a
mov eax, dword [0x4e5680]
push esi
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x60]
push eax
call fcn.0040bd10
mov eax, dword [esp + 0x94]
cmp eax, ebx
je 0x40b7d2
mov edi, dword [esp + 0xbc]
mov edx, dword [esp + 0x98]
mov ecx, eax
mov esi, eax
and eax, 0xffff
sar esi, 0x10
mov esi, dword [edi + esi*4]
shl eax, 5
mov eax, dword [esi + eax + 0x10]
mov dword [esp + 0x9c], edx
xor edx, edx
cmp ecx, ebx
setne dl
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xa8], edx
push 1
lea esi, [esp + 0x60]
call fcn.0040d0c0
test eax, eax
jne 0x40b509
lea eax, [esp + 0x5c]
call fcn.0040d390
jmp 0x40b890
lea eax, [esp + 0x1c]
push str.Lanlan.xml
push eax
call fcn.0048a530
add esp, 8
mov byte [esp + 0xe0], 5
cmp dword [eax + 0x18], esi
jb 0x40b817
mov eax, dword [eax + 4]
jmp 0x40b81a
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0xe0], bl
cmp dword [esp + 0x34], esi
jb 0x40b83b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00471099
add esp, 4
xor edx, edx
push 0x38
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], dx
call fcn.004710bf
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0xe0], 6
cmp eax, ebx
je 0x40b86e
push eax
call fcn.0040b8d0
mov esi, eax
jmp 0x40b870
xor esi, esi
mov byte [esp + 0xe0], bl
push 0x4a2350
mov ecx, esi
call fcn.0048d230
push str.chinese.ini
lea ecx, [esi + 0x1c]
call fcn.0048d230
mov dword [esp + 0xe0], 0xffffffff
lea eax, [esp + 0x5c]
push eax
call fcn.0040af80
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.00470f4c
mov esp, ebp
pop ebp
ret