Function at 0x4367c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x56d380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x20d]
mov dword [ebp - 0x220], eax
call fcn.0044e510
mov edx, dword [0x56c260]
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
mov edx, dword [0x56c260]
add eax, 0x10
mov dword [ebp - 0x214], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
mov edx, dword [0x56c260]
add eax, 0x10
mov dword [ebp - 0x218], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
mov edx, dword [0x56c260]
add eax, 0x10
mov dword [ebp - 0x224], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x56c260
call eax
lea ecx, [ebp - 0x228]
add eax, 0x10
push ecx
lea ecx, [ebp - 0x20d]
mov dword [ebp - 0x21c], eax
call fcn.00451d10
mov eax, dword [ebp - 0x228]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00403b50
add esp, 4
lea edx, [ebp - 0x22c]
add eax, 0x10
push edx
lea ecx, [ebp - 0x20d]
mov dword [esi], eax
call fcn.0044fc00
lea ecx, [ebp - 0x214]
call fcn.004040f0
mov ecx, dword [edi + 8]
sub ecx, dword [edi + 4]
mov eax, 0xddf7c34f
imul ecx
add edx, ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
xor esi, esi
add eax, edx
je 0x436a24
mov edx, dword [edi + 4]
mov ecx, edx
nop
mov ebx, dword [ecx]
cmp ebx, dword [ebp + 8]
je 0x4368d7
inc esi
add ecx, 0x49d0
cmp esi, eax
jb 0x4368c0
jmp 0x436a24
imul esi, esi, 0x49d0
lea edx, [edx + esi + 0x44a8]
test edx, edx
jne 0x4368ec
xor eax, eax
jmp 0x436900
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4368f1
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x218]
call fcn.00403ee0
mov eax, dword [edi + 4]
lea edx, [eax + esi + 0x46b0]
test edx, edx
jne 0x43691f
xor eax, eax
jmp 0x436933
mov eax, edx
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436924
sub eax, ebx
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x224]
call fcn.00403ee0
mov ecx, dword [edi + 4]
lea edx, [ecx + esi + 0x4730]
test edx, edx
jne 0x436952
xor eax, eax
jmp 0x436966
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436957
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x21c]
call fcn.00403ee0
mov edx, dword [ebp + 0xc]
cmp dword [edx - 0xc], 0
jne 0x436991
lea eax, [ebp - 0x22c]
push eax
push 0x570350
lea ecx, [ebp - 0x218]
push ecx
jmp 0x4369a1
lea edx, [ebp + 0xc]
push edx
push 0x570350
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x20d]
call fcn.0044ff20
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.00500080
mov eax, dword [ebp - 0x218]
mov edx, dword [ebp - 0x21c]
add esp, 0xc
push eax
mov eax, dword [ebp - 0x224]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x53cbd0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x436a00
sub eax, edx
sar eax, 1
je 0x436a24
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x214]
call fcn.00403ee0
mov esi, dword [ebp - 0x214]
cmp dword [esi - 0xc], 0
jne 0x436a49
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp + 8]
push edx
push eax
mov ecx, edi
call fcn.00434a80
mov esi, eax
jmp 0x436b14
mov ecx, dword [ebp - 0x220]
push ecx
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x230], esp
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x436a7d
cmp eax, dword [esi - 0x10]
jne 0x436a7d
lea ebx, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x436ab2
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x436a96
call fcn.00403d10
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esi - 0xc]
lea eax, [eax + eax + 2]
push eax
push esi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.004fe509
add esp, 0x10
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x230]
add ebx, 0x10
push eax
mov ecx, edi
mov dword [edx], ebx
call fcn.00436230
mov esi, eax
test esi, esi
je 0x436b14
mov ecx, dword [ebp - 0x214]
cmp dword [ecx - 0xc], 0x20
jge 0x436b14
mov eax, dword [ebp - 0x220]
add eax, 0x110
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx - 0xc]
push edx
push ecx
push 0x20
push eax
call fcn.005002ca
add esp, 0x10
mov eax, dword [ebp - 0x22c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436b36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x228]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436b58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436b7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436b9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x218]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436be0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x20d]
call fcn.0044e520
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436c0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00500397
mov esp, ebp
pop ebp
ret 0xc