Function at 0x404dd0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x433290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x428
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push 0x442df8
lea ecx, [esp + 0x2c]
call fcn.0042bce7
xor ebp, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x440], ebp
call fcn.00404a10
mov edi, dword [esp + 0x448]
push 0x442df8
mov ecx, edi
mov byte [esp + 0x444], 1
call fcn.0042be02
push 0x442df8
lea ecx, [esp + 0x20]
call fcn.0042bce7
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
mov byte [esp + 0x444], 2
call fcn.00405530
push str.ECPConfigure.ini
lea ecx, [esp + 0x34]
push eax
push ecx
mov byte [esp + 0x44c], 3
call fcn.0042bf0e
lea ecx, [esp + 0x4c]
mov byte [esp + 0x440], 5
call fcn.0042bc79
push 0x442df8
lea ecx, [esp + 0x24]
call fcn.0042bce7
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x20]
push edx
push 0x3e8
push 0x3e8
mov byte [esp + 0x44c], 6
call fcn.0042c020
push eax
push 0x442df8
push 0x44018c
push str.RfidReader
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
or esi, 0xffffffff
lea ecx, [esp + 0x20]
push esi
call fcn.0042c06f
mov eax, dword [esp + 0x20]
push 0x442df8
push eax
call fcn.004158e6
add esp, 8
test eax, eax
jne 0x404eef
push 0x440670
mov ecx, edi
call fcn.0042be02
jmp 0x4054c8
push edi
push 0x1c200
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0042b9ee
mov ecx, ebx
call fcn.00405620
cmp eax, ebp
jne 0x4054c8
push 0x442df8
lea ecx, [esp + 0x18]
call fcn.0042bce7
push 0x442df8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x444], 7
call fcn.0042bce7
push 0x442df8
lea ecx, [esp + 0x40]
mov byte [esp + 0x444], 8
call fcn.0042bce7
push str.680D690001FFFFFFFFFFFFD916
lea ecx, [esp + 0x18]
mov byte [esp + 0x444], 9
call fcn.0042be02
lea eax, [esp + 0x18]
push edi
push eax
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0042b9ee
mov ecx, ebx
call fcn.004059d0
cmp eax, ebp
je 0x404f98
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.004058d0
jmp 0x405495
lea ecx, [esp + 0x2c]
push 2
push ecx
lea ecx, [esp + 0x20]
call fcn.00426a3c
mov eax, dword [eax]
push 0x440650
push eax
mov byte [esp + 0x448], 0xa
call fcn.004158e6
add esp, 8
test eax, eax
jne 0x405003
push 2
lea edx, [esp + 0x38]
push 0x16
push edx
lea ecx, [esp + 0x24]
call fcn.0042692a
mov eax, dword [eax]
push 0x44064c
push eax
call fcn.004158e6
add esp, 8
lea ecx, [esp + 0x34]
test eax, eax
setne byte [esp + 0x13]
call fcn.0042bc79
mov al, byte [esp + 0x13]
mov byte [esp + 0x13], 0
test al, al
je 0x405008
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x440], 9
call fcn.0042bc79
mov al, byte [esp + 0x13]
test al, al
je 0x40503e
push 0x440638
mov ecx, edi
call fcn.0042be02
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.004058d0
jmp 0x405495
push 0xc
lea ecx, [esp + 0x44]
push 0xa
push ecx
lea ecx, [esp + 0x24]
call fcn.0042692a
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x28]
push edx
push 0x440628
push eax
mov byte [esp + 0x44c], 0xb
call fcn.00426e17
add esp, 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push str.EcpComm
call fcn.0042bce7
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x50], esp
push edx
mov byte [esp + 0x44c], 0xc
call fcn.0042b9ee
lea ecx, [esp + 0x2c]
mov byte [esp + 0x448], 0xb
call fcn.00404a30
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebp
cmp ebp, 0x32
mov dword [esp + 0x38], ebp
jg 0x405435
push 0x442df8
lea ecx, [esp + 0x1c]
call fcn.0042be02
push str.6813690300
lea ecx, [esp + 0x18]
call fcn.0042be02
lea eax, [esp + 0x40]
lea ecx, [esp + 0x14]
push eax
call fcn.0042c008
push str.0002e8030000
lea ecx, [esp + 0x18]
call fcn.0042bfe1
mov ecx, 0xf9
xor eax, eax
lea edi, [esp + 0x51]
mov byte [esp + 0x50], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
mov ecx, esi
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x50]
mov eax, ecx
mov esi, edi
mov edi, edx
xor edx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x405192
jmp 0x40514d
xor edx, edx
mov cx, word [esp + esi + 0x50]
mov word [esp + 0x45], dx
mov dword [esp + 0x34], edx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x48]
push 0x440600
push eax
mov word [esp + 0x50], cx
call fcn.00415e8f
mov ecx, dword [esp + 0x40]
lea edi, [esp + 0x5c]
add ebp, ecx
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
add esi, 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x40514b
push 0x442df8
lea ecx, [esp + 0x30]
call fcn.0042bce7
push ebp
lea ecx, [esp + 0x30]
push 0x4405fc
push ecx
mov byte [esp + 0x44c], 0xd
call fcn.00426e17
add esp, 0xc
lea edx, [esp + 0x48]
lea ecx, [esp + 0x2c]
push 2
push edx
call fcn.004269c0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x444], 0xe
call fcn.0042bdb2
lea ecx, [esp + 0x48]
mov byte [esp + 0x440], 0xd
call fcn.0042bc79
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x14]
push eax
call fcn.0042c008
push 0x4405f8
lea ecx, [esp + 0x18]
call fcn.0042bfe1
mov esi, dword [esp + 0x448]
lea ecx, [esp + 0x18]
push esi
push ecx
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.0042b9ee
mov ecx, ebx
call fcn.004059d0
test eax, eax
jne 0x405374
push str.04FF
lea ecx, [esp + 0x1c]
call fcn.00426ad6
cmp eax, 0xffffffff
jne 0x405269
lea ecx, [esp + 0x2c]
mov byte [esp + 0x440], 0xb
call fcn.0042bc79
mov ebp, dword [esp + 0x38]
mov edi, esi
or esi, 0xffffffff
jmp 0x4050a9
add eax, 4
push 0x10
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
call fcn.0042692a
push eax
mov ecx, esi
mov byte [esp + 0x444], 0xf
call fcn.0042bdb2
lea ecx, [esp + 0x38]
mov byte [esp + 0x440], 0xd
call fcn.0042bc79
lea ecx, [esp + 0x2c]
mov byte [esp + 0x440], 0xb
call fcn.0042bc79
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.004058d0
lea ecx, [esp + 0x40]
mov byte [esp + 0x440], 9
call fcn.0042bc79
lea ecx, [esp + 0x3c]
mov byte [esp + 0x440], 8
call fcn.0042bc79
lea ecx, [esp + 0x18]
mov byte [esp + 0x440], 7
call fcn.0042bc79
lea ecx, [esp + 0x14]
mov byte [esp + 0x440], 6
call fcn.0042bc79
lea ecx, [esp + 0x20]
mov byte [esp + 0x440], 5
call fcn.0042bc79
lea ecx, [esp + 0x30]
mov byte [esp + 0x440], 2
call fcn.0042bc79
lea ecx, [esp + 0x1c]
mov byte [esp + 0x440], 1
call fcn.0042bc79
lea ecx, [esp + 0x24]
mov byte [esp + 0x440], 0
call fcn.00404a20
lea ecx, [esp + 0x28]
mov dword [esp + 0x440], 0xffffffff
call fcn.0042bc79
xor eax, eax
mov ecx, dword [esp + 0x438]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x434
ret 4
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.004058d0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x440], 0xb
call fcn.0042bc79
lea ecx, [esp + 0x40]
mov byte [esp + 0x440], 9
call fcn.0042bc79
lea ecx, [esp + 0x3c]
mov byte [esp + 0x440], 8
call fcn.0042bc79
lea ecx, [esp + 0x18]
mov byte [esp + 0x440], 7
call fcn.0042bc79
lea ecx, [esp + 0x14]
mov byte [esp + 0x440], 6
call fcn.0042bc79
lea ecx, [esp + 0x20]
mov byte [esp + 0x440], 5
call fcn.0042bc79
lea ecx, [esp + 0x30]
mov byte [esp + 0x440], 2
call fcn.0042bc79
lea ecx, [esp + 0x1c]
mov byte [esp + 0x440], 1
call fcn.0042bc79
lea ecx, [esp + 0x24]
mov byte [esp + 0x440], 0
call fcn.00404a20
lea ecx, [esp + 0x28]
mov dword [esp + 0x440], 0xffffffff
call fcn.0042bc79
or eax, 0xffffffff
jmp 0x405359
lea edx, [esp + 0x1c]
mov ecx, ebx
push edx
call fcn.004058d0
push 0x4405d8
mov ecx, edi
call fcn.0042be02
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.EcpComm
call fcn.0042bce7
push ecx
mov byte [esp + 0x448], 0x10
mov ecx, esp
mov dword [esp + 0x3c], esp
push edi
call fcn.0042b9ee
lea ecx, [esp + 0x2c]
mov byte [esp + 0x448], 0xb
call fcn.00404a30
lea ecx, [esp + 0x40]
mov byte [esp + 0x440], 9
call fcn.0042bc79
lea ecx, [esp + 0x3c]
mov byte [esp + 0x440], 8
call fcn.0042bc79
lea ecx, [esp + 0x18]
mov byte [esp + 0x440], 7
call fcn.0042bc79
lea ecx, [esp + 0x14]
mov byte [esp + 0x440], 6
call fcn.0042bc79
lea ecx, [esp + 0x20]
mov byte [esp + 0x440], 5
call fcn.0042bc79
lea ecx, [esp + 0x30]
mov byte [esp + 0x440], 2
call fcn.0042bc79
lea ecx, [esp + 0x1c]
mov byte [esp + 0x440], 1
call fcn.0042bc79
lea ecx, [esp + 0x24]
mov byte [esp + 0x440], 0
call fcn.00404a20
lea ecx, [esp + 0x28]
mov dword [esp + 0x440], esi
call fcn.0042bc79
mov eax, esi
jmp 0x405359