Function at 0x422650
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e3c67
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x704dd8]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
call fcn.00409730
mov ecx, eax
call fcn.004a3a70
xor ebx, ebx
xor ecx, ecx
mov word [esp + 0x74], cx
mov ecx, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4226c0
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x78]
call fcn.00401c70
mov eax, dword [esp + 0x74]
mov ebp, 8
mov dword [esp + 0x430], ebx
cmp dword [esp + 0x88], ebp
jae 0x4226f7
lea eax, [esp + 0x74]
push eax
push ebx
push str.OldBackCountDataLoaded
push str.Note
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x828a0], eax
cmp eax, ebx
je 0x42273e
mov edx, dword [edi + 0x82894]
sub edx, dword [edi + 0x82890]
test edx, 0xfffffffc
je 0x42273e
cmp dword [esp + 0x88], ebp
jb 0x422b39
mov eax, dword [esp + 0x74]
push eax
jmp 0x422b31
push 0x18f
lea ecx, [esp + 0x299]
push ebx
push ecx
mov byte [esp + 0x2a0], bl
call fcn.004e9ba0
lea edx, [esp + 0x2a0]
push str.SELECT__FROM_User_BackCount_order_by_Date_
push edx
call fcn.004ea179
add esp, 0x14
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6c0
mov edi, eax
mov esi, dword [edi]
lea eax, [esp + 0x294]
push ebx
push eax
add esi, 0x28
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
mov edx, dword [esi]
push eax
mov ecx, edi
call edx
cmp eax, ebx
je 0x422727
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
test eax, eax
jne 0x422b0d
lea ebp, [eax + 0x10]
nop
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
test eax, eax
je 0x422b0d
push 0x48
call fcn.004ca5aa
add esp, 4
mov esi, 7
cmp eax, ebx
je 0x422803
mov dword [eax + 0x20], esi
mov dword [eax + 0x1c], ebx
xor ecx, ecx
mov word [eax + 0xc], cx
xor edx, edx
mov dword [eax + 0x3c], esi
mov dword [eax + 0x38], ebx
mov word [eax + 0x28], dx
mov edi, eax
jmp 0x422805
xor edi, edi
push 0x48
push ebx
push edi
mov dword [esp + 0x24], edi
call fcn.004e9ba0
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
push 0x206
lea ecx, [esp + 0x9e]
xor eax, eax
push ebx
push ecx
mov word [esp + 0xa4], ax
call fcn.004e9ba0
xor edx, edx
add esp, 0x18
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
mov byte [esp + 0x430], 2
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
test eax, eax
je 0x422af4
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
push 0x6015b5
push 1
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call edx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x43c], 3
call fcn.004017a0
mov byte [esp + 0x430], 2
cmp dword [esp + 0x34], ebp
jb 0x4228be
mov eax, dword [esp + 0x20]
push eax
call fcn.004ca5d9
add esp, 4
cmp dword [esp + 0x4c], ebx
jne 0x4228f6
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x6c], 8
jb 0x4228ed
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004ca5d9
add esp, 4
mov dword [esp + 0x6c], esi
jmp 0x422ab1
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x422904
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.004a6130
lea eax, [esp + 0x94]
add esp, 8
lea ecx, [edi + 8]
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x422922
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x90]
push edx
call fcn.00401c70
lea eax, [esp + 0x8c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x422950
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x5c]
call fcn.00401c70
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
test eax, eax
je 0x422af4
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
push 0x6015b5
push 2
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call edx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x43c], 4
call fcn.004017a0
mov byte [esp + 0x430], 2
cmp dword [esp + 0x34], ebp
jb 0x4229d6
mov eax, dword [esp + 0x20]
push eax
call fcn.004ca5d9
add esp, 4
cmp dword [esp + 0x4c], ebx
je 0x422a80
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x4229ee
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.004a6130
lea eax, [esp + 0x94]
add esp, 8
lea ecx, [edi + 0x24]
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x422a10
sub eax, esi
sar eax, 1
push eax
lea edx, [esp + 0x90]
push edx
call fcn.00401c70
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
test eax, eax
je 0x422af4
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
mov edx, dword [eax]
push ebx
mov ecx, eax
mov eax, dword [edx + 0x14]
push 3
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
add ecx, 0x82884
mov dword [edi + 0x40], eax
call fcn.004411d0
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
test eax, eax
je 0x422af4
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x6c], 8
jb 0x422aa9
mov ecx, dword [esp + 0x58]
push ecx
call fcn.004ca5d9
add esp, 4
mov dword [esp + 0x6c], 7
xor edx, edx
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], dx
mov byte [esp + 0x430], bl
cmp dword [esp + 0x50], ebp
jb 0x422ad6
mov eax, dword [esp + 0x3c]
push eax
call fcn.004ca5d9
add esp, 4
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
test eax, eax
je 0x4227c0
jmp 0x422b0d
lea ecx, [esp + 0x54]
call fcn.00401760
lea ecx, [esp + 0x38]
mov byte [esp + 0x430], bl
call fcn.00401700
call fcn.0041aaa0
mov ecx, eax
call fcn.0047e6d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x50]
call eax
cmp dword [esp + 0x88], 8
jb 0x422b39
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004ca5d9
add esp, 4
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.004e8c89
add esp, 0x420
ret