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

Disassembly:
push 0xffffffffffffffff
push 0x5e0181
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x464
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebp
call fcn.00559c60
mov al, byte [esi + 0x34]
xor ebx, ebx
test al, al
mov dword [esp + 0x47c], 1
mov dword [esp + 0x10], ebx
jne 0x553d91
push str.CANPRINT
push 1
push 1
push ebp
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x553d8d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, dword [esp + 0x10]
mov byte [0x60fdac], 3
mov edi, dword [esi + 0x18]
mov ecx, 0x19
xor eax, eax
rep stosd dword es:[edi], eax
mov al, byte [esp + 0x488]
test al, al
je 0x553db6
mov ecx, dword [esi]
call fcn.0056a8a0
mov ecx, dword [0x626ea8]
cmp ecx, ebp
je 0x553dc7
mov edx, dword [ecx]
push ebp
push ebp
call dword [edx + 0x10]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi]
push 0xffff
push eax
call fcn.0056a100
cmp eax, ebp
jne 0x553e70
cmp ebx, ebp
je 0x553df8
lea ecx, [esp + 0x6c]
push ecx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x484]
mov dl, byte [esp + 0x48]
lea ecx, [esp + 0x48]
mov byte [esi], dl
call fcn.0055f330
cmp eax, ebp
jge 0x553e14
xor eax, eax
shl eax, 4
push eax
call fcn.005bcf2f
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [esi + 4], eax
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
mov ecx, esi
call fcn.00555460
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edx, [esp + 0x58]
lea ecx, [esi + 0x10]
push edx
mov byte [esp + 0x480], 2
call fcn.0054b240
mov dword [esp + 0x44], 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x47c], 0
call fcn.00559d60
mov eax, esi
jmp 0x5543cb
mov esi, dword [esi + 0x18]
lea ecx, [esp + 0x2c]
add esi, 8
movzx di, byte [esi]
mov dword [esp + 0x28], edi
inc esi
call fcn.00558060
mov al, byte [esp + 0x17]
mov dword [esp + 0x34], ebp
mov byte [esp + 0x30], al
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
movsx ebx, di
test ebx, ebx
mov byte [esp + 0x47c], 4
jle 0x553f22
movzx di, byte [esi]
inc esi
cmp di, 0xff
jne 0x553eca
movzx di, byte [esi]
movzx cx, byte [esi + 1]
shl edi, 8
add edi, ecx
add esi, 2
cmp word [esp + 0x28], 1
jne 0x553ed7
test di, di
je 0x553f05
push edi
push esi
lea ecx, [esp + 0x34]
call fcn.00558600
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x2c]
push edx
push 1
push eax
lea ecx, [esp + 0x3c]
call fcn.00402a90
movsx ecx, di
mov eax, dword [esp + 0x38]
add esi, ecx
inc ebp
cmp ebp, ebx
jl 0x553ead
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x553f22
sub eax, ecx
sar eax, 2
je 0x553f22
lea edx, [esp + 0x30]
lea ecx, [esp + 0x48]
push edx
call fcn.00559fd0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x553f3f
lea eax, [esp + 0x6c]
push eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x48]
push ecx
call fcn.00401370
add esp, 4
call fcn.005579d0
test al, al
je 0x5542e0
mov edx, dword [esp + 0x40]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x5542e0
mov al, byte [esp + 0x17]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], al
call fcn.00401850
mov edi, 0x619c18
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.004018c0
test al, al
je 0x553fc1
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x619c18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x47c], 5
call fcn.00558060
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x74]
mov byte [esp + 0x74], 0
rep stosd dword es:[edi], eax
xor esi, esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x47c], 6
mov dword [esp + 0x28], esi
call fcn.0055a240
test ax, ax
jle 0x554188
xor ebx, ebx
push esi
lea ecx, [esp + 0x4c]
call fcn.0055a180
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x55416f
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
cmp ebx, edx
jae 0x55416f
push ebx
push esi
lea ecx, [esp + 0x50]
call fcn.0055a180
mov ecx, eax
call fcn.00402a80
push ecx
mov ecx, esp
mov dword [esp + 0x74], esp
push eax
call fcn.00558070
lea ecx, [esp + 0x14]
call fcn.00558390
lea ecx, [esp + 0x10]
call fcn.00558540
lea ecx, [esp + 0x10]
mov ebp, eax
xor esi, esi
call fcn.00558520
test ax, ax
jle 0x55409a
lea edi, [esp + 0x74]
xor eax, eax
mov al, byte [esi + ebp]
push eax
push str._.2X
push edi
call fcn.005bcf3d
add esp, 0xc
lea ecx, [esp + 0x10]
inc esi
add edi, 3
call fcn.00558520
movsx ecx, ax
cmp esi, ecx
jl 0x554072
mov edi, str.Ans:
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.004018c0
test al, al
je 0x5540e0
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
mov esi, str.Ans:
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], 0
lea edi, [esp + 0x74]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x5e5150]
sub ecx, edx
cmp ecx, esi
ja 0x554105
call fcn.005bc520
test esi, esi
jbe 0x55414b
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x1c]
lea ebp, [edx + esi]
push ebp
call fcn.004018c0
test al, al
je 0x55414b
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, esi
lea esi, [esp + 0x74]
lea edi, [edx + eax]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x554158
mov eax, 0x5e514c
mov edx, dword [esp + 0x40]
push eax
mov ecx, dword [edx + 0x10]
call fcn.005566e0
mov esi, dword [esp + 0x28]
inc ebx
jmp 0x554006
inc esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], esi
call fcn.0055a240
movsx eax, ax
cmp esi, eax
jl 0x554004
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x48]
call fcn.0055a240
movsx ecx, ax
push ecx
lea edx, [esp + 0x78]
push str.group_d
push edx
call fcn.005bcf3d
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x1c]
push ebp
call fcn.004018c0
test al, al
je 0x5541fb
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov eax, ecx
lea esi, [esp + 0x74]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [ecx + ebp], 0
lea ecx, [esp + 0x48]
call fcn.0055a240
movsx edx, ax
push edx
lea eax, [esp + 0x78]
push str.__frame_d
push eax
call fcn.005bcf3d
lea edi, [esp + 0x80]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x20]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x5e5150]
sub ecx, edx
cmp ecx, esi
ja 0x554242
call fcn.005bc520
test esi, esi
jbe 0x554288
mov edx, dword [esp + 0x20]
push 0
lea ecx, [esp + 0x1c]
lea ebp, [edx + esi]
push ebp
call fcn.004018c0
test al, al
je 0x554288
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
lea esi, [esp + 0x74]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebp
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x554295
mov eax, 0x5e514c
mov ecx, dword [esp + 0x40]
push eax
mov ecx, dword [ecx + 0x10]
call fcn.005566e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x47c], 5
call fcn.005581a0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x47c], 4
test eax, eax
je 0x5542e0
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x5542d7
cmp al, 0xff
je 0x5542d7
dec al
mov byte [ecx], al
jmp 0x5542e0
push ecx
call fcn.005bc500
add esp, 4
mov ebp, dword [esp + 0x484]
mov ecx, dword [esp + 0x4c]
mov dl, byte [esp + 0x48]
test ecx, ecx
mov byte [ebp], dl
jne 0x5542fa
xor eax, eax
jmp 0x554303
mov eax, dword [esp + 0x50]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x554309
xor eax, eax
shl eax, 4
push eax
call fcn.005bcf2f
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
add esp, 4
cmp edi, ecx
mov dword [ebp + 4], eax
mov ebx, ecx
mov esi, eax
je 0x55433c
push edi
push esi
call fcn.00555650
add edi, 0x10
add esp, 8
add esi, 0x10
cmp edi, ebx
jne 0x554328
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
lea esi, [ebp + 0x10]
lea eax, [esp + 0x58]
push eax
mov ecx, esi
mov byte [esp + 0x480], 7
call fcn.005525e0
mov cl, byte [esp + 0x68]
mov eax, dword [esp + 0x38]
mov byte [esi + 0x10], cl
mov esi, dword [esp + 0x34]
cmp esi, eax
mov dword [esp + 0x44], 1
mov byte [esp + 0x47c], 3
mov edi, eax
je 0x554390
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x55437e
mov esi, dword [esp + 0x34]
push esi
call fcn.005bc500
xor eax, eax
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x47c], 1
call fcn.005581a0
lea ecx, [esp + 0x48]
mov byte [esp + 0x47c], 0
call fcn.00559d60
mov eax, ebp
mov ecx, dword [esp + 0x474]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x470
ret 8