Function at 0x4ad871
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa5c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x101c
call fcn.004d0180
mov dword [ebp - 0x1024], ecx
mov dword [ebp - 0x10], 0x5336d8
push 0x411
mov ecx, dword [ebp - 0x1024]
call fcn.004e763c
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.00422dc0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1028], eax
cmp dword [ebp - 0x1028], 1
je 0x4ad8ec
cmp dword [ebp - 0x1028], 2
je 0x4ad977
cmp dword [ebp - 0x1028], 3
je 0x4ad9e8
jmp 0x4adbde
push str.DocTYPE_ITEM_0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0044e26e
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
push str.DocTYPE_ITEM_1
mov edx, dword [ebp - 0x10]
push edx
call fcn.0044e26e
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
push str.DocTYPE_ITEM_2
mov eax, dword [ebp - 0x10]
push eax
call fcn.0044e26e
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
push str.DocTYPE_ITEM_3
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0044e26e
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
mov edx, dword [ebp - 0x1024]
mov eax, dword [edx + 0x204]
push eax
mov ecx, dword [ebp - 0x1024]
add ecx, 0x6dc
call fcn.00422d60
jmp 0x4adbde
push str.EmailTYPE_ITEM_0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0044e26e
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
push str.EmailTYPE_ITEM_1
mov edx, dword [ebp - 0x10]
push edx
call fcn.0044e26e
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
push str.EmailTYPE_ITEM_2
mov eax, dword [ebp - 0x10]
push eax
call fcn.0044e26e
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
mov ecx, dword [ebp - 0x1024]
mov edx, dword [ecx + 0x208]
push edx
mov ecx, dword [ebp - 0x1024]
add ecx, 0x6dc
call fcn.00422d60
jmp 0x4adbde
push 0x533764
mov ecx, 0x53999c
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4ada20
push 0x533770
mov ecx, 0x53999c
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4adaab
push str.OCR_ITEM_0
mov eax, dword [ebp - 0x10]
push eax
call fcn.0044e26e
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
push str.OCR_ITEM_1
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0044e26e
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
push str.OCR_ITEM_2
mov edx, dword [ebp - 0x10]
push edx
call fcn.0044e26e
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
push str.OCR_ITEM_3
mov eax, dword [ebp - 0x10]
push eax
call fcn.0044e26e
add esp, 8
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
mov ecx, dword [ebp - 0x1024]
mov edx, dword [ecx + 0x214]
push edx
mov ecx, dword [ebp - 0x1024]
add ecx, 0x6dc
call fcn.00422d60
jmp 0x4adbde
mov dword [ebp - 0x1020], 0
lea ecx, [ebp - 0x101c]
call fcn.00401900
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1018]
call fcn.00401900
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1024]
add eax, 0xe8
push eax
push 0x800
lea ecx, [ebp - 0x814]
push ecx
push str.PP_LINK
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea edx, [ebp - 0x814]
mov dword [ebp - 0x1020], edx
mov eax, dword [ebp - 0x1020]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4adb9f
mov edx, dword [ebp - 0x1020]
push edx
lea eax, [ebp - 0x1014]
push eax
call fcn.004cf9b0
add esp, 8
push 0x5337b8
lea ecx, [ebp - 0x1014]
push ecx
call fcn.004d0f17
add esp, 8
push eax
lea ecx, [ebp - 0x1018]
call fcn.004e82b5
push 0x5337bc
push 0
call fcn.004d0f17
add esp, 8
push eax
lea ecx, [ebp - 0x101c]
call fcn.004e82b5
lea ecx, [ebp - 0x1018]
call fcn.00401920
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00422d90
mov edx, dword [ebp - 0x1020]
push edx
call fcn.004cf430
add esp, 4
mov ecx, dword [ebp - 0x1020]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x1020], edx
jmp 0x4adb05
mov eax, dword [ebp - 0x1024]
mov ecx, dword [eax + 0x20c]
push ecx
mov ecx, dword [ebp - 0x1024]
add ecx, 0x6dc
call fcn.00422d60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1018]
call fcn.004e812c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x101c]
call fcn.004e812c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4