Function at 0x4adc80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db821
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x6264e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x204], ecx
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x20], 0
movsx eax, word [ebp + 8]
test eax, eax
jle 0x4adcd4
mov cx, word [ebp + 8]
mov word [ebp - 0x206], cx
jmp 0x4adce2
mov dx, word [0x6299f0]
mov word [ebp - 0x206], dx
movsx eax, word [ebp - 0x206]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
call fcn.00401050
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401050
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x28]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00401940
mov byte [ebp - 4], 2
push 0
push 0x4f8928
mov ecx, dword [ebp + 0x30]
call fcn.004011a0
test eax, eax
jl 0x4add3e
push 0x4f8934
lea ecx, [ebp - 0x10]
call fcn.004010b0
mov ecx, dword [ebp + 0x48]
call fcn.0040be80
movzx edx, al
test edx, edx
jne 0x4add9c
mov ecx, dword [ebp + 0x2c]
call fcn.0040be80
movzx eax, al
test eax, eax
jne 0x4add9c
mov ecx, dword [ebp + 0x30]
call fcn.0040be80
movzx ecx, al
test ecx, ecx
jne 0x4add9c
mov ecx, dword [ebp + 0x38]
call fcn.0040be80
movzx edx, al
test edx, edx
jne 0x4add9c
mov ecx, dword [ebp + 0x40]
call fcn.0040be80
movzx eax, al
test eax, eax
jne 0x4add9c
mov ecx, dword [ebp + 0x3c]
call fcn.0040be80
movzx ecx, al
test ecx, ecx
je 0x4adf25
call fcn.004a9e70
movzx edx, al
test edx, edx
je 0x4adea1
call fcn.004a9740
cmp eax, 3
jg 0x4adea1
lea ecx, [ebp - 0xd8]
call fcn.00401030
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x210], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x200]
or ecx, 1
mov dword [ebp - 0x200], ecx
push 3
push 0x270
push 0x4f8940
lea ecx, [ebp - 0xd4]
call fcn.004aa4b0
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x218], edx
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x200]
or eax, 2
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x40]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x30]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x204]
mov eax, dword [edx + 8]
push eax
push 0x4f8970
mov ecx, dword [ebp - 0x210]
push ecx
call fcn.00401000
add esp, 0x2c
mov ecx, eax
call fcn.00401aa0
push eax
mov ecx, dword [ebp - 0x218]
call fcn.004177b0
mov ecx, eax
call fcn.00401610
push eax
lea ecx, [ebp - 0x41]
call fcn.0041ffe0
mov ecx, eax
call fcn.0042bb10
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x200]
and edx, 2
je 0x4adec5
and dword [ebp - 0x200], 0xfffffffd
lea ecx, [ebp - 0xd4]
call fcn.004aa2b0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x200]
and eax, 1
je 0x4adee9
and dword [ebp - 0x200], 0xfffffffe
lea ecx, [ebp - 0xd8]
call fcn.0042ddc0
mov dword [ebp - 0xdc], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov eax, dword [ebp - 0xdc]
jmp 0x4ae4df
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x4c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x40]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x38]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x34]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x48]
mov edx, dword [ecx]
push edx
push str._s_s_s_s_s_s_s_s_d_d_d_d
lea eax, [ebp - 0x1c]
push eax
call fcn.0040a8f0
add esp, 0x38
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x204]
call fcn.004ad1e0
push 0x4f8aec
mov edx, dword [ebp + 0x30]
push edx
lea eax, [ebp - 0xe0]
push eax
call fcn.00417e20
add esp, 0xc
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x220], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp + 0x34]
push edx
mov eax, dword [ebp - 0x220]
push eax
lea ecx, [ebp - 0xe4]
push ecx
call fcn.00417d70
add esp, 0xc
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x228], edx
mov byte [ebp - 4], 6
push 0x4f8ae8
mov eax, dword [ebp - 0x228]
push eax
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00417e20
add esp, 0xc
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x22c]
mov dword [ebp - 0x230], edx
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
lea edx, [ebp - 0xec]
push edx
call fcn.00417d70
add esp, 0xc
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x238]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401090
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xec]
call fcn.00401070
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe8]
call fcn.00401070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe4]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe0]
call fcn.00401070
cmp dword [ebp + 0x50], 0
je 0x4ae33e
mov ecx, dword [ebp - 0x204]
add ecx, 0xc
call fcn.00401aa0
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.00401aa0
push eax
push 0x4f8af0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4ae1be
lea ecx, [ebp - 0x34]
call fcn.00401050
mov byte [ebp - 4], 9
mov dword [ebp - 0x20], 1
cmp dword [ebp - 0x20], 0
je 0x4ae0f0
mov dword [ebp - 0x23c], 0x4f8b04
jmp 0x4ae0fa
mov dword [ebp - 0x23c], 0x4f8b08
mov ecx, dword [ebp - 0x204]
add ecx, 0xc
call fcn.00401aa0
push eax
mov edx, dword [ebp - 0x23c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00401aa0
push eax
push 0x4f8b0c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x34]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x44]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x40]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x3c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x30]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x48]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
push edx
push str._s__s__s__d__d__s__s__s__d__s__s__s__d__s__d__s__d_r_n
lea eax, [ebp - 0x34]
push eax
call fcn.0040a8f0
add esp, 0x4c
push ecx
mov ecx, esp
mov dword [ebp - 0xf0], esp
lea edx, [ebp - 0x34]
push edx
call fcn.00401940
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x204]
call fcn.004ad6a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.00401070
jmp 0x4ae1cb
mov eax, dword [0x629a14]
add eax, 1
mov dword [0x629a14], eax
lea ecx, [ebp - 0x2c]
call fcn.00401050
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x40]
call fcn.00401aa0
push eax
call fcn.0047ecfb
add esp, 0xfffffffc
fstp qword [esp]
mov ecx, dword [ebp + 0x38]
call fcn.00401aa0
push eax
call fcn.0047ecfb
add esp, 0xfffffffc
fstp qword [esp]
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x30]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x4c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x34]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 0x44]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x2c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp + 0x40]
call fcn.00401aa0
push eax
call fcn.0047ecfb
add esp, 0xfffffffc
fstp qword [esp]
mov ecx, dword [ebp + 0x38]
call fcn.00401aa0
push eax
call fcn.0047ecfb
add esp, 0xfffffffc
fstp qword [esp]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x30]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x48]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
push eax
push str.insert_into_duba_wallpaper_toufang___
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040a8f0
add esp, 0x98
lea ecx, [ebp - 0x2c]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x174]
call fcn.00408870
mov dword [ebp - 0x244], eax
mov edx, dword [ebp - 0x244]
mov dword [ebp - 0x248], edx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x248]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x30]
call fcn.00408100
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x174]
call fcn.004291d0
lea eax, [ebp - 0x30]
push eax
call fcn.004bb910
mov ecx, eax
call fcn.004bb9b0
movzx ecx, al
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x30]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00401070
cmp dword [ebp + 0x54], 0
je 0x4ae4a9
lea ecx, [ebp - 0x3c]
call fcn.00401050
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp + 0x40]
call fcn.00401aa0
push eax
call fcn.0047ecfb
add esp, 0xfffffffc
fstp qword [esp]
mov ecx, dword [ebp + 0x38]
call fcn.00401aa0
push eax
call fcn.0047ecfb
add esp, 0xfffffffc
fstp qword [esp]
mov eax, dword [ebp + 0x3c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x48]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x4c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x34]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x44]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x40]
call fcn.00401aa0
push eax
call fcn.0047ecfb
add esp, 0xfffffffc
fstp qword [esp]
mov ecx, dword [ebp + 0x38]
call fcn.00401aa0
push eax
call fcn.0047ecfb
add esp, 0xfffffffc
fstp qword [esp]
mov ecx, dword [ebp + 0x3c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x30]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x48]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
push ecx
push str.insert_into_pdf_toufang_values__s__s__s__d__d__s__f___f___d__s__s__s__d__s__d__s__d__s__s__d__d__d__d_0_0_0_0_0_0__ON_DUPLICATE_KEY_UPDATE
lea edx, [ebp - 0x3c]
push edx
call fcn.0040a8f0
add esp, 0x8c
lea ecx, [ebp - 0x3c]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x1f8]
call fcn.00408870
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x250]
call fcn.00401aa0
push eax
lea ecx, [ebp - 0x40]
call fcn.00408100
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1f8]
call fcn.004291d0
lea ecx, [ebp - 0x40]
push ecx
call fcn.004bb910
mov ecx, eax
call fcn.004bb9b0
movzx edx, al
mov dword [ebp - 0x38], edx
lea ecx, [ebp - 0x40]
call fcn.00401070
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
call fcn.00401070
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov eax, dword [ebp - 0x1fc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x50