Function at 0x53d620
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5f1dee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x98]
mov dword [esp + 0x90], 0
mov eax, dword [esi + 0x14]
not eax
test al, 1
je 0x53d7e4
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov bp, word [edi + 0xc]
mov ebx, 2
add ecx, ebx
cmp ecx, eax
jbe 0x53d679
mov ecx, esi
call fcn.005c6211
mov edx, dword [esi + 0x24]
lea eax, [edi + 0x10]
push eax
push esi
mov word [edx], bp
mov edx, dword [esi + 0x24]
add edx, ebx
mov dword [esi + 0x24], edx
call fcn.005c5c87
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
add ecx, ebx
cmp ecx, eax
jbe 0x53d6a4
mov ecx, esi
call fcn.005c6211
mov edx, dword [esi + 0x24]
mov word [edx], 0x7d5
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
add edx, ebx
mov eax, edx
mov dword [esi + 0x24], edx
mov bp, word [edi + 0x14]
add eax, 2
cmp eax, ecx
jbe 0x53d6cb
mov ecx, esi
call fcn.005c6211
mov eax, dword [esi + 0x24]
mov word [eax], bp
mov edx, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
add edx, ebx
mov eax, edx
mov dword [esi + 0x24], edx
mov ebp, dword [edi + 8]
add eax, 4
cmp eax, ecx
jbe 0x53d6ef
mov ecx, esi
call fcn.005c6211
mov ecx, dword [esi + 0x24]
lea edx, [edi + 0x20]
push edx
mov dword [ecx], ebp
mov ecx, dword [esi + 0x24]
add ecx, 4
mov dword [esi + 0x24], ecx
lea ecx, [esp + 0x14]
call fcn.005bd559
lea eax, [esp + 0x10]
mov byte [esp + 0x90], 1
push eax
call fcn.0053c4b0
add esp, 4
test eax, eax
jne 0x53d731
push 0x1c6f9c0
lea ecx, [esp + 0x14]
call fcn.005bd96d
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.005c5c87
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x28]
mov ebp, dword [edi + 0x18]
add edx, 4
cmp edx, eax
jbe 0x53d753
mov ecx, esi
call fcn.005c6211
mov eax, dword [esi + 0x24]
lea ecx, [edi + 0x1c]
push ecx
push esi
mov dword [eax], ebp
mov ebp, dword [esi + 0x24]
add ebp, 4
mov dword [esi + 0x24], ebp
call fcn.005c5c87
mov edx, dword [edi + 0x24]
lea ecx, [edi + 0x24]
push esi
call dword [edx + 8]
mov eax, dword [edi + 0x60]
test eax, eax
je 0x53d7c9
mov eax, dword [edi + 0x44]
test eax, eax
jle 0x53d7c9
mov eax, dword [edi + 0x40]
mov ebp, dword [eax]
call fcn.005d40e6
mov eax, dword [eax + 4]
push 0
push str.Owner
lea ecx, [esp + 0x20]
push str.Settings
push ecx
mov ecx, eax
call fcn.005d5822
push eax
lea ecx, [ebp + 0x14]
mov byte [esp + 0x94], bl
call fcn.005bd91d
lea ecx, [esp + 0x18]
mov byte [esp + 0x90], 1
call fcn.005bd7e4
mov edx, dword [edi + 0x3c]
lea ecx, [edi + 0x3c]
push esi
call dword [edx + 8]
mov byte [esp + 0x90], 0
lea ecx, [esp + 0x10]
jmp 0x53dbf8
mov ecx, edi
call fcn.0053dc40
mov ecx, edi
call fcn.0053d530
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
mov ebx, 2
lea edx, [eax + 2]
cmp edx, ecx
jbe 0x53d810
sub eax, ecx
mov ecx, esi
add eax, ebx
push eax
call fcn.005c628d
mov eax, dword [esi + 0x24]
mov cx, word [eax]
mov word [edi + 0xc], cx
mov edx, dword [esi + 0x24]
add edx, ebx
mov dword [esi + 0x24], edx
mov edx, dword [0x1cd3de8]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x10]
mov byte [esp + 0x90], 3
push eax
push esi
call fcn.005c5d57
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
lea edx, [eax + 2]
cmp edx, ecx
jbe 0x53d858
sub eax, ecx
mov ecx, esi
add eax, ebx
push eax
call fcn.005c628d
mov eax, dword [esi + 0x24]
mov cx, word [eax]
mov word [edi + 0xe], cx
mov ebp, dword [esi + 0x24]
add ebp, ebx
mov dword [esi + 0x24], ebp
mov cx, word [edi + 0xe]
cmp cx, 0x7d5
mov eax, ebp
jbe 0x53d8c7
mov edx, dword [0x1cd3de8]
mov dword [esp + 0x18], edx
push 0xa2b6
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 4
call fcn.005c42dc
mov esi, dword [esp + 0x18]
push 0x2010
call fcn.00489e90
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, edi
call fcn.0053d530
mov byte [esp + 0x90], 3
lea ecx, [esp + 0x18]
jmp 0x53da57
cmp cx, 0x7d1
jb 0x53d920
mov ecx, dword [esi + 0x28]
lea edx, [eax + 2]
cmp edx, ecx
jbe 0x53d8e4
sub eax, ecx
mov ecx, esi
add eax, ebx
push eax
call fcn.005c628d
mov eax, dword [esi + 0x24]
mov cx, word [eax]
mov word [edi + 0x14], cx
mov ebp, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
add ebp, ebx
mov eax, ebp
mov dword [esi + 0x24], ebp
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x53d90f
sub eax, ecx
mov ecx, esi
add eax, 4
push eax
call fcn.005c628d
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov eax, dword [esi + 0x24]
add eax, 4
mov dword [esi + 0x24], eax
cmp word [edi + 0xe], 0x7d2
jb 0x53dafc
lea ebp, [edi + 0x20]
push ebp
push esi
call fcn.005c5d57
mov edx, dword [ebp]
mov eax, dword [edx - 8]
test eax, eax
je 0x53dafc
push ebp
call fcn.0053c590
mov eax, dword [ebp]
push eax
mov eax, dword [esp + 0xa4]
push eax
call fcn.004a6d74
add esp, 0xc
test eax, eax
je 0x53dafc
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x53da5c
mov ecx, dword [0x1cd3de8]
mov dword [esp + 0x14], ecx
mov bl, 5
push 0xa2c5
lea ecx, [esp + 0x18]
mov byte [esp + 0x94], bl
call fcn.005c42dc
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.005bd559
push 0
lea ecx, [esp + 0x24]
call fcn.0054ecb0
push ebp
lea ecx, [esp + 0x7c]
mov byte [esp + 0x94], 6
call fcn.005bd91d
lea ecx, [esp + 0x1c]
mov dword [0x1cd7eb4], 0
call fcn.005bf035
mov ebp, 1
cmp eax, ebp
je 0x53da8b
mov ecx, edi
call fcn.0053d530
mov dword [0x1cd7eb4], ebp
lea ecx, [esp + 0x84]
mov byte [esp + 0x90], 0xa
call fcn.005bd7e4
lea ecx, [esp + 0x80]
mov byte [esp + 0x90], 9
call fcn.005bd7e4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x90], 8
call fcn.005bd7e4
lea ecx, [esp + 0x78]
mov byte [esp + 0x90], 7
call fcn.005bd7e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], bl
call fcn.005bebf0
mov byte [esp + 0x90], 3
lea ecx, [esp + 0x14]
call fcn.005bd7e4
lea ecx, [esp + 0x10]
mov byte [esp + 0x90], 0
call fcn.005bd7e4
lea ecx, [esp + 0x9c]
mov dword [esp + 0x90], 0xffffffff
call fcn.005bd7e4
xor eax, eax
jmp 0x53dc19
mov dword [0x1cd7eb4], ebp
lea ecx, [esp + 0x84]
mov byte [esp + 0x90], 0xe
call fcn.005bd7e4
lea ecx, [esp + 0x80]
mov byte [esp + 0x90], 0xd
call fcn.005bd7e4
lea ecx, [esp + 0x7c]
mov byte [esp + 0x90], 0xc
call fcn.005bd7e4
lea ecx, [esp + 0x78]
mov byte [esp + 0x90], 0xb
call fcn.005bd7e4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x90], bl
call fcn.005bebf0
lea ecx, [esp + 0x14]
mov byte [esp + 0x90], 3
call fcn.005bd7e4
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x28]
lea edx, [eax + 4]
cmp edx, ecx
jbe 0x53db16
sub eax, ecx
mov ecx, esi
add eax, 4
push eax
call fcn.005c628d
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
mov dword [edi + 0x18], ecx
mov ecx, dword [esi + 0x24]
add ecx, 4
mov dword [esi + 0x24], ecx
cmp word [edi + 0xe], 0x7d0
jne 0x53db3c
mov eax, dword [edi + 0x18]
xor edx, edx
test eax, eax
sete dl
mov dword [edi + 0x18], edx
lea eax, [edi + 0x1c]
push eax
push esi
call fcn.005c5d57
mov ebp, dword [edi + 0x2c]
mov ecx, ebp
dec ebp
test ecx, ecx
je 0x53db68
mov edx, dword [edi + 0x28]
mov ecx, dword [edx + ebp*4]
test ecx, ecx
je 0x53db61
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, ebp
dec ebp
test ecx, ecx
jne 0x53db50
lea ebx, [edi + 0x24]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.005bc09f
mov ebp, dword [edi + 0x44]
mov edx, ebp
dec ebp
test edx, edx
je 0x53db98
mov eax, dword [edi + 0x40]
mov ecx, dword [eax + ebp*4]
test ecx, ecx
je 0x53db91
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, ebp
dec ebp
test eax, eax
jne 0x53db80
lea ebp, [edi + 0x3c]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.005bc09f
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 8]
mov eax, dword [ebp]
push esi
mov ecx, ebp
call dword [eax + 8]
mov ebx, dword [edi + 0x2c]
xor esi, esi
test ebx, ebx
jle 0x53dbe5
mov ecx, dword [edi + 0x28]
test esi, esi
mov ecx, dword [ecx + esi*4]
jne 0x53dbd4
mov eax, dword [edi + 0x38]
test eax, eax
jne 0x53dbd4
mov dword [edi + 0x38], ecx
lea edx, [esi + 0xe900]
push edx
call fcn.004f3380
inc esi
cmp esi, ebx
jl 0x53dbc0
mov ecx, edi
call fcn.0053e5b0
mov byte [esp + 0x90], 0
lea ecx, [esp + 0x10]
call fcn.005bd7e4
lea ecx, [esp + 0x9c]
mov dword [esp + 0x90], 0xffffffff
call fcn.005bd7e4
mov eax, 1
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret 0xc